压力参数

dep
我叫锄头 11 months ago
parent ea23b9be18
commit 12c1c397fe

@ -232,6 +232,13 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public MCLabel PresDaybin10 { get; set; }
public MCLabel PresDaybin11 { get; set; }
public MCLabel PresDaybin12 { get; set; }
public MCLabel PR2PCP01 { get; set; }
public MCLabel PR2PCP02 { get; set; }
public MCLabel PR2PCP03 { get; set; }
}
public class SwitchLightEntity
@ -549,6 +556,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public ThreeWayValve DV2PCP12 { get; set; }
public ThreeWayValve DV2PCP13 { get; set; }
public ThreeWayValve DV2PCP14 { get; set; }
}
//public class DeviceDetailEntity

@ -509,5 +509,11 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public bool DV2PCP13_AlarmR { get; set; }
public bool DV2PCP14_AlarmR { get; set; }
public float PR2PCP01_Set { get; set; }
public float PR2PCP02_Set { get; set; }
public float PR2PCP03_Set { get; set; }
}
}

@ -965,6 +965,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
PlcReadTemp.DV2PCP13_AlarmR = DB2102.DV2PCP13.AlarmRightPosition;
PlcReadTemp.DV2PCP14_AlarmR = DB2102.DV2PCP14.AlarmRightPosition;
PlcReadTemp.PR2PCP01_Set = DB2107.Pressure.PR2PCP01.ActualValue;
PlcReadTemp.PR2PCP02_Set = DB2107.Pressure.PR2PCP02.ActualValue;
PlcReadTemp.PR2PCP03_Set = DB2107.Pressure.PR2PCP03.ActualValue;
ControlsHelper.SetThreeWayValve(ThreeValveE.DV2PCP01, PlcReadTemp.DV2PCP01_AlarmR, PlcReadTemp.DV2PCP01_SetR, PlcReadTemp.DV2PCP01_AlarmL, PlcReadTemp.DV2PCP01_SetL, 4);
ControlsHelper.SetThreeWayValve(ThreeValveE.DV2PCP02, PlcReadTemp.DV2PCP02_AlarmR, PlcReadTemp.DV2PCP02_SetR, PlcReadTemp.DV2PCP02_AlarmL, PlcReadTemp.DV2PCP02_SetL, 0);
@ -1345,6 +1349,12 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
ControlsHelper.SetSwitchLight(LightE.DMWETER77, PlcReadTemp.DMWETER7_Set, PlcReadTemp.DMWETER7_Alarm);
ControlsHelper.SetSwitchLight(LightE.DMWETER8, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm);
ControlsHelper.SetSwitchLight(LightE.DMWETER88, PlcReadTemp.DMWETER8_Set, PlcReadTemp.DMWETER8_Alarm);
LabelE.PR2PCP01.MCValue = (float)Math.Round(PlcReadTemp.PR2PCP01_Set, 2);
LabelE.PR2PCP02.MCValue = (float)Math.Round(PlcReadTemp.PR2PCP02_Set, 2);
LabelE.PR2PCP03.MCValue = (float)Math.Round(PlcReadTemp.PR2PCP03_Set, 2);
}
/// <summary>

@ -1,6 +1,66 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MainDetail" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="FeededGelM255" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR2PCP03" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource" />
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Text">0</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">722, 25</Property>
<Property name="Name">PR2PCP03</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR2PCP02" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource" />
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Text">0</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">741, 125</Property>
<Property name="Name">PR2PCP02</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR2PCP01" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource" />
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Text">0</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">767, 77</Property>
<Property name="Name">PR2PCP01</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="FeededPDG8" children="Controls">
<Property name="Location">1863, 473</Property>
<Property name="Name">FeededPDG8</Property>

Loading…
Cancel
Save