<feat> 모터 상태 api통신

This commit is contained in:
SOOBEEN HAN
2025-10-24 11:55:43 +09:00
parent 5308a505a5
commit ff8afeb045
25 changed files with 77 additions and 906 deletions

View File

@@ -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;