..
This commit is contained in:
@@ -1851,8 +1851,15 @@ namespace AGVSimulator.Forms
|
||||
|
||||
// 첫 번째 AGV의 다음 행동 예측
|
||||
var agv = _agvList[0];
|
||||
var command = agv.Predict();
|
||||
this.lbPredict.Text = $"Motor:{command.Motor},Magnet:{command.Magnet},Speed:{command.Speed} : {command.Message}";
|
||||
try
|
||||
{
|
||||
var command = agv.Predict();
|
||||
this.lbPredict.Text = $"Motor:{command.Motor},Magnet:{command.Magnet},Speed:{command.Speed} : {command.Message}";
|
||||
}catch ( Exception ex)
|
||||
{
|
||||
lbPredict.Text = "예측오류" + ex.Message;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user