重新设计了标签变量系统
This commit is contained in:
@@ -165,12 +165,12 @@ namespace CapMachine.Wpf.Services
|
||||
ListPlcLoadConfigCell.Add(new PlcLoadConfigCell()
|
||||
{
|
||||
Name = itemKeyValue.Key,
|
||||
SvAddress = itemKeyValue.Value.SVAddress,
|
||||
Limit_UpAddress = itemKeyValue.Value.Limit_UpAddress,
|
||||
Limit_DownAddress = itemKeyValue.Value.Limit_DownAddress,
|
||||
Pid_PAddress = itemKeyValue.Value.Pid_PAddress,
|
||||
Pid_IAddress = itemKeyValue.Value.Pid_IAddress,
|
||||
Pid_DAddress = itemKeyValue.Value.Pid_DAddress,
|
||||
SvAddress = MachineRtDataService.TagManger.TryGetSVModel(itemKeyValue.Value.Name,out MeterValueAttrCell? controlAttrCell)==true? controlAttrCell!.Address:"",
|
||||
Limit_UpAddress = MachineRtDataService.TagManger.TryGetLimitUpModel(itemKeyValue.Value.Name, out MeterExdAttrCell? controlAttrCell2) == true ? controlAttrCell2!.Address : "",
|
||||
Limit_DownAddress = MachineRtDataService.TagManger.TryGetLimitDownModel(itemKeyValue.Value.Name, out MeterExdAttrCell? controlAttrCell3) == true ? controlAttrCell3!.Address : "",
|
||||
Pid_PAddress = MachineRtDataService.TagManger.TryGetPidPModel(itemKeyValue.Value.Name, out MeterExdAttrCell? controlAttrCell4) == true ? controlAttrCell4!.Address : "",
|
||||
Pid_IAddress = MachineRtDataService.TagManger.TryGetPidIModel(itemKeyValue.Value.Name, out MeterExdAttrCell? controlAttrCell5) == true ? controlAttrCell5!.Address : "",
|
||||
Pid_DAddress = MachineRtDataService.TagManger.TryGetPidDModel(itemKeyValue.Value.Name, out MeterExdAttrCell? controlAttrCell6) == true ? controlAttrCell6!.Address : "",
|
||||
Precision = itemKeyValue.Value.Precision,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user