change - 四个产线类型改八个

dep
wangsr 12 months ago
parent e59f052e1f
commit d2d8ac85ab

@ -216,6 +216,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public MCLabel LineKind2 { get; set; } public MCLabel LineKind2 { get; set; }
public MCLabel LineKind3 { get; set; } public MCLabel LineKind3 { get; set; }
public MCLabel LineKind4 { get; set; } public MCLabel LineKind4 { get; set; }
public MCLabel LineKind5 { get; set; }
public MCLabel LineKind6 { get; set; }
public MCLabel LineKind7 { get; set; }
public MCLabel LineKind8 { get; set; }
} }
public class SwitchLightEntity public class SwitchLightEntity

@ -164,6 +164,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
SetMCLabel(LabelE.LineKind2, new HttpResponse().GetLGInfo()[2]); SetMCLabel(LabelE.LineKind2, new HttpResponse().GetLGInfo()[2]);
SetMCLabel(LabelE.LineKind3, new HttpResponse().GetLGInfo()[3]); SetMCLabel(LabelE.LineKind3, new HttpResponse().GetLGInfo()[3]);
SetMCLabel(LabelE.LineKind4, new HttpResponse().GetLGInfo()[4]); SetMCLabel(LabelE.LineKind4, new HttpResponse().GetLGInfo()[4]);
SetMCLabel(LabelE.LineKind5, new HttpResponse().GetLGInfo()[5]);
SetMCLabel(LabelE.LineKind6, new HttpResponse().GetLGInfo()[6]);
SetMCLabel(LabelE.LineKind7, new HttpResponse().GetLGInfo()[7]);
SetMCLabel(LabelE.LineKind8, new HttpResponse().GetLGInfo()[8]);
timer = new Timer(); timer = new Timer();
timer.Interval = 1000; timer.Interval = 1000;
@ -288,6 +292,10 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
SetMCLabel(LabelE.LineKind2, new HttpResponse().GetLGInfo()[2]); SetMCLabel(LabelE.LineKind2, new HttpResponse().GetLGInfo()[2]);
SetMCLabel(LabelE.LineKind3, new HttpResponse().GetLGInfo()[3]); SetMCLabel(LabelE.LineKind3, new HttpResponse().GetLGInfo()[3]);
SetMCLabel(LabelE.LineKind4, new HttpResponse().GetLGInfo()[4]); SetMCLabel(LabelE.LineKind4, new HttpResponse().GetLGInfo()[4]);
SetMCLabel(LabelE.LineKind5, new HttpResponse().GetLGInfo()[5]);
SetMCLabel(LabelE.LineKind6, new HttpResponse().GetLGInfo()[6]);
SetMCLabel(LabelE.LineKind7, new HttpResponse().GetLGInfo()[7]);
SetMCLabel(LabelE.LineKind8, new HttpResponse().GetLGInfo()[8]);
} }
var reachSingle = RgvPlcUtil.GetRGVAllError(); var reachSingle = RgvPlcUtil.GetRGVAllError();

@ -1,6 +1,90 @@
<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="Panel1" children="Controls"> <Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind8" 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">NAN</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1791, 657</Property>
<Property name="Name">LineKind8</Property>
<Property name="Size">32, 16</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind7" 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">NAN</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1715, 657</Property>
<Property name="Name">LineKind7</Property>
<Property name="Size">32, 16</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind6" 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">NAN</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1479, 657</Property>
<Property name="Name">LineKind6</Property>
<Property name="Size">32, 16</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind5" 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">NAN</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1399, 657</Property>
<Property name="Name">LineKind5</Property>
<Property name="Size">32, 16</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind4" children="Controls"> <Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LineKind4" children="Controls">
<Property name="Format" /> <Property name="Format" />
<Property name="TextName" /> <Property name="TextName" />
@ -18,7 +102,7 @@
<Property name="Text">NAN</Property> <Property name="Text">NAN</Property>
<Property name="Font">宋体, 12pt</Property> <Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property> <Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1755, 657</Property> <Property name="Location">1236, 657</Property>
<Property name="Name">LineKind4</Property> <Property name="Name">LineKind4</Property>
<Property name="Size">32, 16</Property> <Property name="Size">32, 16</Property>
</Object> </Object>
@ -39,7 +123,7 @@
<Property name="Text">NAN</Property> <Property name="Text">NAN</Property>
<Property name="Font">宋体, 12pt</Property> <Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property> <Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1442, 657</Property> <Property name="Location">1160, 657</Property>
<Property name="Name">LineKind3</Property> <Property name="Name">LineKind3</Property>
<Property name="Size">32, 16</Property> <Property name="Size">32, 16</Property>
</Object> </Object>
@ -60,7 +144,7 @@
<Property name="Text">NAN</Property> <Property name="Text">NAN</Property>
<Property name="Font">宋体, 12pt</Property> <Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property> <Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1201, 657</Property> <Property name="Location">932, 657</Property>
<Property name="Name">LineKind2</Property> <Property name="Name">LineKind2</Property>
<Property name="Size">32, 16</Property> <Property name="Size">32, 16</Property>
</Object> </Object>
@ -81,7 +165,7 @@
<Property name="Text">NAN</Property> <Property name="Text">NAN</Property>
<Property name="Font">宋体, 12pt</Property> <Property name="Font">宋体, 12pt</Property>
<Property name="ForeColor">ButtonHighlight</Property> <Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">894, 657</Property> <Property name="Location">852, 657</Property>
<Property name="Name">LineKind1</Property> <Property name="Name">LineKind1</Property>
<Property name="Size">32, 16</Property> <Property name="Size">32, 16</Property>
</Object> </Object>

Loading…
Cancel
Save