master
wangsr 1 year ago
commit 8a6fecc6cb

@ -1288,81 +1288,81 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue weightPraSilo0_HighSpeed { get; set; }
public DataKeyValue weightPraSilo0_LowSpeed { get; set; }
public DataKeyValue weightPraSilo0_WeightSlow { get; set; }
public DataKeyValue weightPraSilo0_Precut { get; set; }
public DataKeyValue weightPraSilo0_JogTime { get; set; }
public DataKeyValue weightPraSilo1_HighSpeed { get; set; }
public DataKeyValue weightPraSilo1_LowSpeed { get; set; }
public DataKeyValue weightPraSilo1_WeightSlow { get; set; }
public DataKeyValue weightPraSilo1_Precut { get; set; }
public DataKeyValue weightPraSilo1_JogTime { get; set; }
public DataKeyValue weightPraSilo2_HighSpeed { get; set; }
public DataKeyValue weightPraSilo2_LowSpeed { get; set; }
public DataKeyValue weightPraSilo2_WeightSlow { get; set; }
public DataKeyValue weightPraSilo2_Precut { get; set; }
public DataKeyValue weightPraSilo2_JogTime { get; set; }
public DataKeyValue weightPraSilo3_HighSpeed { get; set; }
public DataKeyValue weightPraSilo3_LowSpeed { get; set; }
public DataKeyValue weightPraSilo3_WeightSlow { get; set; }
public DataKeyValue weightPraSilo3_Precut { get; set; }
public DataKeyValue weightPraSilo3_JogTime { get; set; }
public DataKeyValue weightPraSilo4_HighSpeed { get; set; }
public DataKeyValue weightPraSilo4_LowSpeed { get; set; }
public DataKeyValue weightPraSilo4_WeightSlow { get; set; }
public DataKeyValue weightPraSilo4_Precut { get; set; }
public DataKeyValue weightPraSilo4_JogTime { get; set; }
public DataKeyValue weightPraSilo5_HighSpeed { get; set; }
public DataKeyValue weightPraSilo5_LowSpeed { get; set; }
public DataKeyValue weightPraSilo5_WeightSlow { get; set; }
public DataKeyValue weightPraSilo5_Precut { get; set; }
public DataKeyValue weightPraSilo5_JogTime { get; set; }
public DataKeyValue weightPraSilo6_HighSpeed { get; set; }
public DataKeyValue weightPraSilo6_LowSpeed { get; set; }
public DataKeyValue weightPraSilo6_WeightSlow { get; set; }
public DataKeyValue weightPraSilo6_Precut { get; set; }
public DataKeyValue weightPraSilo6_JogTime { get; set; }
public DataKeyValue weightPraSilo7_HighSpeed { get; set; }
public DataKeyValue weightPraSilo7_LowSpeed { get; set; }
public DataKeyValue weightPraSilo7_WeightSlow { get; set; }
public DataKeyValue weightPraSilo7_Precut { get; set; }
public DataKeyValue weightPraSilo7_JogTime { get; set; }
public DataKeyValue weightPraSilo8_HighSpeed { get; set; }
public DataKeyValue weightPraSilo8_LowSpeed { get; set; }
public DataKeyValue weightPraSilo8_WeightSlow { get; set; }
public DataKeyValue weightPraSilo8_Precut { get; set; }
public DataKeyValue weightPraSilo8_JogTime { get; set; }
public DataKeyValue weightPraSilo9_HighSpeed { get; set; }
public DataKeyValue weightPraSilo9_LowSpeed { get; set; }
public DataKeyValue weightPraSilo9_WeightSlow { get; set; }
public DataKeyValue weightPraSilo9_Precut { get; set; }
public DataKeyValue weightPraSilo9_JogTime { get; set; }
public DataKeyValue weightPraSilo10_HighSpeed { get; set; }
public DataKeyValue weightPraSilo10_LowSpeed { get; set; }
public DataKeyValue weightPraSilo10_WeightSlow { get; set; }
public DataKeyValue weightPraSilo10_Precut { get; set; }
public DataKeyValue weightPraSilo10_JogTime { get; set; }
public DataKeyValue weightPraSilo11_HighSpeed { get; set; }
public DataKeyValue weightPraSilo11_LowSpeed { get; set; }
public DataKeyValue weightPraSilo11_WeightSlow { get; set; }
public DataKeyValue weightPraSilo11_Precut { get; set; }
public DataKeyValue weightPraSilo11_JogTime { get; set; }
public DataKeyValue weightPraSilo12_HighSpeed { get; set; }
public DataKeyValue weightPraSilo12_LowSpeed { get; set; }
public DataKeyValue weightPraSilo12_WeightSlow { get; set; }
public DataKeyValue weightPraSilo12_Precut { get; set; }
public DataKeyValue weightPraSilo12_JogTime { get; set; }
public DataKeyValue weightPraSilo13_HighSpeed { get; set; }
public DataKeyValue weightPraSilo13_LowSpeed { get; set; }
public DataKeyValue weightPraSilo13_WeightSlow { get; set; }
public DataKeyValue weightPraSilo13_Precut { get; set; }
public DataKeyValue weightPraSilo13_JogTime { get; set; }
public DataKeyValue weightPraSilo14_HighSpeed { get; set; }
public DataKeyValue weightPraSilo14_LowSpeed { get; set; }
public DataKeyValue weightPraSilo14_WeightSlow { get; set; }
public DataKeyValue weightPraSilo14_Precut { get; set; }
public DataKeyValue weightPraSilo14_JogTime { get; set; }
public DataKeyValue Silo0_HighSpeed { get; set; }
public DataKeyValue Silo0_LowSpeed { get; set; }
public DataKeyValue Silo0_WeightSlow { get; set; }
public DataKeyValue Silo0_Precut { get; set; }
public DataKeyValue Silo0_JogTime { get; set; }
public DataKeyValue Silo1_HighSpeed { get; set; }
public DataKeyValue Silo1_LowSpeed { get; set; }
public DataKeyValue Silo1_WeightSlow { get; set; }
public DataKeyValue Silo1_Precut { get; set; }
public DataKeyValue Silo1_JogTime { get; set; }
public DataKeyValue Silo2_HighSpeed { get; set; }
public DataKeyValue Silo2_LowSpeed { get; set; }
public DataKeyValue Silo2_WeightSlow { get; set; }
public DataKeyValue Silo2_Precut { get; set; }
public DataKeyValue Silo2_JogTime { get; set; }
public DataKeyValue Silo3_HighSpeed { get; set; }
public DataKeyValue Silo3_LowSpeed { get; set; }
public DataKeyValue Silo3_WeightSlow { get; set; }
public DataKeyValue Silo3_Precut { get; set; }
public DataKeyValue Silo3_JogTime { get; set; }
public DataKeyValue Silo4_HighSpeed { get; set; }
public DataKeyValue Silo4_LowSpeed { get; set; }
public DataKeyValue Silo4_WeightSlow { get; set; }
public DataKeyValue Silo4_Precut { get; set; }
public DataKeyValue Silo4_JogTime { get; set; }
public DataKeyValue Silo5_HighSpeed { get; set; }
public DataKeyValue Silo5_LowSpeed { get; set; }
public DataKeyValue Silo5_WeightSlow { get; set; }
public DataKeyValue Silo5_Precut { get; set; }
public DataKeyValue Silo5_JogTime { get; set; }
public DataKeyValue Silo6_HighSpeed { get; set; }
public DataKeyValue Silo6_LowSpeed { get; set; }
public DataKeyValue Silo6_WeightSlow { get; set; }
public DataKeyValue Silo6_Precut { get; set; }
public DataKeyValue Silo6_JogTime { get; set; }
public DataKeyValue Silo7_HighSpeed { get; set; }
public DataKeyValue Silo7_LowSpeed { get; set; }
public DataKeyValue Silo7_WeightSlow { get; set; }
public DataKeyValue Silo7_Precut { get; set; }
public DataKeyValue Silo7_JogTime { get; set; }
public DataKeyValue Silo8_HighSpeed { get; set; }
public DataKeyValue Silo8_LowSpeed { get; set; }
public DataKeyValue Silo8_WeightSlow { get; set; }
public DataKeyValue Silo8_Precut { get; set; }
public DataKeyValue Silo8_JogTime { get; set; }
public DataKeyValue Silo9_HighSpeed { get; set; }
public DataKeyValue Silo9_LowSpeed { get; set; }
public DataKeyValue Silo9_WeightSlow { get; set; }
public DataKeyValue Silo9_Precut { get; set; }
public DataKeyValue Silo9_JogTime { get; set; }
public DataKeyValue Silo10_HighSpeed { get; set; }
public DataKeyValue Silo10_LowSpeed { get; set; }
public DataKeyValue Silo10_WeightSlow { get; set; }
public DataKeyValue Silo10_Precut { get; set; }
public DataKeyValue Silo10_JogTime { get; set; }
public DataKeyValue Silo11_HighSpeed { get; set; }
public DataKeyValue Silo11_LowSpeed { get; set; }
public DataKeyValue Silo11_WeightSlow { get; set; }
public DataKeyValue Silo11_Precut { get; set; }
public DataKeyValue Silo11_JogTime { get; set; }
public DataKeyValue Silo12_HighSpeed { get; set; }
public DataKeyValue Silo12_LowSpeed { get; set; }
public DataKeyValue Silo12_WeightSlow { get; set; }
public DataKeyValue Silo12_Precut { get; set; }
public DataKeyValue Silo12_JogTime { get; set; }
public DataKeyValue Silo13_HighSpeed { get; set; }
public DataKeyValue Silo13_LowSpeed { get; set; }
public DataKeyValue Silo13_WeightSlow { get; set; }
public DataKeyValue Silo13_Precut { get; set; }
public DataKeyValue Silo13_JogTime { get; set; }
public DataKeyValue Silo14_HighSpeed { get; set; }
public DataKeyValue Silo14_LowSpeed { get; set; }
public DataKeyValue Silo14_WeightSlow { get; set; }
public DataKeyValue Silo14_Precut { get; set; }
public DataKeyValue Silo14_JogTime { get; set; }
public DataKeyValue Daybin0_HighSpeed { get; set; }
public DataKeyValue Daybin0_LowSpeed { get; set; }
public DataKeyValue Daybin0_WeightSlow { get; set; }
@ -2488,6 +2488,7 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue DryerD2Recip0_Bin { get; set; }
public DataKeyValue DryerD2Recip0_Set { get; set; }
public DataKeyValue DryerD2Recip0_Tolerance { get; set; }
public DataKeyValue DryerD2Recip1_Bin { get; set; }
public DataKeyValue DryerD2Recip1_Set { get; set; }
public DataKeyValue DryerD2Recip1_Tolerance { get; set; }
@ -2537,6 +2538,7 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue DryerD2Step9_MixTime { get; set; }
public DataKeyValue DryerD2Step9_MixTemp { get; set; }
public DataKeyValue DryerD2Step9_MixSpeed { get; set; }
public DataKeyValue DryerD3Recip0_Bin { get; set; }
public DataKeyValue DryerD3Recip0_Set { get; set; }
public DataKeyValue DryerD3Recip0_Tolerance { get; set; }

@ -113,69 +113,10 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch
{
#region 0、实时刷新自动保存报警
SaveHelper.AlarmSaveHelper.Instance.Save();
#endregion
#region 2、将等待计划数写入PLC
//ChemicalWeighingPlc.PlcPlanHelper.WaitPlanNumToPLC();
#endregion
#region 3、更新计划状态
//ChemicalWeighingPlc.PlcPlanHelper.UpdatePlanStateFromPlc();
#endregion
#region 4、HMI配方列表请求处理
//ChemicalWeighingPlc.PlcRecipeHelper.DownloadRecipeNameListToPLC();
#endregion
#region 5、HMI计划添加请求处理
//ChemicalWeighingPlc.PlcPlanHelper.AutoAddPlan();
#endregion
#region 6、HMI计划修改请求处理
//ChemicalWeighingPlc.PlcPlanHelper.ChangePlan();
#endregion
#region 7、自动存盘处理
//FinishBatchHelper.SaveGHData();
//ReportDryMixerSaveHelper.Instance.Save();
ReportWetMixerSaveHelper.Instance.SaveWetMixerReport();
//ReportGelDoserSaveHelper.Instance.SaveGelDoserReport();
#endregion
#region 8、更新物料名称
//ChemicalWeighingPlc.PlcPlanHelper.UpdateMaterialNameToPlc();
#endregion
#region 9、修改PC心跳信号
//ChemicalWeighingPlc.PlcPlanHelper.HeartBeatChange();
#endregion
#region 10、自动换班
ChemicalWeighingPlc.PlcPlanHelper.shiftIDAutoChange();
#endregion
}
}

@ -13,14 +13,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo0_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo0_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo0_JogTime,
new object[] { view.JogTime });
}
}
@ -31,11 +31,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 1,
HighSpeed = basePlcHelper.weightPraSilo0_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo0_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo0_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo0_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo0_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo0_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo0_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo0_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo0_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo0_JogTime.NowValue.ToInt()
};
return view;
@ -46,14 +46,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo1_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo1_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo1_JogTime,
new object[] { view.JogTime });
}
}
@ -64,11 +64,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 2,
HighSpeed = basePlcHelper.weightPraSilo1_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo1_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo1_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo1_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo1_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo1_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo1_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo1_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo1_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo1_JogTime.NowValue.ToInt()
};
return view;
@ -79,14 +79,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo2_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo2_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo2_JogTime,
new object[] { view.JogTime });
}
}
@ -97,11 +97,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 3,
HighSpeed = basePlcHelper.weightPraSilo2_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo2_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo2_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo2_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo2_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo2_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo2_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo2_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo2_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo2_JogTime.NowValue.ToInt()
};
return view;
@ -112,14 +112,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo3_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo3_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo3_JogTime,
new object[] { view.JogTime });
}
}
@ -130,11 +130,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 4,
HighSpeed = basePlcHelper.weightPraSilo3_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo3_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo3_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo3_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo3_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo3_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo3_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo3_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo3_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo3_JogTime.NowValue.ToInt()
};
return view;
@ -145,14 +145,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo4_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo4_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo4_JogTime,
new object[] { view.JogTime });
}
}
@ -163,11 +163,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 5,
HighSpeed = basePlcHelper.weightPraSilo4_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo4_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo4_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo4_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo4_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo4_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo4_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo4_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo4_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo4_JogTime.NowValue.ToInt()
};
return view;
@ -178,14 +178,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo5_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo5_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo5_JogTime,
new object[] { view.JogTime });
}
}
@ -196,11 +196,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 6,
HighSpeed = basePlcHelper.weightPraSilo5_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo5_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo5_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo5_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo5_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo5_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo5_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo5_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo5_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo5_JogTime.NowValue.ToInt()
};
return view;
@ -211,14 +211,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo6_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo6_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo6_JogTime,
new object[] { view.JogTime });
}
}
@ -229,11 +229,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 7,
HighSpeed = basePlcHelper.weightPraSilo6_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo6_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo6_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo6_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo6_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo6_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo6_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo6_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo6_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo6_JogTime.NowValue.ToInt()
};
return view;
@ -244,14 +244,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo7_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo7_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo7_JogTime,
new object[] { view.JogTime });
}
}
@ -262,11 +262,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 8,
HighSpeed = basePlcHelper.weightPraSilo7_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo7_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo7_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo7_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo7_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo7_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo7_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo7_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo7_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo7_JogTime.NowValue.ToInt()
};
return view;
@ -277,14 +277,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo8_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo8_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo8_JogTime,
new object[] { view.JogTime });
}
}
@ -295,11 +295,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 9,
HighSpeed = basePlcHelper.weightPraSilo8_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo8_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo8_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo8_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo8_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo8_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo8_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo8_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo8_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo8_JogTime.NowValue.ToInt()
};
return view;
@ -310,14 +310,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo9_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo9_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo9_JogTime,
new object[] { view.JogTime });
}
}
@ -328,11 +328,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 10,
HighSpeed = basePlcHelper.weightPraSilo9_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo9_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo9_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo9_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo9_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo9_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo9_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo9_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo9_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo9_JogTime.NowValue.ToInt()
};
return view;
@ -343,14 +343,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo10_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo10_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo10_JogTime,
new object[] { view.JogTime });
}
}
@ -361,11 +361,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 11,
HighSpeed = basePlcHelper.weightPraSilo10_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo10_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo10_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo10_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo10_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo10_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo10_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo10_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo10_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo10_JogTime.NowValue.ToInt()
};
return view;
@ -376,14 +376,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo11_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo11_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo11_JogTime,
new object[] { view.JogTime });
}
}
@ -394,11 +394,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 12,
HighSpeed = basePlcHelper.weightPraSilo11_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo11_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo11_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo11_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo11_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo11_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo11_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo11_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo11_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo11_JogTime.NowValue.ToInt()
};
return view;
@ -409,14 +409,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo12_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo12_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo12_JogTime,
new object[] { view.JogTime });
}
}
@ -427,11 +427,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 13,
HighSpeed = basePlcHelper.weightPraSilo12_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo12_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo12_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo12_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo12_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo12_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo12_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo12_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo12_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo12_JogTime.NowValue.ToInt()
};
return view;
@ -442,14 +442,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo13_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo13_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo13_JogTime,
new object[] { view.JogTime });
}
}
@ -460,11 +460,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 14,
HighSpeed = basePlcHelper.weightPraSilo13_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo13_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo13_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo13_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo13_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo13_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo13_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo13_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo13_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo13_JogTime.NowValue.ToInt()
};
return view;
@ -475,14 +475,14 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
if (null != view)
{
var basePlcHelper = GetPlcHelper;
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_HighSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_HighSpeed,
view.HighSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_LowSpeed,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_LowSpeed,
view.LowSpeed);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_WeightSlow,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_WeightSlow,
view.WeightSlow);
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo14_JogTime,
basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Silo14_Precut, view.Precut);
basePlcHelper.PlcWriteByDataKey(basePlcHelper.Silo14_JogTime,
new object[] { view.JogTime });
}
}
@ -493,11 +493,11 @@ namespace Mesnac.Action.ChemicalWeighing.LjMetage
MetageView view = new MetageView()
{
Id = 15,
HighSpeed = basePlcHelper.weightPraSilo14_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.weightPraSilo14_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.weightPraSilo14_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.weightPraSilo14_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.weightPraSilo14_JogTime.NowValue.ToInt()
HighSpeed = basePlcHelper.Silo14_HighSpeed.NowValue.ToFloat(),
LowSpeed = basePlcHelper.Silo14_LowSpeed.NowValue.ToFloat(),
WeightSlow = basePlcHelper.Silo14_WeightSlow.NowValue.ToFloat(),
Precut = basePlcHelper.Silo14_Precut.NowValue.ToFloat(),
JogTime = basePlcHelper.Silo14_JogTime.NowValue.ToInt()
};
return view;

@ -88,7 +88,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// txtName
//
this.txtName.Location = new System.Drawing.Point(84, 14);
this.txtName.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtName.Margin = new System.Windows.Forms.Padding(5);
this.txtName.MaxLength = 100;
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(206, 21);
@ -97,7 +97,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// txtDifference
//
this.txtDifference.Location = new System.Drawing.Point(365, 107);
this.txtDifference.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtDifference.Margin = new System.Windows.Forms.Padding(5);
this.txtDifference.MaxLength = 100;
this.txtDifference.Name = "txtDifference";
this.txtDifference.Size = new System.Drawing.Size(206, 21);
@ -106,7 +106,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// TxtSendTime
//
this.TxtSendTime.Location = new System.Drawing.Point(84, 107);
this.TxtSendTime.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.TxtSendTime.Margin = new System.Windows.Forms.Padding(5);
this.TxtSendTime.MaxLength = 100;
this.TxtSendTime.Name = "TxtSendTime";
this.TxtSendTime.Size = new System.Drawing.Size(206, 21);
@ -192,7 +192,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// txtTemperature
//
this.txtTemperature.Location = new System.Drawing.Point(365, 14);
this.txtTemperature.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtTemperature.Margin = new System.Windows.Forms.Padding(5);
this.txtTemperature.MaxLength = 100;
this.txtTemperature.Name = "txtTemperature";
this.txtTemperature.Size = new System.Drawing.Size(206, 21);
@ -211,7 +211,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// txtSpeed
//
this.txtSpeed.Location = new System.Drawing.Point(365, 45);
this.txtSpeed.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtSpeed.Margin = new System.Windows.Forms.Padding(5);
this.txtSpeed.MaxLength = 100;
this.txtSpeed.Name = "txtSpeed";
this.txtSpeed.Size = new System.Drawing.Size(206, 21);
@ -230,7 +230,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// txtWeight
//
this.txtWeight.Location = new System.Drawing.Point(365, 76);
this.txtWeight.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtWeight.Margin = new System.Windows.Forms.Padding(5);
this.txtWeight.MaxLength = 100;
this.txtWeight.Name = "txtWeight";
this.txtWeight.Size = new System.Drawing.Size(206, 21);
@ -252,14 +252,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.No,
this.MaterialName,
this.DeviceName,
this.Temperature,
this.Speed,
this.Weight,
this.Difference});
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.No, this.MaterialName, this.DeviceName, this.Temperature, this.Speed, this.Weight, this.Difference });
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(3, 17);
this.dataGridView1.Name = "dataGridView1";
@ -329,8 +322,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
// btnCancel
//
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(349, 756);
this.btnCancel.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.btnCancel.Location = new System.Drawing.Point(383, 445);
this.btnCancel.Margin = new System.Windows.Forms.Padding(5);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(98, 45);
this.btnCancel.TabIndex = 50;
@ -340,8 +333,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(177, 756);
this.btnOK.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.btnOK.Location = new System.Drawing.Point(211, 445);
this.btnOK.Margin = new System.Windows.Forms.Padding(5);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(98, 45);
this.btnOK.TabIndex = 49;
@ -353,7 +346,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(815, 438);
this.ClientSize = new System.Drawing.Size(815, 525);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.groupBox1);
@ -375,14 +368,13 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixFormula
this.Controls.Add(this.DrpAction);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "FrmMixFormula";
this.Text = "混合配方";
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Button btnCancel;

@ -123,10 +123,4 @@
<metadata name="Speed.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Temperature.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Speed.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

@ -50,7 +50,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjMixManager
{
if (id < 13)
{
mixB = new FrmMixB(id);
mixB = new FrmMixB(id);
result = mixB.ShowDialog();
}
else

@ -66,7 +66,7 @@ namespace Mesnac.Action.ChemicalWeighing.Sys
//SetDateTimeFormat();
//首次运行启动更新计划状态和自动下传计划服务
// FinishBatch.FinishBatchService.Instance.Start();
FinishBatch.FinishBatchService.Instance.Start();
//首次运行时启动定时器运行服务其中包含Socket通讯连接
Sys.TimerRunService.Instance.Start();

@ -272,6 +272,7 @@
<Data name="conveyV5_SV" runname="conveyV5_SV" start="341" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="" />
<Data name="purgeV5_PV" runname="purgeV5_PV" start="343" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="" />
<Data name="purgeV5_SV" runname="purgeV5_SV" start="345" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="" />
<Data name="Silo0_HighSpeed" runname="Silo0_HighSpeed" start="347" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="高速频率" />
<Data name="Silo0_LowSpeed" runname="Silo0_LowSpeed" start="349" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="低速频率" />
<Data name="Silo0_WeightSlow" runname="Silo0_WeightSlow" start="351" len="2" method="Default_Float()" max="" issave="False" subtractor="" remark="快慢值值值" />

Loading…
Cancel
Save