Hotfix Write correct ADS Variables + Initialize with AdsManager
This commit is contained in:
@@ -155,8 +155,8 @@ public sealed partial class HotCoolPlatePageVM : ObservableValidator, IDisposabl
|
|||||||
HotPlateTargetTemperature = new AnalogValueVM(_adsManager, _variableName + ".stHotplate.stSetpoint", false);
|
HotPlateTargetTemperature = new AnalogValueVM(_adsManager, _variableName + ".stHotplate.stSetpoint", false);
|
||||||
CoolPlateTargetTemperature = new AnalogValueVM(_adsManager, _variableName + ".stCoolplate.stSetpoint", false);
|
CoolPlateTargetTemperature = new AnalogValueVM(_adsManager, _variableName + ".stCoolplate.stSetpoint", false);
|
||||||
|
|
||||||
HotplatePackMLControlVm = new();
|
HotplatePackMLControlVm = new(_adsManager, _variableName + "stHotplate.stStationCmds");
|
||||||
CoolplatePackMLControlVm = new();
|
CoolplatePackMLControlVm = new(_adsManager, _variableName + "stCoolplate.stStationCmds");
|
||||||
|
|
||||||
HotplatePackMLControlVm.STitle = "Heizplatte";
|
HotplatePackMLControlVm.STitle = "Heizplatte";
|
||||||
CoolplatePackMLControlVm.STitle = "Kühlplatte";
|
CoolplatePackMLControlVm.STitle = "Kühlplatte";
|
||||||
|
|||||||
@@ -706,11 +706,12 @@ public sealed partial class ReceipePageVM : ObservableValidator, IDisposable
|
|||||||
{
|
{
|
||||||
|
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].Priority);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].Priority);
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].Station.eStation);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].dwReqCap", FlowReceipeEntries[i].Station.eStation);
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].MaxRetries);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiMaxRetries", FlowReceipeEntries[i].MaxRetries);
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].NextNodeSuccess);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].iNextNodeSuccess", FlowReceipeEntries[i].NextNodeSuccess);
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].NextNodeRetry);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].iNextNodeRetry", FlowReceipeEntries[i].NextNodeRetry);
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].uiPriority", FlowReceipeEntries[i].NextNodeFail);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.astNodes[" + i + "].iNextNodeFail", FlowReceipeEntries[i].NextNodeFail);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.uiNodeCnt", FlowNodeCountVm.Value);
|
_adsManager.WriteValue("GVL_SCADA.stMachine.stMasterFlowRecipe.uiNodeCnt", FlowNodeCountVm.Value);
|
||||||
|
|||||||
Reference in New Issue
Block a user