逻辑规则和CAN结合的更改
This commit is contained in:
@@ -117,6 +117,15 @@ namespace CapMachine.Wpf.Services
|
||||
//保存配置信息
|
||||
//PPCService.SaveSuperHeatCoolConfig();
|
||||
|
||||
//是否改变规格
|
||||
var ReturnValue = par.Parameters.GetValue<bool>("IsRuleEdit");
|
||||
if (ReturnValue)
|
||||
{
|
||||
MessageBox.Show("检测到你已经改变了规则,CAN或者LIN配置中如果已经加载规则或者连接的话,则会出现错误,那么你需要重启软件");
|
||||
//逻辑可能更改了
|
||||
EventAggregator.GetEvent<LogicRuleChangeEvent>().Publish("");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if (par.Result == ButtonResult.Cancel)
|
||||
|
||||
Reference in New Issue
Block a user