杨威 6 months ago
parent 24048918ff
commit 06be082d17

@ -90,6 +90,24 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl.Entity
public HslLanternSimple HotWaterBpause { get; set; }
public HslLanternSimple HotWaterBready { get; set; }
public HslLanternSimple DryAenable { get; set; }
public HslLanternSimple DryApause { get; set; }
public HslLanternSimple DryAready { get; set; }
public HslLanternSimple DryBenable { get; set; }
public HslLanternSimple DryBpause { get; set; }
public HslLanternSimple DryBready { get; set; }
public HslLanternSimple DryCenable { get; set; }
public HslLanternSimple DryCpause { get; set; }
public HslLanternSimple DryCready { get; set; }
public HslLanternSimple DryDenable { get; set; }
public HslLanternSimple DryDpause { get; set; }
public HslLanternSimple DryDready { get; set; }
//daybin1
public HslLanternSimple DayBin1 { get; set; }

@ -384,6 +384,35 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
SetHslLanternSimple9Pause(HslLanternSimpleE.HotWaterBpause, a.pause);
SetHslLanternSimple9Read(HslLanternSimpleE.HotWaterBready, a.ready);
a = dB2108.DryA;
SetHslLanternSimple9Enable(HslLanternSimpleE.DryAenable, a.enable);
SetHslLanternSimple9Pause(HslLanternSimpleE.DryApause, a.pause);
SetHslLanternSimple9Read(HslLanternSimpleE.DryAready, a.ready);
a = dB2108.DryB;
SetHslLanternSimple9Enable(HslLanternSimpleE.DryBenable, a.enable);
SetHslLanternSimple9Pause(HslLanternSimpleE.DryBpause, a.pause);
SetHslLanternSimple9Read(HslLanternSimpleE.DryBready, a.ready);
a = dB2108.DryC;
SetHslLanternSimple9Enable(HslLanternSimpleE.DryCenable, a.enable);
SetHslLanternSimple9Pause(HslLanternSimpleE.DryCpause, a.pause);
SetHslLanternSimple9Read(HslLanternSimpleE.DryCready, a.ready);
a = dB2108.DryD;
SetHslLanternSimple9Enable(HslLanternSimpleE.DryDenable, a.enable);
SetHslLanternSimple9Pause(HslLanternSimpleE.DryDpause, a.pause);
SetHslLanternSimple9Read(HslLanternSimpleE.DryDready, a.ready);
SetHslLanternSimple9(HslLanternSimpleE.DayBin1, dB2108.Daybin1);
SetHslLanternSimple9(HslLanternSimpleE.DayBin2, dB2108.Daybin2);
SetHslLanternSimple9(HslLanternSimpleE.DayBin3, dB2108.Daybin3);
@ -566,6 +595,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
public void SetHslLanternSimple9(HslLanternSimple simple,MainFan main)
{
if (simple == null) return;
simple.LanternBackground = Color.Gray;
if (main.enable)
{

@ -202,7 +202,10 @@ namespace Mesnac.Action.ChemicalWeighing.Util
/// <param name="set"></param>
public static void SetMCLabel(MCLabel obj, object set)
{
obj.Text = Convert.ToString(set);
if((set != null && obj !=null)){
obj.Text = Convert.ToString(set);
}
}
public static void SetMCLabel(MCLabel obj, object set, Color color)
{

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save