杨威 6 months ago
parent b90b11c6bd
commit 60c2a9c4c3

@ -88,7 +88,11 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public HslLanternSimple DayBin8 { get; set; } public HslLanternSimple DayBin8 { get; set; }
public HslLanternSimple Daybin9 { get; set; }
public HslLanternSimple Daybin10 { get; set; }
public HslLanternSimple Daybin11 { get; set; }
public HslLanternSimple Daybin12 { get; set; }
//湿混机已经加完干混料 //湿混机已经加完干混料
public HslLanternSimple FeededDryM1 { get; set; } public HslLanternSimple FeededDryM1 { get; set; }

@ -377,7 +377,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
SetHslLanternSimple9(HslLanternSimpleE.DayBin8, dB2108.Daybin8); SetHslLanternSimple9(HslLanternSimpleE.DayBin8, dB2108.Daybin8);
SetHslLanternSimple9(HslLanternSimpleE.Daybin9, dB2108.Daybin9);
SetHslLanternSimple9(HslLanternSimpleE.Daybin10, dB2108.Daybin10);
SetHslLanternSimple9(HslLanternSimpleE.Daybin11, dB2108.Daybin11);
SetHslLanternSimple9(HslLanternSimpleE.Daybin12, dB2108.Daybin12);
//湿混机 加完料 //湿混机 加完料

@ -15,7 +15,8 @@ namespace DataBlockHelper.DBHelpers
{ {
public DB2108HelperNew() public DB2108HelperNew()
{ {
OperateResult<byte[]> db = PlcConnect.Instance.Read("DB2108.0.0", 108);
OperateResult<byte[]> db = PlcConnect.Instance.Read("DB2108.0.0", 72);
bytes = db.Content; bytes = db.Content;
} }
@ -38,6 +39,16 @@ namespace DataBlockHelper.DBHelpers
public MainFan Daybin7 => new MainFan(22, bytes); public MainFan Daybin7 => new MainFan(22, bytes);
public MainFan Daybin8 => new MainFan(24, bytes); public MainFan Daybin8 => new MainFan(24, bytes);
public MainFan Daybin9 => new MainFan(64, bytes);
public MainFan Daybin10 => new MainFan(66, bytes);
public MainFan Daybin11 => new MainFan(68, bytes);
public MainFan Daybin12 => new MainFan(70, bytes);
public Time2108 Time=>new Time2108(26,bytes); public Time2108 Time=>new Time2108(26,bytes);
public Pressure_HMI PR2PCP04=>new Pressure_HMI(50,bytes); public Pressure_HMI PR2PCP04=>new Pressure_HMI(50,bytes);

@ -1,6 +1,26 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MainDetail" children="Controls"> <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="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="FeededGelM255" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Daybin12" children="Controls">
<Property name="Location">1745, 289</Property>
<Property name="Name">Daybin12</Property>
<Property name="Size">7, 7</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Daybin11" children="Controls">
<Property name="Location">1434, 290</Property>
<Property name="Name">Daybin11</Property>
<Property name="Size">7, 7</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Daybin10" children="Controls">
<Property name="Location">1193, 291</Property>
<Property name="Name">Daybin10</Property>
<Property name="Size">7, 7</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLanternSimple, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Daybin9" children="Controls">
<Property name="Location">882, 289</Property>
<Property name="Name">Daybin9</Property>
<Property name="Size">7, 7</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabelB" children="Controls"> <Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabelB" children="Controls">
<Property name="Format" /> <Property name="Format" />
<Property name="TextName" /> <Property name="TextName" />

Loading…
Cancel
Save