|
|
|
@ -55,7 +55,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
|
|
|
|
|
Dictionary<int, int> WetStatus = new Dictionary<int, int>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//DataTable ParametersWithPCTable = new DataTable();
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
//控件实体类
|
|
|
|
|
HslLanternAlarmEntity HslAlarmE = new HslLanternAlarmEntity();
|
|
|
|
|
|
|
|
|
|
// HslAgvCarEntity hslAgvCarEntity = new HslAgvCarEntity();
|
|
|
|
|
// HslAgvCarEntity hslAgvCarEntity = new HslAgvCarEntity();
|
|
|
|
|
|
|
|
|
|
HslLanternSimpleEntity HslLanternSimpleE = new HslLanternSimpleEntity();
|
|
|
|
|
MCLabelEntity LabelE = new MCLabelEntity();
|
|
|
|
@ -180,8 +180,8 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
private void SetAllControls()
|
|
|
|
|
{
|
|
|
|
|
ControlsHelper.ControlImport<HslLanternAlarm>(HslAlarmE, Controls);
|
|
|
|
|
// ControlsHelper.ControlImport<HslAgvCar>(hslAgvCarEntity, Controls);
|
|
|
|
|
|
|
|
|
|
// ControlsHelper.ControlImport<HslAgvCar>(hslAgvCarEntity, Controls);
|
|
|
|
|
|
|
|
|
|
ControlsHelper.ControlImport<HslLanternSimple>(HslLanternSimpleE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<MCLabel>(LabelE, Controls);
|
|
|
|
|
ControlsHelper.ControlImport<SwitchLight>(LightE, Controls);
|
|
|
|
@ -257,7 +257,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
|
|
|
|
|
conCurrentCache.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -285,22 +285,22 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
Timer1_Tick();
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (UserJudge.IsNormalUser())
|
|
|
|
|
{
|
|
|
|
|
ReportReadDb.ReadReport();
|
|
|
|
|
ReportReadDb.ReadFeededDry();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
catch (Exception)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -318,7 +318,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind7, dict[7]);
|
|
|
|
|
ControlsHelper.SetMCLabel(LabelE.LineKind8, dict[8]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var reachSingle = RgvPlcUtil.GetRGVAllError();
|
|
|
|
|
var mixSingle = Db3000Helper.ReadDb();
|
|
|
|
@ -411,7 +411,7 @@ namespace Mesnac.Action.ChemicalWeighing.MainDetailControl
|
|
|
|
|
ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG7, ch.G7);
|
|
|
|
|
ControlsHelper.SetHsl(HslLanternSimpleE.FeededPDG8, ch.G8);
|
|
|
|
|
|
|
|
|
|
var db2105=new DB2105Helper();
|
|
|
|
|
var db2105 = new DB2105Helper();
|
|
|
|
|
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW1, db2105.FeededCW1);
|
|
|
|
|
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW2, db2105.FeededCW2);
|
|
|
|
|
ControlsHelper.SetHslFeededCW1(HslLanternSimpleE.FeededCW3, db2105.FeededCW3);
|
|
|
|
|