|
@@ -507,6 +507,12 @@ namespace TeamAAS_VP.ViewModels
|
|
|
{
|
|
{
|
|
|
foreach (var item in RobotList)
|
|
foreach (var item in RobotList)
|
|
|
{
|
|
{
|
|
|
|
|
+ var robot = _robotService.GetRobot(item.Id);
|
|
|
|
|
+ if (robot != null)
|
|
|
|
|
+ {
|
|
|
|
|
+ //更新连接参数
|
|
|
|
|
+ robot.SafeZ = item.SafeZ;
|
|
|
|
|
+ }
|
|
|
_configService.AddOrUpdateRobot(item);
|
|
_configService.AddOrUpdateRobot(item);
|
|
|
}
|
|
}
|
|
|
_eventAggregator.GetEvent<SnackbarMessageNotification>().Publish(new MessageParameter() { Msg = Lang.完成, Duration = 1 });
|
|
_eventAggregator.GetEvent<SnackbarMessageNotification>().Publish(new MessageParameter() { Msg = Lang.完成, Duration = 1 });
|