<feat> 모터 상태 api통신
This commit is contained in:
@@ -7,7 +7,7 @@ using TMPro;
|
||||
public interface IProgramView
|
||||
{
|
||||
void ShowMessage(string message);
|
||||
void DisplayProgram(RobotProgram program);
|
||||
void DisplayProgram(string programId);
|
||||
void ShowProgramList(List<string> programIds);
|
||||
void HideProgramList();
|
||||
void HideProgramSelectPanel();
|
||||
@@ -107,16 +107,16 @@ public class ProgramView : MonoBehaviour, IProgramView
|
||||
Debug.LogWarning(message);
|
||||
}
|
||||
|
||||
public void DisplayProgram(RobotProgram program)
|
||||
public void DisplayProgram(string programId)
|
||||
{
|
||||
if (program == null)
|
||||
if (programId == null)
|
||||
{
|
||||
//currentProgramIdText.text = "No Program Loaded";
|
||||
//endpointListText.text = "";
|
||||
Debug.Log("No Program Loaded");
|
||||
return;
|
||||
}
|
||||
Debug.Log($"연결된 프로그램: {program.ProgramId}.job");
|
||||
Debug.Log($"연결된 프로그램: {programId}.job");
|
||||
|
||||
//currentProgramIdText.text = "Current: " + program.programId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user