diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs
index e5c8156..9023c7a 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs
@@ -980,15 +980,15 @@ namespace Mesnac.Action.ChemicalWeighing
//压送秤A顶部压力 dbw26
- public DataKeyValue topPres_V1_LowLimit { get; set; }
- public DataKeyValue topPres_V1_HighLimit { get; set; }
- public DataKeyValue topPres_V1_Alarm { get; set; }
+ public DataKeyValue topPressure_V1_LowLimit { get; set; }
+ public DataKeyValue topPressure_V1_HighLimit { get; set; }
+ public DataKeyValue topPressure_V1_Alarm { get; set; }
//压送秤A底部压力 dbw40
- public DataKeyValue linePres_V1_LowLimit { get; set; }
- public DataKeyValue linePres_V1_HighLimit { get; set; }
- public DataKeyValue linePres_V1_Alarm { get; set; }
+ public DataKeyValue linePressure_V1_LowLimit { get; set; }
+ public DataKeyValue linePressure_V1_HighLimit { get; set; }
+ public DataKeyValue linePressure_V1_Alarm { get; set; }
//压送秤B气源压力 dbw54
@@ -999,15 +999,15 @@ namespace Mesnac.Action.ChemicalWeighing
//压送秤B顶部压力 dbw68
- public DataKeyValue topPres_V2_LowLimit { get; set; }
- public DataKeyValue topPres_V2_HighLimit { get; set; }
- public DataKeyValue topPres_V2_Alarm { get; set; }
+ public DataKeyValue topPressure_V2_LowLimit { get; set; }
+ public DataKeyValue topPressure_V2_HighLimit { get; set; }
+ public DataKeyValue topPressure_V2_Alarm { get; set; }
//压送秤B底部压力 dbw82
- public DataKeyValue linePres_V2_LowLimit { get; set; }
- public DataKeyValue linePres_V2_HighLimit { get; set; }
- public DataKeyValue linePres_V2_Alarm { get; set; }
+ public DataKeyValue linePressure_V2_LowLimit { get; set; }
+ public DataKeyValue linePressure_V2_HighLimit { get; set; }
+ public DataKeyValue linePressure_V2_Alarm { get; set; }
//压送秤C气源压力 dbw96
@@ -1018,15 +1018,15 @@ namespace Mesnac.Action.ChemicalWeighing
//压送秤C顶部压力 dbw110
- public DataKeyValue topPres_V3_LowLimit { get; set; }
- public DataKeyValue topPres_V3_HighLimit { get; set; }
- public DataKeyValue topPres_V3_Alarm { get; set; }
+ public DataKeyValue topPressure_V3_LowLimit { get; set; }
+ public DataKeyValue topPressure_V3_HighLimit { get; set; }
+ public DataKeyValue topPressure_V3_Alarm { get; set; }
//压送秤C底部压力 dbw124
- public DataKeyValue linePres_V3_LowLimit { get; set; }
- public DataKeyValue linePres_V3_HighLimit { get; set; }
- public DataKeyValue linePres_V3_Alarm { get; set; }
+ public DataKeyValue linePressure_V3_LowLimit { get; set; }
+ public DataKeyValue linePressure_V3_HighLimit { get; set; }
+ public DataKeyValue linePressure_V3_Alarm { get; set; }
@@ -1039,15 +1039,15 @@ namespace Mesnac.Action.ChemicalWeighing
//压送秤C顶部压力 dbw154
- public DataKeyValue topPres_V4_LowLimit { get; set; }
- public DataKeyValue topPres_V4_HighLimit { get; set; }
- public DataKeyValue topPres_V4_Alarm { get; set; }
+ public DataKeyValue topPressure_V4_LowLimit { get; set; }
+ public DataKeyValue topPressure_V4_HighLimit { get; set; }
+ public DataKeyValue topPressure_V4_Alarm { get; set; }
//压送秤C底部压力 dbw166
- public DataKeyValue linePres_V4_LowLimit { get; set; }
- public DataKeyValue linePres_V4_HighLimit { get; set; }
- public DataKeyValue linePres_V4_Alarm { get; set; }
+ public DataKeyValue linePressure_V4_LowLimit { get; set; }
+ public DataKeyValue linePressure_V4_HighLimit { get; set; }
+ public DataKeyValue linePressure_V4_Alarm { get; set; }
//压送秤C气源压力 dbw180
@@ -1059,201 +1059,201 @@ namespace Mesnac.Action.ChemicalWeighing
//压送秤C顶部压力 dbw194
- public DataKeyValue topPres_V5_LowLimit { get; set; }
- public DataKeyValue topPres_V5_HighLimit { get; set; }
- public DataKeyValue topPres_V5_Alarm { get; set; }
+ public DataKeyValue topPressure_V5_LowLimit { get; set; }
+ public DataKeyValue topPressure_V5_HighLimit { get; set; }
+ public DataKeyValue topPressure_V5_Alarm { get; set; }
//压送秤C底部压力 dbw208
- public DataKeyValue linePres_V5_LowLimit { get; set; }
- public DataKeyValue linePres_V5_HighLimit { get; set; }
- public DataKeyValue linePres_V5_Alarm { get; set; }
+ public DataKeyValue linePressure_V5_LowLimit { get; set; }
+ public DataKeyValue linePressure_V5_HighLimit { get; set; }
+ public DataKeyValue linePressure_V5_Alarm { get; set; }
//日罐压力B1 dbw222
- public DataKeyValue presDay_B1_ActualValue { get; set; }
- public DataKeyValue presDay_B1_LowLimit { get; set; }
- public DataKeyValue presDay_B1_HighLimit { get; set; }
- public DataKeyValue presDay_B1_Alarm { get; set; }
+ public DataKeyValue presDaybin_B1_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B1_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B1_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B1_Alarm { get; set; }
//日罐压力B2 dbw236
- public DataKeyValue presDay_B2_ActualValue { get; set; }
- public DataKeyValue presDay_B2_LowLimit { get; set; }
- public DataKeyValue presDay_B2_HighLimit { get; set; }
- public DataKeyValue presDay_B2_Alarm { get; set; }
+ public DataKeyValue presDaybin_B2_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B2_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B2_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B2_Alarm { get; set; }
//日罐压力B3 dbw250
- public DataKeyValue presDay_B3_ActualValue { get; set; }
- public DataKeyValue presDay_B3_LowLimit { get; set; }
- public DataKeyValue presDay_B3_HighLimit { get; set; }
- public DataKeyValue presDay_B3_Alarm { get; set; }
+ public DataKeyValue presDaybin_B3_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B3_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B3_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B3_Alarm { get; set; }
//日罐压力B4 dbw264
- public DataKeyValue presDay_B4_ActualValue { get; set; }
- public DataKeyValue presDay_B4_LowLimit { get; set; }
- public DataKeyValue presDay_B4_HighLimit { get; set; }
- public DataKeyValue presDay_B4_Alarm { get; set; }
+ public DataKeyValue presDaybin_B4_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B4_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B4_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B4_Alarm { get; set; }
//日罐压力B5 dbw278
- public DataKeyValue presDay_B5_ActualValue { get; set; }
- public DataKeyValue presDay_B5_LowLimit { get; set; }
- public DataKeyValue presDay_B5_HighLimit { get; set; }
- public DataKeyValue presDay_B5_Alarm { get; set; }
+ public DataKeyValue presDaybin_B5_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B5_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B5_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B5_Alarm { get; set; }
//日罐压力B6 dbw292
- public DataKeyValue presDay_B6_ActualValue { get; set; }
- public DataKeyValue presDay_B6_LowLimit { get; set; }
- public DataKeyValue presDay_B6_HighLimit { get; set; }
- public DataKeyValue presDay_B6_Alarm { get; set; }
+ public DataKeyValue presDaybin_B6_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B6_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B6_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B6_Alarm { get; set; }
//日罐压力B7 dbw306
- public DataKeyValue presDay_B7_ActualValue { get; set; }
- public DataKeyValue presDay_B7_LowLimit { get; set; }
- public DataKeyValue presDay_B7_HighLimit { get; set; }
- public DataKeyValue presDay_B7_Alarm { get; set; }
+ public DataKeyValue presDaybin_B7_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B7_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B7_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B7_Alarm { get; set; }
//日罐压力B8 dbw320
- public DataKeyValue presDay_B8_ActualValue { get; set; }
- public DataKeyValue presDay_B8_LowLimit { get; set; }
- public DataKeyValue presDay_B8_HighLimit { get; set; }
- public DataKeyValue presDay_B8_Alarm { get; set; }
+ public DataKeyValue presDaybin_B8_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B8_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B8_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B8_Alarm { get; set; }
//日罐压力B9 dbw334
- public DataKeyValue presDay_B9_ActualValue { get; set; }
- public DataKeyValue presDay_B9_LowLimit { get; set; }
- public DataKeyValue presDay_B9_HighLimit { get; set; }
- public DataKeyValue presDay_B9_Alarm { get; set; }
+ public DataKeyValue presDaybin_B9_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B9_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B9_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B9_Alarm { get; set; }
//日罐压力B10 dbw348
- public DataKeyValue presDay_B10_ActualValue { get; set; }
- public DataKeyValue presDay_B10_LowLimit { get; set; }
- public DataKeyValue presDay_B10_HighLimit { get; set; }
- public DataKeyValue presDay_B10_Alarm { get; set; }
+ public DataKeyValue presDaybin_B10_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B10_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B10_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B10_Alarm { get; set; }
//日罐压力B11 dbw362
- public DataKeyValue presDay_B11_ActualValue { get; set; }
- public DataKeyValue presDay_B11_LowLimit { get; set; }
- public DataKeyValue presDay_B11_HighLimit { get; set; }
- public DataKeyValue presDay_B11_Alarm { get; set; }
+ public DataKeyValue presDaybin_B11_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B11_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B11_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B11_Alarm { get; set; }
//日罐压力B12 dbw376
- public DataKeyValue presDay_B12_ActualValue { get; set; }
- public DataKeyValue presDay_B12_LowLimit { get; set; }
- public DataKeyValue presDay_B12_HighLimit { get; set; }
- public DataKeyValue presDay_B12_Alarm { get; set; }
+ public DataKeyValue presDaybin_B12_ActualValue { get; set; }
+ public DataKeyValue presDaybin_B12_LowLimit { get; set; }
+ public DataKeyValue presDaybin_B12_HighLimit { get; set; }
+ public DataKeyValue presDaybin_B12_Alarm { get; set; }
//管道压力传感器1 dbw390
- public DataKeyValue PR2PCP01_B12_ActualValue { get; set; }
- public DataKeyValue PR2PCP01_B12_LowLimit { get; set; }
- public DataKeyValue PR2PCP01_B12_HighLimit { get; set; }
+ public DataKeyValue PR2PCP01_ActualValue { get; set; }
+ public DataKeyValue PR2PCP01_LowLimit { get; set; }
+ public DataKeyValue PR2PCP01_HighLimit { get; set; }
public DataKeyValue PR2PCP01_B12_Alarm { get; set; }
//管道压力传感器2 dbw404
- public DataKeyValue PR2PCP02_B12_ActualValue { get; set; }
- public DataKeyValue PR2PCP02_B12_LowLimit { get; set; }
- public DataKeyValue PR2PCP02_B12_HighLimit { get; set; }
- public DataKeyValue PR2PCP02_B12_Alarm { get; set; }
+ public DataKeyValue PR2PCP02_ActualValue { get; set; }
+ public DataKeyValue PR2PCP02_LowLimit { get; set; }
+ public DataKeyValue PR2PCP02_HighLimit { get; set; }
+ public DataKeyValue PR2PCP02_Alarm { get; set; }
//管道压力传感器3 dbw418
- public DataKeyValue PR2PCP03_B12_ActualValue { get; set; }
- public DataKeyValue PR2PCP03_B12_LowLimit { get; set; }
- public DataKeyValue PR2PCP03_B12_HighLimit { get; set; }
- public DataKeyValue PR2PCP03_B12_Alarm { get; set; }
+ public DataKeyValue PR2PCP03_ActualValue { get; set; }
+ public DataKeyValue PR2PCP03_LowLimit { get; set; }
+ public DataKeyValue PR2PCP03_HighLimit { get; set; }
+ public DataKeyValue PR2PCP03_Alarm { get; set; }
- public DataKeyValue Hopper1_ActWeight { get; set; }
- public DataKeyValue Hopper1_HighWeight { get; set; }
- public DataKeyValue Hopper1_LowWeight { get; set; }
- public DataKeyValue Hopper1_HighLevel { get; set; }
- public DataKeyValue Hopper1_LowLevel { get; set; }
+ public DataKeyValue Hopper_1_ActWeight { get; set; }
+ public DataKeyValue Hopper_1_HighWeight { get; set; }
+ public DataKeyValue Hopper_1_LowWeight { get; set; }
+ public DataKeyValue Hopper_1_HighLevel { get; set; }
+ public DataKeyValue Hopper_1_LowLevel { get; set; }
- public DataKeyValue Hopper2_ActWeight { get; set; }
- public DataKeyValue Hopper2_HighWeight { get; set; }
- public DataKeyValue Hopper2_LowWeight { get; set; }
- public DataKeyValue Hopper2_HighLevel { get; set; }
- public DataKeyValue Hopper2_LowLevel { get; set; }
+ public DataKeyValue Hopper_2_ActWeight { get; set; }
+ public DataKeyValue Hopper_2_HighWeight { get; set; }
+ public DataKeyValue Hopper_2_LowWeight { get; set; }
+ public DataKeyValue Hopper_2_HighLevel { get; set; }
+ public DataKeyValue Hopper_2_LowLevel { get; set; }
- public DataKeyValue Hopper3_ActWeight { get; set; }
- public DataKeyValue Hopper3_HighWeight { get; set; }
- public DataKeyValue Hopper3_LowWeight { get; set; }
- public DataKeyValue Hopper3_HighLevel { get; set; }
- public DataKeyValue Hopper3_LowLevel { get; set; }
+ public DataKeyValue Hopper_3_ActWeight { get; set; }
+ public DataKeyValue Hopper_3_HighWeight { get; set; }
+ public DataKeyValue Hopper_3_LowWeight { get; set; }
+ public DataKeyValue Hopper_3_HighLevel { get; set; }
+ public DataKeyValue Hopper_3_LowLevel { get; set; }
- public DataKeyValue Hopper4_ActWeight { get; set; }
- public DataKeyValue Hopper4_HighWeight { get; set; }
- public DataKeyValue Hopper4_LowWeight { get; set; }
- public DataKeyValue Hopper4_HighLevel { get; set; }
- public DataKeyValue Hopper4_LowLevel { get; set; }
+ public DataKeyValue Hopper_4_ActWeight { get; set; }
+ public DataKeyValue Hopper_4_HighWeight { get; set; }
+ public DataKeyValue Hopper_4_LowWeight { get; set; }
+ public DataKeyValue Hopper_4_HighLevel { get; set; }
+ public DataKeyValue Hopper_4_LowLevel { get; set; }
- public DataKeyValue Vessel1_ActWeight { get; set; }
- public DataKeyValue Vessel1_HighWeight { get; set; }
- public DataKeyValue Vessel1_LowWeight { get; set; }
- public DataKeyValue Vessel1_HighLevel { get; set; }
- public DataKeyValue Vessel1_LowLevel { get; set; }
+ public DataKeyValue Vessel_1_ActWeight { get; set; }
+ public DataKeyValue Vessel_1_HighWeight { get; set; }
+ public DataKeyValue Vessel_1_LowWeight { get; set; }
+ public DataKeyValue Vessel_1_HighLevel { get; set; }
+ public DataKeyValue Vessel_1_LowLevel { get; set; }
- public DataKeyValue Vessel2_ActWeight { get; set; }
- public DataKeyValue Vessel2_HighWeight { get; set; }
- public DataKeyValue Vessel2_LowWeight { get; set; }
- public DataKeyValue Vessel2_HighLevel { get; set; }
- public DataKeyValue Vessel2_LowLevel { get; set; }
+ public DataKeyValue Vessel_2_ActWeight { get; set; }
+ public DataKeyValue Vessel_2_HighWeight { get; set; }
+ public DataKeyValue Vessel_2_LowWeight { get; set; }
+ public DataKeyValue Vessel_2_HighLevel { get; set; }
+ public DataKeyValue Vessel_2_LowLevel { get; set; }
- public DataKeyValue Vessel3_ActWeight { get; set; }
- public DataKeyValue Vessel3_HighWeight { get; set; }
- public DataKeyValue Vessel3_LowWeight { get; set; }
- public DataKeyValue Vessel3_HighLevel { get; set; }
- public DataKeyValue Vessel3_LowLevel { get; set; }
+ public DataKeyValue Vessel_3_ActWeight { get; set; }
+ public DataKeyValue Vessel_3_HighWeight { get; set; }
+ public DataKeyValue Vessel_3_LowWeight { get; set; }
+ public DataKeyValue Vessel_3_HighLevel { get; set; }
+ public DataKeyValue Vessel_3_LowLevel { get; set; }
- public DataKeyValue Vessel4_ActWeight { get; set; }
- public DataKeyValue Vessel4_HighWeight { get; set; }
- public DataKeyValue Vessel4_LowWeight { get; set; }
- public DataKeyValue Vessel4_HighLevel { get; set; }
- public DataKeyValue Vessel4_LowLevel { get; set; }
+ public DataKeyValue Vessel_4_ActWeight { get; set; }
+ public DataKeyValue Vessel_4_HighWeight { get; set; }
+ public DataKeyValue Vessel_4_LowWeight { get; set; }
+ public DataKeyValue Vessel_4_HighLevel { get; set; }
+ public DataKeyValue Vessel_4_LowLevel { get; set; }
- public DataKeyValue Vessel5_ActWeight { get; set; }
- public DataKeyValue Vessel5_HighWeight { get; set; }
- public DataKeyValue Vessel5_LowWeight { get; set; }
- public DataKeyValue Vessel5_HighLevel { get; set; }
- public DataKeyValue Vessel5_LowLevel { get; set; }
+ public DataKeyValue Vessel_5_ActWeight { get; set; }
+ public DataKeyValue Vessel_5_HighWeight { get; set; }
+ public DataKeyValue Vessel_5_LowWeight { get; set; }
+ public DataKeyValue Vessel_5_HighLevel { get; set; }
+ public DataKeyValue Vessel_5_LowLevel { get; set; }
- public DataKeyValue WScale1_ActWeight { get; set; }
- public DataKeyValue WScale1_HighWeight { get; set; }
- public DataKeyValue WScale1_LowWeight { get; set; }
- public DataKeyValue WScale1_HighLevel { get; set; }
- public DataKeyValue WScale1_LowLevel { get; set; }
+ public DataKeyValue WScale_1_ActWeight { get; set; }
+ public DataKeyValue WScale_1_HighWeight { get; set; }
+ public DataKeyValue WScale_1_LowWeight { get; set; }
+ public DataKeyValue WScale_1_HighLevel { get; set; }
+ public DataKeyValue WScale_1_LowLevel { get; set; }
- public DataKeyValue WScale2_ActWeight { get; set; }
- public DataKeyValue WScale2_HighWeight { get; set; }
- public DataKeyValue WScale2_LowWeight { get; set; }
- public DataKeyValue WScale2_HighLevel { get; set; }
- public DataKeyValue WScale2_LowLevel { get; set; }
+ public DataKeyValue WScale_2_ActWeight { get; set; }
+ public DataKeyValue WScale_2_HighWeight { get; set; }
+ public DataKeyValue WScale_2_LowWeight { get; set; }
+ public DataKeyValue WScale_2_HighLevel { get; set; }
+ public DataKeyValue WScale_2_LowLevel { get; set; }
- public DataKeyValue WScale3_ActWeight { get; set; }
- public DataKeyValue WScale3_HighWeight { get; set; }
- public DataKeyValue WScale3_LowWeight { get; set; }
- public DataKeyValue WScale3_HighLevel { get; set; }
- public DataKeyValue WScale3_LowLevel { get; set; }
+ public DataKeyValue WScale_3_ActWeight { get; set; }
+ public DataKeyValue WScale_3_HighWeight { get; set; }
+ public DataKeyValue WScale_3_LowWeight { get; set; }
+ public DataKeyValue WScale_3_HighLevel { get; set; }
+ public DataKeyValue WScale_3_LowLevel { get; set; }
- public DataKeyValue WScale4_ActWeight { get; set; }
- public DataKeyValue WScale4_HighWeight { get; set; }
- public DataKeyValue WScale4_LowWeight { get; set; }
- public DataKeyValue WScale4_HighLevel { get; set; }
- public DataKeyValue WScale4_LowLevel { get; set; }
+ public DataKeyValue WScale_4_ActWeight { get; set; }
+ public DataKeyValue WScale_4_HighWeight { get; set; }
+ public DataKeyValue WScale_4_LowWeight { get; set; }
+ public DataKeyValue WScale_4_HighLevel { get; set; }
+ public DataKeyValue WScale_4_LowLevel { get; set; }
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs
index 972b877..6d4d75e 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs
@@ -43,9 +43,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V1_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V1_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPres_V1_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V1_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V1_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -55,9 +55,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
var basePlcHelper = GetPlcHelper;
PressureSettingView view = new PressureSettingView();
view.Id = 2;
- view.LowLimit = basePlcHelper.topPres_V1_LowLimit.NowValue.ToFloat();
- view.HighLimit = basePlcHelper.topPres_V1_HighLimit.NowValue.ToFloat();
- view.Alarm = basePlcHelper.topPres_V1_Alarm.NowValue.ToInt();
+ view.LowLimit = basePlcHelper.topPressure_V1_LowLimit.NowValue.ToFloat();
+ view.HighLimit = basePlcHelper.topPressure_V1_HighLimit.NowValue.ToFloat();
+ view.Alarm = basePlcHelper.topPressure_V1_Alarm.NowValue.ToInt();
return view;
}
@@ -67,9 +67,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V1_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V1_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePres_V1_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V1_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V1_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V1_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -79,9 +79,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
var basePlcHelper = GetPlcHelper;
PressureSettingView view = new PressureSettingView();
view.Id = 3;
- view.LowLimit = basePlcHelper.linePres_V1_LowLimit.NowValue.ToFloat();
- view.HighLimit = basePlcHelper.linePres_V1_HighLimit.NowValue.ToFloat();
- view.Alarm = basePlcHelper.linePres_V1_Alarm.NowValue.ToInt();
+ view.LowLimit = basePlcHelper.linePressure_V1_LowLimit.NowValue.ToFloat();
+ view.HighLimit = basePlcHelper.linePressure_V1_HighLimit.NowValue.ToFloat();
+ view.Alarm = basePlcHelper.linePressure_V1_Alarm.NowValue.ToInt();
return view;
}
@@ -115,9 +115,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V2_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V2_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPres_V2_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V2_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V2_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V2_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -127,9 +127,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
var basePlcHelper = GetPlcHelper;
PressureSettingView view = new PressureSettingView();
view.Id = 5;
- view.LowLimit = basePlcHelper.topPres_V2_LowLimit.NowValue.ToFloat();
- view.HighLimit = basePlcHelper.topPres_V2_HighLimit.NowValue.ToFloat();
- view.Alarm = basePlcHelper.topPres_V2_Alarm.NowValue.ToInt();
+ view.LowLimit = basePlcHelper.topPressure_V2_LowLimit.NowValue.ToFloat();
+ view.HighLimit = basePlcHelper.topPressure_V2_HighLimit.NowValue.ToFloat();
+ view.Alarm = basePlcHelper.topPressure_V2_Alarm.NowValue.ToInt();
return view;
}
@@ -139,9 +139,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V2_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V2_HighLimit, view.HighLimit);
- basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePres_V2_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V2_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V2_HighLimit, view.HighLimit);
+ basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V2_Alarm,
new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -151,9 +151,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
var basePlcHelper = GetPlcHelper;
PressureSettingView view = new PressureSettingView();
view.Id = 6;
- view.LowLimit = basePlcHelper.linePres_V2_LowLimit.NowValue.ToFloat();
- view.HighLimit = basePlcHelper.linePres_V2_HighLimit.NowValue.ToFloat();
- view.Alarm = basePlcHelper.linePres_V2_Alarm.NowValue.ToInt();
+ view.LowLimit = basePlcHelper.linePressure_V2_LowLimit.NowValue.ToFloat();
+ view.HighLimit = basePlcHelper.linePressure_V2_HighLimit.NowValue.ToFloat();
+ view.Alarm = basePlcHelper.linePressure_V2_Alarm.NowValue.ToInt();
return view;
}
@@ -186,9 +186,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V3_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V3_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPres_V3_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V3_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V3_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V3_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -198,9 +198,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
var basePlcHelper = GetPlcHelper;
PressureSettingView view = new PressureSettingView();
view.Id = 8;
- view.LowLimit = basePlcHelper.topPres_V3_LowLimit.NowValue.ToFloat();
- view.HighLimit = basePlcHelper.topPres_V3_HighLimit.NowValue.ToFloat();
- view.Alarm = basePlcHelper.topPres_V3_Alarm.NowValue.ToInt();
+ view.LowLimit = basePlcHelper.topPressure_V3_LowLimit.NowValue.ToFloat();
+ view.HighLimit = basePlcHelper.topPressure_V3_HighLimit.NowValue.ToFloat();
+ view.Alarm = basePlcHelper.topPressure_V3_Alarm.NowValue.ToInt();
return view;
}
@@ -209,9 +209,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V3_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V3_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePres_V3_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V3_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V3_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V3_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -222,9 +222,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 9,
- LowLimit = basePlcHelper.linePres_V3_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.linePres_V3_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.linePres_V3_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.linePressure_V3_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.linePressure_V3_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.linePressure_V3_Alarm.NowValue.ToInt()
};
return view;
}
@@ -260,9 +260,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V4_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V4_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPres_V4_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V4_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V4_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V4_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -273,9 +273,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 11,
- LowLimit = basePlcHelper.topPres_V4_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.topPres_V4_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.topPres_V4_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.topPressure_V4_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.topPressure_V4_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.topPressure_V4_Alarm.NowValue.ToInt()
};
return view;
}
@@ -285,9 +285,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V4_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V4_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePres_V4_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V4_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V4_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V4_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -298,9 +298,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 12,
- LowLimit = basePlcHelper.linePres_V4_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.linePres_V4_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.linePres_V4_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.linePressure_V4_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.linePressure_V4_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.linePressure_V4_Alarm.NowValue.ToInt()
};
return view;
}
@@ -337,9 +337,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V5_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPres_V5_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPres_V5_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V5_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.topPressure_V5_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.topPressure_V5_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -350,9 +350,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 14,
- LowLimit = basePlcHelper.topPres_V5_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.topPres_V5_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.topPres_V5_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.topPressure_V5_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.topPressure_V5_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.topPressure_V5_Alarm.NowValue.ToInt()
};
return view;
}
@@ -362,9 +362,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V5_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePres_V5_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePres_V5_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V5_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.linePressure_V5_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.linePressure_V5_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -375,9 +375,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 15,
- LowLimit = basePlcHelper.linePres_V5_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.linePres_V5_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.linePres_V5_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.linePressure_V5_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.linePressure_V5_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.linePressure_V5_Alarm.NowValue.ToInt()
};
return view;
}
@@ -389,9 +389,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B1_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B1_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B1_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B1_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B1_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B1_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -402,9 +402,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 16,
- LowLimit = basePlcHelper.presDay_B1_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B1_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B1_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B1_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B1_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B1_Alarm.NowValue.ToInt()
};
return view;
}
@@ -414,9 +414,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B2_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B2_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B2_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B2_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B2_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B2_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -427,9 +427,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 17,
- LowLimit = basePlcHelper.presDay_B2_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B2_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B2_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B2_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B2_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B2_Alarm.NowValue.ToInt()
};
return view;
}
@@ -439,9 +439,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B3_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B3_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B3_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B3_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B3_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B3_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -452,9 +452,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 18,
- LowLimit = basePlcHelper.presDay_B3_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B3_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B3_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B3_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B3_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B3_Alarm.NowValue.ToInt()
};
return view;
}
@@ -464,9 +464,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B4_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B4_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B4_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B4_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B4_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B4_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -477,9 +477,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 19,
- LowLimit = basePlcHelper.presDay_B4_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B4_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B4_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B4_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B4_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B4_Alarm.NowValue.ToInt()
};
return view;
}
@@ -489,9 +489,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B5_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B5_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B5_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B5_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B5_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B5_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -502,9 +502,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 20,
- LowLimit = basePlcHelper.presDay_B5_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B5_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B5_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B5_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B5_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B5_Alarm.NowValue.ToInt()
};
return view;
}
@@ -514,9 +514,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B6_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B6_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B6_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B6_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B6_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B6_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -526,9 +526,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 21,
- LowLimit = basePlcHelper.presDay_B6_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B6_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B6_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B6_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B6_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B6_Alarm.NowValue.ToInt()
};
return view;
}
@@ -538,9 +538,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B7_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B7_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B7_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B7_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B7_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B7_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -551,9 +551,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 22,
- LowLimit = basePlcHelper.presDay_B7_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B7_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B7_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B7_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B7_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B7_Alarm.NowValue.ToInt()
};
return view;
}
@@ -563,9 +563,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B8_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B8_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B8_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B8_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B8_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B8_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -576,9 +576,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 23,
- LowLimit = basePlcHelper.presDay_B8_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B8_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B8_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B8_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B8_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B8_Alarm.NowValue.ToInt()
};
return view;
}
@@ -588,9 +588,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B9_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B9_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B9_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B9_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B9_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B9_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -601,9 +601,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 24,
- LowLimit = basePlcHelper.presDay_B9_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B9_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B9_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B9_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B9_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B9_Alarm.NowValue.ToInt()
};
return view;
}
@@ -613,9 +613,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B10_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B10_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B10_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B10_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B10_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B10_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -626,9 +626,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 25,
- LowLimit = basePlcHelper.presDay_B10_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B10_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B10_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B10_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B10_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B10_Alarm.NowValue.ToInt()
};
return view;
}
@@ -638,9 +638,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B11_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B11_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B11_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B11_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B11_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B11_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -651,9 +651,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 26,
- LowLimit = basePlcHelper.presDay_B11_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B11_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B11_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B11_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B11_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B11_Alarm.NowValue.ToInt()
};
return view;
}
@@ -663,9 +663,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B12_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDay_B12_HighLimit, view.HighLimit);
- // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDay_B12_Alarm,
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B12_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.presDaybin_B12_HighLimit, view.HighLimit);
+ // basePlcHelper.PlcWriteByDataKey(basePlcHelper.presDaybin_B12_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
}
@@ -676,9 +676,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 27,
- LowLimit = basePlcHelper.presDay_B12_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.presDay_B12_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.presDay_B12_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.presDaybin_B12_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.presDaybin_B12_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.presDaybin_B12_Alarm.NowValue.ToInt()
};
return view;
}
@@ -689,8 +689,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_B12_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_B12_HighLimit, view.HighLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP01_HighLimit, view.HighLimit);
// basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP01_B12_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
@@ -702,8 +702,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 28,
- LowLimit = basePlcHelper.PR2PCP01_B12_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.PR2PCP01_B12_HighLimit.NowValue.ToFloat(),
+ LowLimit = basePlcHelper.PR2PCP01_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.PR2PCP01_HighLimit.NowValue.ToFloat(),
Alarm = basePlcHelper.PR2PCP01_B12_Alarm.NowValue.ToInt()
};
return view;
@@ -715,8 +715,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_B12_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_B12_HighLimit, view.HighLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP02_HighLimit, view.HighLimit);
// basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP02_B12_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
@@ -728,9 +728,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 29,
- LowLimit = basePlcHelper.PR2PCP02_B12_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.PR2PCP02_B12_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.PR2PCP02_B12_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.PR2PCP02_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.PR2PCP02_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.PR2PCP02_Alarm.NowValue.ToInt()
};
return view;
}
@@ -741,8 +741,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
if (view != null)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_B12_LowLimit, view.LowLimit);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_B12_HighLimit, view.HighLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_LowLimit, view.LowLimit);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.PR2PCP03_HighLimit, view.HighLimit);
// basePlcHelper.PlcWriteByDataKey(basePlcHelper.PR2PCP03_B12_Alarm,
// new object[] { Convert.ToBoolean(view.Alarm) });
}
@@ -754,9 +754,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure
PressureSettingView view = new PressureSettingView
{
Id = 30,
- LowLimit = basePlcHelper.PR2PCP03_B12_LowLimit.NowValue.ToFloat(),
- HighLimit = basePlcHelper.PR2PCP03_B12_HighLimit.NowValue.ToFloat(),
- Alarm = basePlcHelper.PR2PCP03_B12_Alarm.NowValue.ToInt()
+ LowLimit = basePlcHelper.PR2PCP03_LowLimit.NowValue.ToFloat(),
+ HighLimit = basePlcHelper.PR2PCP03_HighLimit.NowValue.ToFloat(),
+ Alarm = basePlcHelper.PR2PCP03_Alarm.NowValue.ToInt()
};
return view;
}
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs
index c4eb17b..217a623 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs
@@ -13,8 +13,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper1_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper1_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_1_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_1_LowWeight, view.LowWeight);
}
}
@@ -24,8 +24,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 1,
- HighWeight = basePlcHelper.Hopper1_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Hopper1_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Hopper_1_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Hopper_1_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -36,8 +36,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper2_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper2_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_2_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_2_LowWeight, view.LowWeight);
}
}
@@ -47,8 +47,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 2,
- HighWeight = basePlcHelper.Hopper2_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Hopper2_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Hopper_2_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Hopper_2_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -59,8 +59,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper3_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper3_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_3_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_3_LowWeight, view.LowWeight);
}
}
@@ -70,8 +70,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 3,
- HighWeight = basePlcHelper.Hopper3_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Hopper3_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Hopper_3_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Hopper_3_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -81,8 +81,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper4_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper4_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_4_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper_4_LowWeight, view.LowWeight);
}
}
@@ -92,8 +92,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 4,
- HighWeight = basePlcHelper.Hopper4_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Hopper4_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Hopper_4_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Hopper_4_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -104,8 +104,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel1_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel1_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_1_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_1_LowWeight, view.LowWeight);
}
}
@@ -115,8 +115,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 5,
- HighWeight = basePlcHelper.Vessel1_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Vessel1_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Vessel_1_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Vessel_1_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -128,8 +128,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel2_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel2_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_2_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_2_LowWeight, view.LowWeight);
}
}
@@ -139,8 +139,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 6,
- HighWeight = basePlcHelper.Vessel2_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Vessel2_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Vessel_2_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Vessel_2_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -150,8 +150,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel3_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel3_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_3_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_3_LowWeight, view.LowWeight);
}
}
@@ -161,8 +161,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 7,
- HighWeight = basePlcHelper.Vessel3_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Vessel3_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Vessel_3_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Vessel_3_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -173,8 +173,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel4_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel4_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_4_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_4_LowWeight, view.LowWeight);
}
}
@@ -184,8 +184,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 8,
- HighWeight = basePlcHelper.Vessel4_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Vessel4_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Vessel_4_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Vessel_4_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -196,8 +196,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel5_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel5_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_5_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel_5_LowWeight, view.LowWeight);
}
}
@@ -207,8 +207,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 9,
- HighWeight = basePlcHelper.Vessel5_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.Vessel5_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.Vessel_5_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.Vessel_5_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -220,8 +220,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale1_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale1_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_1_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_1_LowWeight, view.LowWeight);
}
}
@@ -231,8 +231,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 10,
- HighWeight = basePlcHelper.WScale1_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.WScale1_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.WScale_1_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.WScale_1_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -243,8 +243,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale2_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale2_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_2_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_2_LowWeight, view.LowWeight);
}
}
@@ -254,8 +254,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 11,
- HighWeight = basePlcHelper.WScale2_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.WScale2_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.WScale_2_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.WScale_2_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -265,8 +265,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale3_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale3_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_3_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_3_LowWeight, view.LowWeight);
}
}
@@ -276,8 +276,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 12,
- HighWeight = basePlcHelper.WScale3_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.WScale3_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.WScale_3_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.WScale_3_LowWeight.NowValue.ToFloat()
};
return view;
}
@@ -287,8 +287,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
if (null != view)
{
var basePlcHelper = GetPlcHelper;
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale4_HighWeight, view.HighWeight);
- basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale4_LowWeight, view.LowWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_4_HighWeight, view.HighWeight);
+ basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale_4_LowWeight, view.LowWeight);
}
}
@@ -298,8 +298,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
WeightSettingView view = new WeightSettingView()
{
Id = 13,
- HighWeight = basePlcHelper.WScale4_HighWeight.NowValue.ToFloat(),
- LowWeight = basePlcHelper.WScale4_LowWeight.NowValue.ToFloat()
+ HighWeight = basePlcHelper.WScale_4_HighWeight.NowValue.ToFloat(),
+ LowWeight = basePlcHelper.WScale_4_LowWeight.NowValue.ToFloat()
};
return view;
}
diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
index b8f7ae4..a9a039a 100644
--- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
+++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj
@@ -153,9 +153,6 @@
False
..\..\..\PlugInPlatform\Mesnac.PlugIn.dll
-
- ..\..\Microsoft.Office.Interop.Excel.dll
-