去掉dacang

dep
杨威 5 months ago
parent c75a271cda
commit 0c5a980cb6

@ -108,6 +108,9 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public HslLanternSimple DryDpause { get; set; } public HslLanternSimple DryDpause { get; set; }
public HslLanternSimple DryDready { get; set; } public HslLanternSimple DryDready { get; set; }
public HslLanternSimple HslCaiJi { get; set; }
//daybin1 //daybin1
public HslLanternSimple DayBin1 { get; set; } public HslLanternSimple DayBin1 { get; set; }

@ -416,6 +416,20 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
var hslCaiji = HslLanternSimpleE.HslCaiJi;
var b = UserJudge.IsSettingNormalUser;
if (b)
{
hslCaiji.LanternBackground = Color.Lime;
}
else
{
hslCaiji.LanternBackground = Color.Gray;
}
SetHslLanternSimple9(HslLanternSimpleE.DayBin1, dB2108.Daybin1); SetHslLanternSimple9(HslLanternSimpleE.DayBin1, dB2108.Daybin1);
SetHslLanternSimple9(HslLanternSimpleE.DayBin2, dB2108.Daybin2); SetHslLanternSimple9(HslLanternSimpleE.DayBin2, dB2108.Daybin2);
SetHslLanternSimple9(HslLanternSimpleE.DayBin3, dB2108.Daybin3); SetHslLanternSimple9(HslLanternSimpleE.DayBin3, dB2108.Daybin3);

@ -27,8 +27,10 @@ namespace Mesnac.Action.ChemicalWeighing.Util
return false; return false;
} }
} }
//
public static bool IsSettingNormalUser public static bool IsSettingNormalUser

@ -1,6 +1,32 @@
<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="HslCaiJi" children="Controls">
<Property name="Location">1871, 55</Property>
<Property name="Name">HslCaiJi</Property>
<Property name="Size">15, 17</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel267" 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">报表采集指示灯</Property>
<Property name="Font">宋体, 9pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1808, 37</Property>
<Property name="Name">MCLabel267</Property>
<Property name="Size">89, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue215" children="Controls"> <Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue215" children="Controls">
<Property name="Format" /> <Property name="Format" />
<Property name="TextName" /> <Property name="TextName" />
@ -7629,7 +7655,7 @@
<Object type="Mesnac.Controls.ChemicalWeighing.HslMoveText, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmMoveText" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslMoveText, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmMoveText" children="Controls">
<Property name="Location">46, 872</Property> <Property name="Location">46, 872</Property>
<Property name="Name">AlarmMoveText</Property> <Property name="Name">AlarmMoveText</Property>
<Property name="Size">1735, 28</Property> <Property name="Size">1742, 28</Property>
</Object> </Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslLedDisplay, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RGVWaitDisPlay8" children="Controls"> <Object type="Mesnac.Controls.ChemicalWeighing.HslLedDisplay, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RGVWaitDisPlay8" children="Controls">
<Property name="Location">1764, 800</Property> <Property name="Location">1764, 800</Property>

@ -4,9 +4,7 @@
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" /> <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections> </configSections>
<appSettings> <appSettings>
<add key="IsDaPing" value="false"/>
<!--控件属性列表文件--> <!--控件属性列表文件-->
<add key="componentsPropertyFile" value="\data\ComponentProperty.xml" /> <add key="componentsPropertyFile" value="\data\ComponentProperty.xml" />
<!--控件动画列表文件--> <!--控件动画列表文件-->

Loading…
Cancel
Save