diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs index f7ce65d..bf4b1f5 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/BasePlcHelper.cs @@ -21,6 +21,7 @@ namespace Mesnac.Action.ChemicalWeighing #region 单例模式 private static BasePlcHelper _this = null; + public static BasePlcHelper Instance { get @@ -62,6 +63,7 @@ namespace Mesnac.Action.ChemicalWeighing } } } + return null; } @@ -93,6 +95,7 @@ namespace Mesnac.Action.ChemicalWeighing { return Mesnac.Equips.Factory.Instance.Read(equipName, block, start, len, out dataValue); } + /// /// 从PLC中读取原始数据 /// @@ -130,6 +133,7 @@ namespace Mesnac.Action.ChemicalWeighing { return Mesnac.Equips.Factory.Instance.ReadLastValue(dataName, out dataValue); } + #endregion #region 向PLC变量中写入值,并不真正下传至PLC @@ -157,7 +161,8 @@ namespace Mesnac.Action.ChemicalWeighing { foreach (Mesnac.Equips.BaseInfo.Data data in group.Data.Values) { - if (data.KeyName == equipKey || (!String.IsNullOrEmpty(data.RunName) && data.RunName == runName)) + if (data.KeyName == equipKey || + (!String.IsNullOrEmpty(data.RunName) && data.RunName == runName)) { try { @@ -174,6 +179,7 @@ namespace Mesnac.Action.ChemicalWeighing } } } + //log.Append("]No Find"); return false; } @@ -190,6 +196,7 @@ namespace Mesnac.Action.ChemicalWeighing //} } } + /// /// 向PLC变量中写入值,并不真正下传至PLC /// @@ -201,6 +208,7 @@ namespace Mesnac.Action.ChemicalWeighing { return PlcVarWrite(equipKey, string.Empty, shifting, dataValue); } + /// /// 向PLC变量中写入值,并不真正下传至PLC /// @@ -212,6 +220,7 @@ namespace Mesnac.Action.ChemicalWeighing { return PlcVarWriteByDataKey(dataKey.EquipKey, shifting, dataValue); } + /// /// 向PLC变量中写入值,并不真正下传至PLC /// @@ -236,7 +245,8 @@ namespace Mesnac.Action.ChemicalWeighing /// /// /// - private bool PlcWrite(string equipKey, string runName, int shifting, object[] dataValue, params bool[] isOutFlag) + private bool PlcWrite(string equipKey, string runName, int shifting, object[] dataValue, + params bool[] isOutFlag) { StringBuilder log = new StringBuilder(); try @@ -253,12 +263,14 @@ namespace Mesnac.Action.ChemicalWeighing { //if (data.KeyName == equipKey || data.RunName == runName) //if (data.KeyName == equipKey) - if (data.KeyName == equipKey || (!String.IsNullOrEmpty(data.RunName) && data.RunName == runName)) + if (data.KeyName == equipKey || + (!String.IsNullOrEmpty(data.RunName) && data.RunName == runName)) { int block = 0; if (int.TryParse(group.Block.ToString(), out block)) { - log.Append("]shifting=[").Append((group.Start + data.Start + shifting).ToString()); + log.Append("]shifting=[") + .Append((group.Start + data.Start + shifting).ToString()); log.Append("]dataLen=[").Append(dataValue.Length); log.Append("]Find Result="); foreach (object v in dataValue) @@ -270,46 +282,55 @@ namespace Mesnac.Action.ChemicalWeighing if (data.Method.StartsWith("Default_Bit")) { - string parameters = data.Method.Replace("Default_Bit(", String.Empty).Replace(")", String.Empty); + string parameters = data.Method.Replace("Default_Bit(", String.Empty) + .Replace(")", String.Empty); string[] ps = parameters.Split(new char[] { ',' }); int startIndex = 0; int length = 1; - if (ps.Length == 1) //单参数判断 + if (ps.Length == 1) //单参数判断 { if (!int.TryParse(ps[0], out startIndex)) { - log.Append("[false](Convert The Bit method first parameter to int failure!)"); + log.Append( + "[false](Convert The Bit method first parameter to int failure!)"); return false; } } - else if (ps.Length == 2) //多参数判断 + else if (ps.Length == 2) //多参数判断 { if (!int.TryParse(ps[0], out startIndex)) { - log.Append("[false](Convert The Bit method first parameter to int failure!)"); + log.Append( + "[false](Convert The Bit method first parameter to int failure!)"); return false; } + if (!int.TryParse(ps[1], out length)) { - log.Append("[false](Convert The Bit method second parameter to int failure!)"); + log.Append( + "[false](Convert The Bit method second parameter to int failure!)"); return false; } } - object originalValue = 0; //保存原始值 - if (data.Len == 1) //如果len=1则为Int16类型 + + object originalValue = 0; //保存原始值 + if (data.Len == 1) //如果len=1则为Int16类型 { int[] buff = null; if (PlcRead(data.KeyName, out buff)) { originalValue = buff[0]; - originalValue = Mesnac.Basic.DataProcessor.Swap(short.Parse(originalValue.ToString())); + originalValue = + Mesnac.Basic.DataProcessor.Swap( + short.Parse(originalValue.ToString())); } else { - ICSharpCode.Core.LoggingService.Warn(String.Format("在进行二进制写入时读取设备变量[{0}]失败!", data.KeyName)); + ICSharpCode.Core.LoggingService.Warn( + String.Format("在进行二进制写入时读取设备变量[{0}]失败!", data.KeyName)); } } - else if (data.Len == 2) //如果len=2则为Int32类型 + else if (data.Len == 2) //如果len=2则为Int32类型 { int[] buff = null; if (PlcRead(data.KeyName, out buff)) @@ -325,17 +346,24 @@ namespace Mesnac.Action.ChemicalWeighing } else { - ICSharpCode.Core.LoggingService.Warn(String.Format("在进行二进制写入时读取设备变量[{0}]失败!", data.KeyName)); + ICSharpCode.Core.LoggingService.Warn( + String.Format("在进行二进制写入时读取设备变量[{0}]失败!", data.KeyName)); } } + object[] newValue = null; if (data.Len == 1) { - newValue = new object[] { Mesnac.Basic.DataProcessor.SetBitValue(originalValue, startIndex, length, dataValue[0]) }; + newValue = new object[] + { + Mesnac.Basic.DataProcessor.SetBitValue(originalValue, startIndex, + length, dataValue[0]) + }; //从PLC中读取到的值进行高低位转换 - int int16 = Mesnac.Basic.DataProcessor.Swap(short.Parse(newValue[0].ToString())); + int int16 = Mesnac.Basic.DataProcessor.Swap( + short.Parse(newValue[0].ToString())); newValue = new object[] { int16 }; - + ////解析为二进制数组 //int[] binaryAlarmData = Mesnac.Basic.DataProcessor.ParseBinaryValue(int16, int16*2); //String str = ""; @@ -374,17 +402,21 @@ namespace Mesnac.Action.ChemicalWeighing } else if (data.Len == 2) { - object objNewValue = Mesnac.Basic.DataProcessor.SetBitValue32(originalValue, startIndex, length, dataValue[0]); + object objNewValue = + Mesnac.Basic.DataProcessor.SetBitValue32(originalValue, startIndex, + length, dataValue[0]); int intNewValue = Convert.ToInt32(objNewValue); if (equip.Main.Brand == Mesnac.Basic.PlcBrand.Siemens) { - newValue = Mesnac.Basic.DataProcessor.ToSiemensPLCDataArray(intNewValue); + newValue = + Mesnac.Basic.DataProcessor.ToSiemensPLCDataArray(intNewValue); } else { newValue = Mesnac.Basic.DataProcessor.ToPLCDataArray(intNewValue); } } + if (equip.Write(block, group.Start + data.Start + shifting, newValue)) { log.Append("[true]"); @@ -415,6 +447,7 @@ namespace Mesnac.Action.ChemicalWeighing } } } + log.Append("]No Find"); return false; } @@ -434,30 +467,37 @@ namespace Mesnac.Action.ChemicalWeighing } } } + public bool PlcWriteByRunName(string runName, int shifting, object[] dataValue) { return PlcWrite(string.Empty, runName, shifting, dataValue); } + public bool PlcWriteByRunName(string runName, object[] dataValue) { return PlcWriteByRunName(runName, 0, dataValue); } + public bool PlcWriteByEquipKey(string equipKey, int shifting, object[] dataValue) { return PlcWrite(equipKey, string.Empty, shifting, dataValue); } + public bool PlcWriteByEquipKey(string equipKey, object[] dataValue) { return PlcWriteByEquipKey(equipKey, 0, dataValue); } + public bool PlcWriteByDataKey(DataKeyValue dataKey, int shifting, object[] dataValue) { return PlcWriteByEquipKey(dataKey.EquipKey, shifting, dataValue); } + public bool PlcWriteByDataKey(DataKeyValue dataKey, object[] dataValue) { return PlcWriteByDataKey(dataKey, 0, dataValue); } + public bool PlcWriteByDataKey(DataKeyValue dataKey, string dataValue) { object[] buff = null; @@ -466,6 +506,7 @@ namespace Mesnac.Action.ChemicalWeighing { buff[i] = 0; } + object[] planIDData = Mesnac.Basic.DataProcessor.ToPLCDataArray(dataValue); if (planIDData.Length <= buff.Length) { @@ -475,18 +516,22 @@ namespace Mesnac.Action.ChemicalWeighing { Array.Copy(planIDData, buff, buff.Length); } + return PlcWriteByDataKey(dataKey, buff); } + //增加是否输出日志 public bool PlcWriteByEquipKey(string equipKey, int shifting, object[] dataValue, bool isOutLog) { return PlcWrite(equipKey, string.Empty, shifting, dataValue, isOutLog); } + //增加是否输出日志 public bool PlcWriteByDataKey(DataKeyValue dataKey, int shifting, object[] dataValue, bool isOutLog) { return PlcWriteByEquipKey(dataKey.EquipKey, shifting, dataValue, isOutLog); } + //增加是否输出日志 public bool PlcWriteByDataKey(DataKeyValue dataKey, object[] dataValue, bool isOutLog) { @@ -506,7 +551,9 @@ namespace Mesnac.Action.ChemicalWeighing { equipName = dataKey.EquipKey.Split(new char[] { '.' })[0]; } - if (Factory.Instance.AllEquips[equipName].Main.Brand.Equals("Siemens", StringComparison.CurrentCultureIgnoreCase)) + + if (Factory.Instance.AllEquips[equipName].Main.Brand + .Equals("Siemens", StringComparison.CurrentCultureIgnoreCase)) { return PlcWriteByDataKey(dataKey, 0, Mesnac.Basic.DataProcessor.ToSiemensPLCDataArray(dataValue)); } @@ -515,6 +562,7 @@ namespace Mesnac.Action.ChemicalWeighing return PlcWriteByDataKey(dataKey, 0, Mesnac.Basic.DataProcessor.ToPLCDataArray(dataValue)); } } + /// /// 向Plc变量写入float浮点数,下传Plc /// @@ -529,15 +577,19 @@ namespace Mesnac.Action.ChemicalWeighing { equipName = dataKey.EquipKey.Split(new char[] { '.' })[0]; } - if (Factory.Instance.AllEquips[equipName].Main.Brand.Equals("Siemens", StringComparison.CurrentCultureIgnoreCase)) + + if (Factory.Instance.AllEquips[equipName].Main.Brand + .Equals("Siemens", StringComparison.CurrentCultureIgnoreCase)) { - return PlcWriteByDataKey(dataKey, 0, Mesnac.Basic.DataProcessor.ToSiemensPLCDataArray(dataValue), isOutLog); + return PlcWriteByDataKey(dataKey, 0, Mesnac.Basic.DataProcessor.ToSiemensPLCDataArray(dataValue), + isOutLog); } else { return PlcWriteByDataKey(dataKey, 0, Mesnac.Basic.DataProcessor.ToPLCDataArray(dataValue), isOutLog); } } + #endregion #region PptPlcData表写入操作 @@ -556,21 +608,27 @@ namespace Mesnac.Action.ChemicalWeighing { dataKey = equipKey; } + if (string.IsNullOrWhiteSpace(equipKey)) { equipKey = dataKey; } - DbHelper dbHelper = Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); + + DbHelper dbHelper = + Mesnac.Basic.DataSourceFactory.Instance.GetDbHelper(Mesnac.Basic.DataSourceFactory.MCDbType.Local); if (dbHelper == null) { throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); } + dbHelper.CommandType = System.Data.CommandType.Text; dbHelper.ClearParameter(); #region 支持SQL2000 - StringBuilder sqlstr = new StringBuilder("INSERT INTO PptPlcData (PlcSchemaField, EquipRunName, PlcDataValue, PlcDataIndex, PlcDownState) "); + StringBuilder sqlstr = + new StringBuilder( + "INSERT INTO PptPlcData (PlcSchemaField, EquipRunName, PlcDataValue, PlcDataIndex, PlcDownState) "); for (int i = 0; i < dataValue.Length; i++) { object obj = dataValue[i]; @@ -578,20 +636,26 @@ namespace Mesnac.Action.ChemicalWeighing { obj = string.Empty; } + string key1 = "@PlcSchemaField" + i.ToString(); string key2 = "@EquipRunName" + i.ToString(); string key3 = "@PlcDataValue" + i.ToString(); string key4 = "@PlcDataIndex" + i.ToString(); - sqlstr.Append(" (select ").Append(key1).Append(" as PlcSchemaField").Append(",").Append(key2).Append(" as EquipRunName").Append(",").Append(key3).Append(" as PlcDataValue").Append(",").Append(key4).Append(" as PlcDataIndex").Append(",0 as PlcDownState)"); + sqlstr.Append(" (select ").Append(key1).Append(" as PlcSchemaField").Append(",").Append(key2) + .Append(" as EquipRunName").Append(",").Append(key3).Append(" as PlcDataValue").Append(",") + .Append(key4).Append(" as PlcDataIndex").Append(",0 as PlcDownState)"); if (i < dataValue.Length - 1) { sqlstr.AppendLine("union all"); } + if (obj is PlcDataInfo) { PlcDataInfo data = obj as PlcDataInfo; - dbHelper.AddParameter(key1, string.IsNullOrWhiteSpace(data.PlcSchemaField) ? dataKey : data.PlcSchemaField); - dbHelper.AddParameter(key2, string.IsNullOrWhiteSpace(data.EquipRunName) ? equipKey : data.EquipRunName); + dbHelper.AddParameter(key1, + string.IsNullOrWhiteSpace(data.PlcSchemaField) ? dataKey : data.PlcSchemaField); + dbHelper.AddParameter(key2, + string.IsNullOrWhiteSpace(data.EquipRunName) ? equipKey : data.EquipRunName); dbHelper.AddParameter(key3, data.PlcDataValue == null ? 0 : data.PlcDataValue); dbHelper.AddParameter(key4, (shifting + i).ToString()); } @@ -610,18 +674,22 @@ namespace Mesnac.Action.ChemicalWeighing dbHelper.ExecuteNonQuery(); return true; } + public bool DataWrite(string dataKey, string equipKey, object[] dataValue) { return DataWrite(dataKey, equipKey, 0, dataValue); } + public bool DataWrite(string equipKey, object[] dataValue) { return DataWrite(equipKey, equipKey, 0, dataValue); } + public bool DataWrite(DataKeyValue dataKey, int shifting, object[] dataValue) { return DataWrite(dataKey.Name, dataKey.EquipRunName, shifting, dataValue); } + public bool DataWrite(DataKeyValue dataKey, object[] dataValue) { return DataWrite(dataKey, 0, dataValue); @@ -718,12 +786,14 @@ namespace Mesnac.Action.ChemicalWeighing /// /// 小料HMI配方查询请求信息 /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_ShakeHand = new DataKeyValue("HMI_Request_Recipe_Name_ShakeHand"); + public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_ShakeHand = + new DataKeyValue("HMI_Request_Recipe_Name_ShakeHand"); /// /// PCHMI配方查询请求信息响应 /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack = new DataKeyValue("HMI_Request_Recipe_Name_FeedBack"); + public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Name_FeedBack = + new DataKeyValue("HMI_Request_Recipe_Name_FeedBack"); /// /// 读取到的机台号 @@ -742,12 +812,14 @@ namespace Mesnac.Action.ChemicalWeighing /// /// 小料HMI配方添加计划请求信息 /// - public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_ShakeHand = new DataKeyValue("HMI_Confirm_Recipe_ShakeHand"); + public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_ShakeHand = + new DataKeyValue("HMI_Confirm_Recipe_ShakeHand"); /// /// PCHMI配方添加计划请求信息响应 /// - public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_FeedBack = new DataKeyValue("HMI_Confirm_Recipe_FeedBack"); + public DataKeyValue ChemicalWeighing_HMI_Confirm_Recipe_FeedBack = + new DataKeyValue("HMI_Confirm_Recipe_FeedBack"); /// /// 读取到的机台号 @@ -771,17 +843,20 @@ namespace Mesnac.Action.ChemicalWeighing /// /// PLCHMI修改计划请求信息 /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_ShakeHand = new DataKeyValue("HMI_Request_Recipe_Change_ShakeHand"); + public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_ShakeHand = + new DataKeyValue("HMI_Request_Recipe_Change_ShakeHand"); /// /// PCHMI修改计划请求信息响应 /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack = new DataKeyValue("HMI_Request_Recipe_Change_FeedBack"); + public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_FeedBack = + new DataKeyValue("HMI_Request_Recipe_Change_FeedBack"); /// /// 命令:0默认 1刷新 2上移 3下移 4修改车数 5删除计划 /// - public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_Command = new DataKeyValue("HMI_Request_Recipe_Change_Command"); + public DataKeyValue ChemicalWeighing_HMI_Request_Recipe_Change_Command = + new DataKeyValue("HMI_Request_Recipe_Change_Command"); /// /// 读取到的机台号 @@ -805,7 +880,8 @@ namespace Mesnac.Action.ChemicalWeighing /// /// PLC存盘请求 /// - public DataKeyValue ChemicalWeighing_PLC_Request_Save_ShakeHand = new DataKeyValue("Plc_Request_Save_ShakeHand"); + public DataKeyValue ChemicalWeighing_PLC_Request_Save_ShakeHand = + new DataKeyValue("Plc_Request_Save_ShakeHand"); /// /// PC存盘反馈信息 @@ -816,12 +892,14 @@ namespace Mesnac.Action.ChemicalWeighing /// /// 报表基本信息 /// - public DataKeyValue ChemicalWeighing_Report_Update_Block_BaseInf = new DataKeyValue("Report_Update_Block_BaseInf"); + public DataKeyValue ChemicalWeighing_Report_Update_Block_BaseInf = + new DataKeyValue("Report_Update_Block_BaseInf"); /// /// 物料报表信息 /// - public DataKeyValue ChemicalWeighing_Report_Update_Block_Material_Report = new DataKeyValue("Report_Update_Block_Material_Report"); + public DataKeyValue ChemicalWeighing_Report_Update_Block_Material_Report = + new DataKeyValue("Report_Update_Block_Material_Report"); #endregion @@ -856,7 +934,8 @@ namespace Mesnac.Action.ChemicalWeighing /// /// 条码开门握手信号 /// - public DataKeyValue ChemicalWeighing_Open_door_Command_ShakeHand = new DataKeyValue("Open_door_Command_ShakeHand"); + public DataKeyValue ChemicalWeighing_Open_door_Command_ShakeHand = + new DataKeyValue("Open_door_Command_ShakeHand"); #endregion @@ -879,6 +958,7 @@ namespace Mesnac.Action.ChemicalWeighing #endregion #region 冠合上位机计划下传 + public List dataKeyValues = new List(); @@ -886,38 +966,50 @@ namespace Mesnac.Action.ChemicalWeighing /// /// 下位机在线 /// - public DataKeyValue GH_PC_ConfirmOnline = new DataKeyValue("Sign_Confirm_ConfirmOnline"); //下位机在线 + public DataKeyValue GH_PC_ConfirmOnline = new DataKeyValue("Sign_Confirm_ConfirmOnline"); //下位机在线 + /// /// 下位机遥控 /// - public DataKeyValue GH_PC_ConfirmRemote = new DataKeyValue("Sign_Confirm_ConfirmRemote"); //下位机遥控 + public DataKeyValue GH_PC_ConfirmRemote = new DataKeyValue("Sign_Confirm_ConfirmRemote"); //下位机遥控 + /// /// 下位机准备好 /// - public DataKeyValue GH_PC_ConfirmReady = new DataKeyValue("Sign_Confirm_ConfirmReady"); //下位机准备好 + public DataKeyValue GH_PC_ConfirmReady = new DataKeyValue("Sign_Confirm_ConfirmReady"); //下位机准备好 + /// /// 下位机配方运行 /// - public DataKeyValue GH_PC_ConfirmRun = new DataKeyValue("Sign_Confirm_ConfirmRun"); //下位机配方运行 + public DataKeyValue GH_PC_ConfirmRun = new DataKeyValue("Sign_Confirm_ConfirmRun"); //下位机配方运行 + /// /// 调试模式允许 /// - public DataKeyValue GH_PC_ConfirmForc = new DataKeyValue("Sign_Confirm_ConfirmForc"); // 调试模式允许 + public DataKeyValue GH_PC_ConfirmForc = new DataKeyValue("Sign_Confirm_ConfirmForc"); // 调试模式允许 //配方编号、名称 public DataKeyValue ChemicalWeighing_PC_RecipeCode = new DataKeyValue("Recipe_Code"); + public DataKeyValue ChemicalWeighing_PC_RecipeName = new DataKeyValue("recipe_name"); + //设定车数、格数、层数 public DataKeyValue ChemicalWeighing_PC_SetCarNumber = new DataKeyValue("set_carnumber"); public DataKeyValue ChemicalWeighing_PC_SetGeNumber = new DataKeyValue("set_genumber"); + public DataKeyValue ChemicalWeighing_PC_SetLineNumber = new DataKeyValue("set_linenumber"); + //混料速度 public DataKeyValue ChemicalWeighing_PC_Hlsd1 = new DataKeyValue("hlsd1"); public DataKeyValue ChemicalWeighing_PC_Hlsd2 = new DataKeyValue("hlsd2"); + public DataKeyValue ChemicalWeighing_PC_Hlsd3 = new DataKeyValue("hlsd3"); + //进料时间、混料时间 public DataKeyValue ChemicalWeighing_PC_Jlsj = new DataKeyValue("jl_sj"); + public DataKeyValue ChemicalWeighing_PC_Hlsj = new DataKeyValue("hl_sj"); + //VCC、GFA、树脂进料、进料误差 public DataKeyValue ChemicalWeighing_PC_VCCJl = new DataKeyValue("vcc_jl"); public DataKeyValue ChemicalWeighing_PC_VCCJlWc = new DataKeyValue("vcc_jlwc"); @@ -925,7 +1017,7 @@ namespace Mesnac.Action.ChemicalWeighing public DataKeyValue ChemicalWeighing_PC_GFAJlWc = new DataKeyValue("gfa_jlwc"); public DataKeyValue ChemicalWeighing_PC_SZJl = new DataKeyValue("sz_jl"); public DataKeyValue ChemicalWeighing_PC_SZJlWc = new DataKeyValue("sz_jlwc"); - public DataKeyValue ChemicalWeighing_PC_VCC_2th= new DataKeyValue("vcc2th_jl"); + public DataKeyValue ChemicalWeighing_PC_VCC_2th = new DataKeyValue("vcc2th_jl"); public DataKeyValue ChemicalWeighing_PC_GFA_2th = new DataKeyValue("GFA2th_jl"); //配方下传完成信号 @@ -944,14 +1036,17 @@ namespace Mesnac.Action.ChemicalWeighing #region 冠合存盘数据 + /// /// 存盘数据准备好 /// public DataKeyValue GH_PC_ConfirmSDReady = new DataKeyValue("Sign_Confirm_ConfirmSDReady"); + /// /// 配方编号 /// public DataKeyValue GH_PC_SaveCode = new DataKeyValue("SaveCode"); + public DataKeyValue GH_PC_SaveFinishedNum = new DataKeyValue("SaveFinishedNum"); public DataKeyValue GH_PC_SaveRow = new DataKeyValue("SaveRow"); public DataKeyValue GH_PC_SaveCol = new DataKeyValue("SaveCol"); @@ -971,9 +1066,9 @@ namespace Mesnac.Action.ChemicalWeighing public DataKeyValue GH_PC_SaveVCC2thAct = new DataKeyValue("SaveVCC2thAct"); public DataKeyValue GH_PC_SaveGFA2thSet = new DataKeyValue("SaveGFA2thSet"); public DataKeyValue GH_PC_SaveGFA2thAct = new DataKeyValue("SaveGFA2thAct"); - - - + + + public DataKeyValue WatchDog = new DataKeyValue("WatchDog"); @@ -1002,6 +1097,7 @@ namespace Mesnac.Action.ChemicalWeighing /// 压送秤A气源压力 dbw12 /// public DataKeyValue mainPress_V1_LowLimit { get; set; } + public DataKeyValue mainPress_V1_HighLimit { get; set; } public DataKeyValue mainPress_V1_Alarm { get; set; } @@ -1010,184 +1106,484 @@ namespace Mesnac.Action.ChemicalWeighing public DataKeyValue topPres_V1_LowLimit { get; set; } public DataKeyValue topPres_V1_HighLimit { get; set; } public DataKeyValue topPres_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; } - + //压送秤B气源压力 dbw54 public DataKeyValue mainPress_V2_LowLimit { get; set; } public DataKeyValue mainPress_V2_HighLimit { get; set; } public DataKeyValue mainPress_V2_Alarm { get; set; } - - + + //压送秤B顶部压力 dbw68 public DataKeyValue topPres_V2_LowLimit { get; set; } public DataKeyValue topPres_V2_HighLimit { get; set; } public DataKeyValue topPres_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; } - + //压送秤C气源压力 dbw96 public DataKeyValue mainPress_V3_LowLimit { get; set; } public DataKeyValue mainPress_V3_HighLimit { get; set; } public DataKeyValue mainPress_V3_Alarm { get; set; } - - + + //压送秤C顶部压力 dbw110 public DataKeyValue topPres_V3_LowLimit { get; set; } public DataKeyValue topPres_V3_HighLimit { get; set; } public DataKeyValue topPres_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; } - - + + //压送秤C气源压力 dbw138 public DataKeyValue mainPress_V4_LowLimit { get; set; } public DataKeyValue mainPress_V4_HighLimit { get; set; } public DataKeyValue mainPress_V4_Alarm { get; set; } - - + + //压送秤C顶部压力 dbw154 public DataKeyValue topPres_V4_LowLimit { get; set; } public DataKeyValue topPres_V4_HighLimit { get; set; } public DataKeyValue topPres_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; } - - + + //压送秤C气源压力 dbw180 public DataKeyValue mainPress_V5_LowLimit { get; set; } public DataKeyValue mainPress_V5_HighLimit { get; set; } public DataKeyValue mainPress_V5_Alarm { get; set; } - - + + //压送秤C顶部压力 dbw194 public DataKeyValue topPres_V5_LowLimit { get; set; } public DataKeyValue topPres_V5_HighLimit { get; set; } public DataKeyValue topPres_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; } - - + + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - + //日罐压力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; } - - - + + + //管道压力传感器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_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; } - + //管道压力传感器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 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 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 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 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 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 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 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 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 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 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 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 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 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 conveyV1_PV { get; set; } + public DataKeyValue conveyV1_SV { get; set; } + + + public DataKeyValue purgeV1_PV { get; set; } + public DataKeyValue purgeV1_SV { get; set; } + + + + public DataKeyValue conveyV2_PV { get; set; } + public DataKeyValue conveyV2_SV { get; set; } + + public DataKeyValue purgeV2_PV { get; set; } + public DataKeyValue purgeV2_SV { get; set; } + public DataKeyValue conveyV3_PV { get; set; } + public DataKeyValue conveyV3_SV { get; set; } + public DataKeyValue purgeV3_PV { get; set; } + public DataKeyValue purgeV3_SV { get; set; } + public DataKeyValue conveyV4_PV { get; set; } + public DataKeyValue conveyV4_SV { get; set; } + public DataKeyValue purgeV4_PV { get; set; } + public DataKeyValue purgeV4_SV { get; set; } + public DataKeyValue conveyV5_SV { get; set; } + public DataKeyValue purgeV5_PV { get; set; } + public DataKeyValue purgeV5_SV { get; set; } + + + + 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 Daybin0_HighSpeed { get; set; } + public DataKeyValue Daybin0_LowSpeed { get; set; } + public DataKeyValue Daybin0_WeightSlow { get; set; } + public DataKeyValue Daybin0_Precut { get; set; } + public DataKeyValue Daybin0_JogTime { get; set; } + public DataKeyValue Daybin1_HighSpeed { get; set; } + public DataKeyValue Daybin1_LowSpeed { get; set; } + public DataKeyValue Daybin1_WeightSlow { get; set; } + public DataKeyValue Daybin1_Precut { get; set; } + public DataKeyValue Daybin1_JogTime { get; set; } + public DataKeyValue Daybin2_HighSpeed { get; set; } + public DataKeyValue Daybin2_LowSpeed { get; set; } + public DataKeyValue Daybin2_WeightSlow { get; set; } + public DataKeyValue Daybin2_Precut { get; set; } + public DataKeyValue Daybin2_JogTime { get; set; } + public DataKeyValue Daybin3_HighSpeed { get; set; } + public DataKeyValue Daybin3_LowSpeed { get; set; } + public DataKeyValue Daybin3_WeightSlow { get; set; } + public DataKeyValue Daybin3_Precut { get; set; } + public DataKeyValue Daybin3_JogTime { get; set; } + public DataKeyValue Daybin4_HighSpeed { get; set; } + public DataKeyValue Daybin4_LowSpeed { get; set; } + public DataKeyValue Daybin4_WeightSlow { get; set; } + public DataKeyValue Daybin4_Precut { get; set; } + public DataKeyValue Daybin4_JogTime { get; set; } + public DataKeyValue Daybin5_HighSpeed { get; set; } + public DataKeyValue Daybin5_LowSpeed { get; set; } + public DataKeyValue Daybin5_WeightSlow { get; set; } + public DataKeyValue Daybin5_Precut { get; set; } + public DataKeyValue Daybin5_JogTime { get; set; } + public DataKeyValue Daybin6_HighSpeed { get; set; } + public DataKeyValue Daybin6_LowSpeed { get; set; } + public DataKeyValue Daybin6_WeightSlow { get; set; } + public DataKeyValue Daybin6_Precut { get; set; } + public DataKeyValue Daybin6_JogTime { get; set; } + public DataKeyValue Daybin7_HighSpeed { get; set; } + public DataKeyValue Daybin7_LowSpeed { get; set; } + public DataKeyValue Daybin7_WeightSlow { get; set; } + public DataKeyValue Daybin7_Precut { get; set; } + public DataKeyValue Daybin7_JogTime { get; set; } + public DataKeyValue Daybin8_HighSpeed { get; set; } + public DataKeyValue Daybin8_LowSpeed { get; set; } + public DataKeyValue Daybin8_WeightSlow { get; set; } + public DataKeyValue Daybin8_Precut { get; set; } + public DataKeyValue Daybin8_JogTime { get; set; } + public DataKeyValue Daybin9_HighSpeed { get; set; } + public DataKeyValue Daybin9_LowSpeed { get; set; } + public DataKeyValue Daybin9_WeightSlow { get; set; } + public DataKeyValue Daybin9_Precut { get; set; } + public DataKeyValue Daybin9_JogTime { get; set; } + public DataKeyValue Daybin10_HighSpeed { get; set; } + public DataKeyValue Daybin10_LowSpeed { get; set; } + public DataKeyValue Daybin10_WeightSlow { get; set; } + public DataKeyValue Daybin10_Precut { get; set; } + public DataKeyValue Daybin10_JogTime { get; set; } + public DataKeyValue Daybin11_HighSpeed { get; set; } + public DataKeyValue Daybin11_LowSpeed { get; set; } + public DataKeyValue Daybin11_WeightSlow { get; set; } + public DataKeyValue Daybin11_Precut { get; set; } + public DataKeyValue Daybin11_JogTime { get; set; } + public DataKeyValue Hoper0_HighSpeed { get; set; } + public DataKeyValue Hoper0_LowSpeed { get; set; } + public DataKeyValue Hoper0_WeightSlow { get; set; } + public DataKeyValue Hoper0_Precut { get; set; } + public DataKeyValue Hoper0_JogTime { get; set; } + public DataKeyValue Hoper1_HighSpeed { get; set; } + public DataKeyValue Hoper1_LowSpeed { get; set; } + public DataKeyValue Hoper1_WeightSlow { get; set; } + public DataKeyValue Hoper1_Precut { get; set; } + public DataKeyValue Hoper1_JogTime { get; set; } + public DataKeyValue Hoper2_HighSpeed { get; set; } + public DataKeyValue Hoper2_LowSpeed { get; set; } + public DataKeyValue Hoper2_WeightSlow { get; set; } + public DataKeyValue Hoper2_Precut { get; set; } + public DataKeyValue Hoper2_JogTime { get; set; } + public DataKeyValue Hoper3_HighSpeed { get; set; } + public DataKeyValue Hoper3_LowSpeed { get; set; } + public DataKeyValue Hoper3_WeightSlow { get; set; } + public DataKeyValue Hoper3_Precut { get; set; } + public DataKeyValue Hoper3_JogTime { get; set; } + public DataKeyValue Water0_HighSpeed { get; set; } + public DataKeyValue Water0_LowSpeed { get; set; } + public DataKeyValue Water0_WeightSlow { get; set; } + public DataKeyValue Water0_Precut { get; set; } + public DataKeyValue Water0_JogTime { get; set; } + public DataKeyValue Water1_HighSpeed { get; set; } + public DataKeyValue Water1_LowSpeed { get; set; } + public DataKeyValue Water1_WeightSlow { get; set; } + public DataKeyValue Water1_Precut { get; set; } + public DataKeyValue Water1_JogTime { get; set; } + public DataKeyValue Water2_HighSpeed { get; set; } + public DataKeyValue Water2_LowSpeed { get; set; } + public DataKeyValue Water2_WeightSlow { get; set; } + public DataKeyValue Water2_Precut { get; set; } + public DataKeyValue Water2_JogTime { get; set; } + public DataKeyValue Water3_HighSpeed { get; set; } + public DataKeyValue Water3_LowSpeed { get; set; } + public DataKeyValue Water3_WeightSlow { get; set; } + public DataKeyValue Water3_Precut { get; set; } + public DataKeyValue Water3_JogTime { get; set; } + + } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs new file mode 100644 index 0000000..6b0715d --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageHelp.cs @@ -0,0 +1,1427 @@ +using System.Collections; +using System.Collections.Generic; + +namespace Mesnac.Action.ChemicalWeighing.LjMetage +{ + public class MetagePlc + { + private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + + private static void Down694(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo0_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo0_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up694() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down712(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo1_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo1_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up712() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down730(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo2_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo2_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up730() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down748(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo3_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo3_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up748() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down766(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo4_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo4_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up766() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down784(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo5_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo5_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up784() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down802(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo6_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo6_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up802() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down820(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo7_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo7_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up820() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down838(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo8_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo8_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up838() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down856(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo9_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo9_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up856() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down874(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo10_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo10_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up874() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down892(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo11_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo11_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up892() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down910(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo12_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo12_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up910() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down928(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo13_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo13_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up928() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + private static void Down946(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_HighSpeed, + view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_LowSpeed, + view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.weightPraSilo14_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.weightPraSilo14_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up946() + { + var basePlcHelper = GetPlcHelper; + 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() + }; + return view; + + } + + + private static void Down964(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin0_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin0_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up964() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 16, + HighSpeed = basePlcHelper.Daybin0_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin0_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin0_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin0_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin0_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down982(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin1_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin1_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up982() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 17, + HighSpeed = basePlcHelper.Daybin1_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin1_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin1_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin1_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin1_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1000(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin2_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin2_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1000() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 18, + HighSpeed = basePlcHelper.Daybin2_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin2_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin2_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin2_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin2_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1018(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin3_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin3_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1018() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 19, + HighSpeed = basePlcHelper.Daybin3_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin3_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin3_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin3_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin3_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1036(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin4_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin4_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1036() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 20, + HighSpeed = basePlcHelper.Daybin4_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin4_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin4_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin4_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin4_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1054(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin5_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin5_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1054() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 21, + HighSpeed = basePlcHelper.Daybin5_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin5_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin5_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin5_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin5_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1072(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin6_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin6_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1072() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 22, + HighSpeed = basePlcHelper.Daybin6_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin6_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin6_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin6_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin6_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1090(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin7_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin7_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1090() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 23, + HighSpeed = basePlcHelper.Daybin7_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin7_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin7_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin7_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin7_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1108(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin8_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin8_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1108() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 24, + HighSpeed = basePlcHelper.Daybin8_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin8_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin8_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin8_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin8_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1126(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin9_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin9_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1126() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 25, + HighSpeed = basePlcHelper.Daybin9_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin9_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin9_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin9_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin9_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1144(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin10_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin10_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1144() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 26, + HighSpeed = basePlcHelper.Daybin10_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin10_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin10_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin10_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin10_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1162(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_WeightSlow, + view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Daybin11_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Daybin11_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1162() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 27, + HighSpeed = basePlcHelper.Daybin11_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Daybin11_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Daybin11_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Daybin11_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Daybin11_JogTime.NowValue.ToInt() + }; + return view; + + } + + + private static void Down1180(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper0_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper0_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1180() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 28, + HighSpeed = basePlcHelper.Hoper0_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Hoper0_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Hoper0_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Hoper0_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Hoper0_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1198(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper1_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper1_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1198() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 29, + HighSpeed = basePlcHelper.Hoper1_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Hoper1_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Hoper1_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Hoper1_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Hoper1_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1216(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper2_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper2_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1216() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 30, + HighSpeed = basePlcHelper.Hoper2_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Hoper2_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Hoper2_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Hoper2_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Hoper2_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1234(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hoper3_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Hoper3_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1234() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 31, + HighSpeed = basePlcHelper.Hoper3_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Hoper3_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Hoper3_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Hoper3_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Hoper3_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1252(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water0_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water0_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1252() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 32, + HighSpeed = basePlcHelper.Water0_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Water0_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Water0_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Water0_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Water0_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1270(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water1_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water1_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1270() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 33, + HighSpeed = basePlcHelper.Water1_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Water1_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Water1_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Water1_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Water1_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1288(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water2_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water2_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1288() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 34, + HighSpeed = basePlcHelper.Water2_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Water2_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Water2_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Water2_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Water2_JogTime.NowValue.ToInt() + }; + return view; + + } + + private static void Down1306(MetageView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_HighSpeed, view.HighSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_LowSpeed, view.LowSpeed); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_WeightSlow, view.WeightSlow); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Water3_Precut, view.Precut); + basePlcHelper.PlcWriteByDataKey(basePlcHelper.Water3_JogTime, + new object[] { view.JogTime }); + } + } + + private static MetageView Up1306() + { + var basePlcHelper = GetPlcHelper; + MetageView view = new MetageView() + { + Id = 35, + HighSpeed = basePlcHelper.Water3_HighSpeed.NowValue.ToFloat(), + LowSpeed = basePlcHelper.Water3_LowSpeed.NowValue.ToFloat(), + WeightSlow = basePlcHelper.Water3_WeightSlow.NowValue.ToFloat(), + Precut = basePlcHelper.Water3_Precut.NowValue.ToFloat(), + JogTime = basePlcHelper.Water3_JogTime.NowValue.ToInt() + }; + return view; + + } + + + + public static MetageView DownToPlc(int id) + { + MetageView view = new MetageView(); + switch (id) + { + + + case 1: + view= Up694(); + break; + case 2: + view= Up712(); + break; + case 3: + view= Up730(); + break; + case 4: + view= Up748(); + break; + case 5: + view= Up766(); + break; + case 6: + view= Up784(); + break; + case 7: + view= Up802(); + break; + case 8: + view= Up820(); + break; + case 9: + view= Up838(); + break; + case 10: + view= Up856(); + break; + case 11: + view= Up874(); + break; + case 12: + view= Up892(); + break; + case 13: + view= Up910(); + break; + case 14: + view= Up928(); + break; + case 15: + view= Up946(); + break; + case 16: + view= Up964(); + break; + case 17: + view= Up982(); + break; + case 18: + view= Up1000(); + break; + case 19: + view= Up1018(); + break; + case 20: + view= Up1036(); + break; + case 21: + view= Up1054(); + break; + case 22: + view= Up1072(); + break; + case 23: + view= Up1090(); + break; + case 24: + view= Up1108(); + break; + case 25: + view= Up1126(); + break; + case 26: + view= Up1144(); + break; + case 27: + view= Up1162(); + break; + case 28: + view= Up1180(); + break; + case 29: + view= Up1198(); + break; + case 30: + view= Up1216(); + break; + case 31: + view= Up1234(); + break; + case 32: + view= Up1252(); + break; + case 33: + view= Up1270(); + break; + case 34: + view= Up1288(); + break; + case 35: + view= Up1306(); + break; + + } + + return view; + } + + public static IList DownToPlc() + { + IList ls = new List(); + ls.Add(Up694()); + ls.Add(Up712()); + ls.Add(Up730()); + ls.Add(Up748()); + ls.Add(Up766()); + ls.Add(Up784()); + ls.Add(Up802()); + ls.Add(Up820()); + ls.Add(Up838()); + ls.Add(Up856()); + ls.Add(Up874()); + ls.Add(Up892()); + ls.Add(Up910()); + ls.Add(Up928()); + ls.Add(Up946()); + ls.Add(Up964()); + ls.Add(Up982()); + ls.Add(Up1000()); + ls.Add(Up1018()); + ls.Add(Up1036()); + ls.Add(Up1054()); + ls.Add(Up1072()); + ls.Add(Up1090()); + ls.Add(Up1108()); + ls.Add(Up1126()); + ls.Add(Up1144()); + ls.Add(Up1162()); + ls.Add(Up1180()); + ls.Add(Up1198()); + ls.Add(Up1216()); + ls.Add(Up1234()); + ls.Add(Up1252()); + ls.Add(Up1270()); + ls.Add(Up1288()); + ls.Add(Up1306()); + return ls; + } + + + public static void DownToPlc(IList list) + { + foreach (var v in list) + { + switch (v.Id) + { + + + case 1: + Down694(v); + break; + + case 2: + Down712(v); + break; + + case 3: + Down730(v); + break; + + case 4: + Down748(v); + break; + + case 5: + Down766(v); + break; + + case 6: + Down784(v); + break; + + case 7: + Down802(v); + break; + + case 8: + Down820(v); + break; + + case 9: + Down838(v); + break; + + case 10: + Down856(v); + break; + + case 11: + Down874(v); + break; + + case 12: + Down892(v); + break; + + case 13: + Down910(v); + break; + + case 14: + Down928(v); + break; + + case 15: + Down946(v); + break; + + case 16: + Down964(v); + break; + + case 17: + Down982(v); + break; + + case 18: + Down1000(v); + break; + + case 19: + Down1018(v); + break; + + case 20: + Down1036(v); + break; + + case 21: + Down1054(v); + break; + + case 22: + Down1072(v); + break; + + case 23: + Down1090(v); + break; + + case 24: + Down1108(v); + break; + + case 25: + Down1126(v); + break; + + case 26: + Down1144(v); + break; + + case 27: + Down1162(v); + break; + + case 28: + Down1180(v); + break; + + case 29: + Down1198(v); + break; + + case 30: + Down1216(v); + break; + + case 31: + Down1234(v); + break; + + case 32: + Down1252(v); + break; + + case 33: + Down1270(v); + break; + + case 34: + Down1288(v); + break; + + case 35: + Down1306(v); + break; + + + } + } + } + + } +} + diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageView.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageView.cs new file mode 100644 index 0000000..9a14890 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjMetage/MetageView.cs @@ -0,0 +1,14 @@ +namespace Mesnac.Action.ChemicalWeighing.LjMetage +{ + public class MetageView + { + public int Id { get; set; } + public string Name { get; set; } + + public float HighSpeed { get; set; } + public float LowSpeed { get; set; } + public float WeightSlow { get; set; } + public float Precut { get; set; } + public int JogTime { get; set; } + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs index 32cbc46..26e6625 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjPressure/PressurePLC.cs @@ -28,6 +28,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView(); + view.Id = 1; view.LowLimit = basePlcHelper.mainPress_V1_LowLimit.NowValue.ToFloat(); view.HighLimit = basePlcHelper.mainPress_V1_HighLimit.NowValue.ToFloat(); view.Alarm = basePlcHelper.mainPress_V1_LowLimit.NowValue.ToInt(); @@ -53,6 +54,7 @@ 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(); @@ -76,6 +78,7 @@ 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(); @@ -99,6 +102,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView(); + view.Id = 4; view.LowLimit = basePlcHelper.mainPress_V2_LowLimit.NowValue.ToFloat(); view.HighLimit = basePlcHelper.mainPress_V2_HighLimit.NowValue.ToFloat(); view.Alarm = basePlcHelper.mainPress_V2_Alarm.NowValue.ToInt(); @@ -122,6 +126,7 @@ 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(); @@ -145,6 +150,7 @@ 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(); @@ -167,6 +173,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure { var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView(); + view.Id = 7; view.LowLimit = basePlcHelper.mainPress_V3_LowLimit.NowValue.ToFloat(); view.HighLimit = basePlcHelper.mainPress_V3_HighLimit.NowValue.ToFloat(); view.Alarm = basePlcHelper.mainPress_V3_Alarm.NowValue.ToInt(); @@ -190,6 +197,7 @@ 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(); @@ -213,6 +221,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -237,6 +246,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView { + Id = 10, LowLimit = basePlcHelper.mainPress_V4_LowLimit.NowValue.ToFloat(), HighLimit = basePlcHelper.mainPress_V4_HighLimit.NowValue.ToFloat(), Alarm = basePlcHelper.mainPress_V4_Alarm.NowValue.ToInt() @@ -262,6 +272,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -286,6 +297,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -311,6 +323,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView { + Id = 13, LowLimit = basePlcHelper.mainPress_V5_LowLimit.NowValue.ToFloat(), HighLimit = basePlcHelper.mainPress_V5_HighLimit.NowValue.ToFloat(), Alarm = basePlcHelper.mainPress_V5_Alarm.NowValue.ToInt() @@ -336,6 +349,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -360,6 +374,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -386,6 +401,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -410,6 +426,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -434,6 +451,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -458,6 +476,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -482,6 +501,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -505,6 +525,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -529,6 +550,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -553,6 +575,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -577,6 +600,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -601,6 +625,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -625,6 +650,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -649,6 +675,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -674,6 +701,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; PressureSettingView view = new PressureSettingView { + Id = 28, LowLimit = basePlcHelper.PR2PCP01_B12_LowLimit.NowValue.ToFloat(), HighLimit = basePlcHelper.PR2PCP01_B12_HighLimit.NowValue.ToFloat(), Alarm = basePlcHelper.PR2PCP01_B12_Alarm.NowValue.ToInt() @@ -699,6 +727,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() @@ -724,6 +753,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPressure var basePlcHelper = GetPlcHelper; 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() diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs new file mode 100644 index 0000000..399d1f2 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalPlc.cs @@ -0,0 +1,337 @@ +using System.Collections.Generic; + +namespace Mesnac.Action.ChemicalWeighing.LjProportional +{ + public class ProportionalPlc + { + private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + + private static void Down614(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV1_SV, view.SV); + } + } + + + private static ProportionalSettingView Up614() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 1, + SV = basePlcHelper.conveyV1_SV.NowValue.ToFloat() + }; + return vi; + } + + private static void Down622(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV1_SV, view.SV); + } + } + + + private static ProportionalSettingView Up622() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 2, + SV = basePlcHelper.purgeV1_SV.NowValue.ToFloat() + }; + return vi; + } + + + + private static void Down630(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV2_SV, view.SV); + } + } + + + private static ProportionalSettingView Up630() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 3, + SV = basePlcHelper.conveyV2_SV.NowValue.ToFloat() + }; + return vi; + } + + private static void Down638(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV2_SV, view.SV); + } + } + + + private static ProportionalSettingView Up638() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 4, + SV = basePlcHelper.purgeV2_SV.NowValue.ToFloat() + }; + return vi; + } + + + + + + + private static void Down646(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV3_SV, view.SV); + } + } + + + private static ProportionalSettingView Up646() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 5, + SV = basePlcHelper.conveyV3_SV.NowValue.ToFloat() + }; + return vi; + } + + + private static void Down654(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV3_SV, view.SV); + } + } + + + private static ProportionalSettingView Up654() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 6, + SV = basePlcHelper.purgeV3_SV.NowValue.ToFloat() + }; + return vi; + } + + + + + + private static void Down662(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV4_SV, view.SV); + } + } + + + private static ProportionalSettingView Up662() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 7, + SV = basePlcHelper.conveyV4_SV.NowValue.ToFloat() + }; + return vi; + } + + + private static void Down670(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV4_SV, view.SV); + } + } + + + private static ProportionalSettingView Up670() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 8, + SV = basePlcHelper.purgeV4_SV.NowValue.ToFloat() + }; + return vi; + } + + + + + + private static void Down678(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.conveyV5_SV, view.SV); + } + } + + + private static ProportionalSettingView Up678() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 9, + SV = basePlcHelper.conveyV5_SV.NowValue.ToFloat() + }; + return vi; + } + + + private static void Down686(ProportionalSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.purgeV5_SV, view.SV); + } + } + + + private static ProportionalSettingView Up686() + { + var basePlcHelper = GetPlcHelper; + ProportionalSettingView vi = new ProportionalSettingView() + { + Id = 10, + SV = basePlcHelper.purgeV5_SV.NowValue.ToFloat() + }; + return vi; + } + + + + public static void DownToPlc(IEnumerable views) + { + foreach (var v in views) + { + switch (v.Id) + { + case 1: + Down614(v); + break; + case 2: + Down622(v); + break; + case 3: + Down630(v); + break; + case 4: + Down638(v); + break; + case 5: + Down646(v); + break; + case 6: + Down654(v); + break; + case 7: + Down662(v); + break; + case 8: + Down670(v); + break; + case 9: + Down678(v); + break; + case 10: + Down686(v); + break; + } + } + } + + public static ProportionalSettingView UpFromPlc(int id) + { + switch (id) + { + case 1: + return Up614(); + + case 2: + return Up622(); + + case 3: + return Up630(); + + case 4: + return Up638(); + + case 5: + return Up646(); + + case 6: + return Up654(); + + case 7: + return Up662(); + + case 8: + return Up670(); + + case 9: + return Up678(); + + case 10: + return Up686(); + + } + + return null; + } + + + public static IEnumerable UpFromPlc() + { + ICollection co = new List(); + co.Add(Up614()); + co.Add(Up622()); + co.Add(Up630()); + co.Add(Up638()); + co.Add(Up646()); + co.Add(Up654()); + co.Add(Up662()); + co.Add(Up670()); + co.Add(Up678()); + co.Add(Up686()); + return co; + } + + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalSettingView.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalSettingView.cs new file mode 100644 index 0000000..1ac60a2 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalSettingView.cs @@ -0,0 +1,12 @@ +namespace Mesnac.Action.ChemicalWeighing.LjProportional +{ + public class ProportionalSettingView + { + public int Id { get; set; } + public string Name { get; set; } + + public float PV { get; set; } + public float SV { get; set; } + } + +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/InitDbAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/InitDbAction.cs new file mode 100644 index 0000000..662b3e4 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/InitDbAction.cs @@ -0,0 +1,66 @@ +using System; +using System.Data; +using System.Linq; +using Mesnac.Action.Base; +using Mesnac.Action.ChemicalWeighing.LjMaterial; + +namespace Mesnac.Action.ChemicalWeighing.LjWeight +{ + public class InitDbAction : ChemicalWeighingAction, IAction + { + private DbMCControl _materialGridControl = null; //物料列表控件 + private RuntimeParameter _runtime; + + public void Run(RuntimeParameter runtime) + { + base.RunIni(runtime); //必须调用 + this._runtime = runtime; + + + // UpAction.OnHandler -= Process_Event; + // UpAction.OnHandler += Process_Event; + // + // UpdateAction.OnUpdate -= Process_Event; + // UpdateAction.OnUpdate += Process_Event; + + DbMCControl materialGridControl = + this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "WeightSetting") + .FirstOrDefault(); //获取物料数据控件 + this._materialGridControl = materialGridControl; + FileControl(); + } + + private void FileControl() + { + DataTable table = + DBHelp.GetTable(@"select Id,Name,ActWeight,HighLevel,HighWeight,LowLevel,LowWeight from WeightSetting"); + + if (this._materialGridControl != null && this._materialGridControl.BaseControl != null) + { + this._materialGridControl.BaseControl.BindDataSource = null; + this._materialGridControl.BaseControl.BindDataSource = table; + //DBLog("成功!"); + } + else + { + ICSharpCode.Core.LoggingService.Warn("刷新物料信息失败:物料数据控件为Null..."); + } + } + + #region 事件处理方法 + + private void Process_Event(object sender, EventArgs e) + { + if (sender is RuntimeParameter) + { + this.Run(sender as RuntimeParameter); + } + else + { + this.Run(this._runtime); + } + } + + #endregion + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs new file mode 100644 index 0000000..c4eb17b --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingPlc.cs @@ -0,0 +1,429 @@ +using System.Collections.Generic; +using DevExpress.PivotGrid.CriteriaVisitors; + +namespace Mesnac.Action.ChemicalWeighing.LjWeight +{ + public class WeightSettingPlc + { + private static BasePlcHelper GetPlcHelper => BasePlcHelper.Instance; + + + private static void Down432(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper1_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper1_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up432() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 1, + HighWeight = basePlcHelper.Hopper1_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Hopper1_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down446(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper2_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper2_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up446() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 2, + HighWeight = basePlcHelper.Hopper2_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Hopper2_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down460(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper3_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper3_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up460() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 3, + HighWeight = basePlcHelper.Hopper3_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Hopper3_LowWeight.NowValue.ToFloat() + }; + return view; + } + + private static void Down474(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper4_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Hopper4_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up474() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 4, + HighWeight = basePlcHelper.Hopper4_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Hopper4_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down488(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel1_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel1_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up488() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 5, + HighWeight = basePlcHelper.Vessel1_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Vessel1_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + + private static void Down502(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel2_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel2_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up502() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 6, + HighWeight = basePlcHelper.Vessel2_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Vessel2_LowWeight.NowValue.ToFloat() + }; + return view; + } + + private static void Down516(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel3_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel3_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up516() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 7, + HighWeight = basePlcHelper.Vessel3_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Vessel3_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down530(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel4_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel4_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up530() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 8, + HighWeight = basePlcHelper.Vessel4_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Vessel4_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down544(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel5_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.Vessel5_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up544() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 9, + HighWeight = basePlcHelper.Vessel5_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.Vessel5_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + + private static void Down558(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale1_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale1_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up558() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 10, + HighWeight = basePlcHelper.WScale1_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.WScale1_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + private static void Down572(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale2_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale2_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up572() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 11, + HighWeight = basePlcHelper.WScale2_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.WScale2_LowWeight.NowValue.ToFloat() + }; + return view; + } + + private static void Down586(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale3_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale3_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up586() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 12, + HighWeight = basePlcHelper.WScale3_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.WScale3_LowWeight.NowValue.ToFloat() + }; + return view; + } + + private static void Down600(WeightSettingView view) + { + if (null != view) + { + var basePlcHelper = GetPlcHelper; + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale4_HighWeight, view.HighWeight); + basePlcHelper.PlcWriteFloatByDataKey(basePlcHelper.WScale4_LowWeight, view.LowWeight); + } + } + + private static WeightSettingView Up600() + { + var basePlcHelper = GetPlcHelper; + WeightSettingView view = new WeightSettingView() + { + Id = 13, + HighWeight = basePlcHelper.WScale4_HighWeight.NowValue.ToFloat(), + LowWeight = basePlcHelper.WScale4_LowWeight.NowValue.ToFloat() + }; + return view; + } + + + public static void DownToPlc(IEnumerable views) + { + foreach (var v in views) + { + switch (v.Id) + { + case 1: + Down432(v); + break; + case 2: + Down446(v); + break; + case 3: + Down460(v); + break; + case 4: + Down474(v); + break; + case 5: + Down488(v); + break; + case 6: + Down502(v); + break; + case 7: + Down516(v); + break; + case 8: + Down530(v); + break; + case 9: + Down544(v); + break; + case 10: + Down558(v); + break; + case 11: + Down572(v); + break; + case 12: + Down586(v); + break; + case 13: + Down600(v); + break; + } + } + } + + public static WeightSettingView UpFromPlc(int id) + { + switch (id) + { + case 1: + return Up432(); + + case 2: + return Up446(); + + case 3: + return Up460(); + + case 4: + return Up474(); + + case 5: + return Up488(); + + case 6: + return Up502(); + + case 7: + return Up516(); + + case 8: + return Up530(); + + case 9: + return Up544(); + + case 10: + return Up558(); + + case 11: + return Up572(); + + case 12: + return Up586(); + + case 13: + return Up600(); + + } + + return null; + } + + + + public static IEnumerable UpFromPlc() + { + ICollection ls = new List(); + ls.Add(Up432()); + ls.Add(Up446()); + ls.Add(Up460()); + ls.Add(Up474()); + ls.Add(Up488()); + ls.Add(Up502()); + ls.Add(Up516()); + ls.Add(Up530()); + ls.Add(Up544()); + ls.Add(Up558()); + ls.Add(Up572()); + ls.Add(Up586()); + ls.Add(Up600()); + return ls; + } + + + + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingView.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingView.cs new file mode 100644 index 0000000..45e40b5 --- /dev/null +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjWeight/WeightSettingView.cs @@ -0,0 +1,17 @@ +namespace Mesnac.Action.ChemicalWeighing.LjWeight +{ + + //select Id,Name,ActWeight,HighLevel,HighWeight,LowLevel,LowWeight from WeightSetting; + public class WeightSettingView + { + public int Id { get; set; } + public string Name { get; set; } + + public float ActWeight { get; set; } + public float HighLevel { get; set; } + public float HighWeight { get; set; } + public float LowLevel { get; set; } + public float LowWeight { get; set; } + + } +} \ No newline at end of file diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj index 3739347..ea5687e 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Mesnac.Action.ChemicalWeighing.csproj @@ -237,6 +237,8 @@ + + Form @@ -249,6 +251,8 @@ + + Form @@ -269,6 +273,9 @@ + + + Component diff --git a/Main/MCEdit/Data/EventConfig/小料称量/榄菊重量参数管理.xml b/Main/MCEdit/Data/EventConfig/小料称量/榄菊重量参数管理.xml new file mode 100644 index 0000000..7400d2d --- /dev/null +++ b/Main/MCEdit/Data/EventConfig/小料称量/榄菊重量参数管理.xml @@ -0,0 +1,57 @@ + + + + + + + 初始化重量参数 + 初始化重量参数 + + + + 修改重量参数 + 修改重量参数 + + + + + 数据上传 + 数据上传 + + + + 数据下达 + 数据下达 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj index eb3dff1..57b8c1f 100644 --- a/Main/MCEdit/Data/MCProject/SCWSProject2.mprj +++ b/Main/MCEdit/Data/MCProject/SCWSProject2.mprj @@ -30,6 +30,7 @@ + diff --git a/Main/MCEdit/Data/MCProject/nodeDevice.xml b/Main/MCEdit/Data/MCProject/nodeDevice.xml index 79b6af9..e030ca4 100644 --- a/Main/MCEdit/Data/MCProject/nodeDevice.xml +++ b/Main/MCEdit/Data/MCProject/nodeDevice.xml @@ -188,6 +188,7 @@ + @@ -208,7 +209,8 @@ - + + @@ -253,7 +255,8 @@ - + + @@ -273,6 +276,7 @@ + @@ -448,6 +452,8 @@ + + diff --git a/Main/MCEdit/Data/MCProject/nodeForm/FormWeight.xml b/Main/MCEdit/Data/MCProject/nodeForm/FormWeight.xml new file mode 100644 index 0000000..2b88921 --- /dev/null +++ b/Main/MCEdit/Data/MCProject/nodeForm/FormWeight.xml @@ -0,0 +1,225 @@ + + + + False + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJoBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EYXRhR3JpZFZpZXdDb2x1bW5zLCBNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGxdXQMAAAAGX2l0ZW1zBV9zaXplCF92ZXJzaW9uBAAAKk1lc25hYy5Db250cm9scy5CYXNlLkRhdGFHcmlkVmlld0NvbHVtbnNbXQIAAAAICAkDAAAABAAAAHsAAAAHAwAAAAABAAAACAAAAAQoTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGF0YUdyaWRWaWV3Q29sdW1ucwIAAAAJBAAAAAkFAAAACQYAAAAJBwAAAA0EBQQAAAAoTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGF0YUdyaWRWaWV3Q29sdW1ucwIAAAAKX2ZpbGVkRGF0YQxfZGlzcGxheU5hbWUBAQIAAAAGCAAAAAJJZAYJAAAABue8luWPtwEFAAAABAAAAAYKAAAABE5hbWUGCwAAAAblkI3np7ABBgAAAAQAAAAGDAAAAAlMb3dXZWlnaHQGDQAAAA/kvY7mlpnkvY3ph43ph48BBwAAAAQAAAAGDgAAAApIaWdoV2VpZ2h0Bg8AAAAP6auY5paZ5L2N6YeN6YePCw== + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAABAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAADAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDBBNDJGOEY3OTE2QTNCNjY4REIzODMwRUE5MDJBOUQ5BgYAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwBgcAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwCw== + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAABAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + [DataSource1].[WeightSetting] + + True + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAE5TeXN0ZW0uRGF0YSwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAABVTeXN0ZW0uRGF0YS5EYXRhVGFibGUDAAAAGURhdGFUYWJsZS5SZW1vdGluZ1ZlcnNpb24JWG1sU2NoZW1hC1htbERpZmZHcmFtAwEBDlN5c3RlbS5WZXJzaW9uAgAAAAkDAAAABgQAAACFBDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi0xNiI/Pg0KPHhzOnNjaGVtYSB4bWxucz0iIiB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOm1zZGF0YT0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp4bWwtbXNkYXRhIj4NCiAgPHhzOmVsZW1lbnQgbmFtZT0iTUNEYXRhR3JpZFZpZXciPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQogIDx4czplbGVtZW50IG5hbWU9InRtcERhdGFTZXQiIG1zZGF0YTpJc0RhdGFTZXQ9InRydWUiIG1zZGF0YTpNYWluRGF0YVRhYmxlPSJNQ0RhdGFHcmlkVmlldyIgbXNkYXRhOlVzZUN1cnJlbnRMb2NhbGU9InRydWUiPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICAgIDx4czpjaG9pY2UgbWluT2NjdXJzPSIwIiBtYXhPY2N1cnM9InVuYm91bmRlZCIgLz4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQo8L3hzOnNjaGVtYT4GBQAAAIABPGRpZmZncjpkaWZmZ3JhbSB4bWxuczptc2RhdGE9InVybjpzY2hlbWFzLW1pY3Jvc29mdC1jb206eG1sLW1zZGF0YSIgeG1sbnM6ZGlmZmdyPSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOnhtbC1kaWZmZ3JhbS12MSIgLz4EAwAAAA5TeXN0ZW0uVmVyc2lvbgQAAAAGX01ham9yBl9NaW5vcgZfQnVpbGQJX1JldmlzaW9uAAAAAAgICAgCAAAAAAAAAP//////////Cw== + + None + True + True + False + ControlLightLight + 30 + False + Fill + 0, 48 + MCDataGridView1 + 584, 314 + 9 + + + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAARAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIEYzRkQ1RTIyOTM2N0QzQjc0OTYzQUIyQjYxNjAzRTY2BgYAAAAM5pWw5o2u5LiL6L6+BgcAAAAM5pWw5o2u5LiL6L6+Cw== + + + + False + + + + None + True + True + True + + + Red + DarkGray + 数据下发 + 宋体, 14.25pt, style=Bold + 278, 3 + MCButton7 + 115, 40 + 3 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAARAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDMzQTBCOEJBN0M3NTI3OTY1RUEzRDY4QjI1QTlDQ0ZBBgYAAAAM5pWw5o2u5LiK5LygBgcAAAAM5pWw5o2u5LiK5LygCw== + + + + False + + + + None + True + True + True + + + Red + DarkGray + 数据上传 + 宋体, 14.25pt, style=Bold + 157, 3 + MCButton6 + 115, 40 + 3 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAARAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDBBNDJGOEY3OTE2QTNCNjY4REIzODMwRUE5MDJBOUQ5BgYAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwBgcAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwCw== + + + + False + + + + None + True + True + True + + + Red + DarkGray + 刷新 + 宋体, 14.25pt, style=Bold + 81, 3 + MCButton1 + 70, 40 + 3 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAASAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIEVDNEEyNjEzRkE0NzY1MjlBRTZDQzdEQ0I1MDMyRDk2BgYAAAAS5L+u5pS56YeN6YeP5Y+C5pWwBgcAAAAS5L+u5pS56YeN6YeP5Y+C5pWwCw== + + + + False + + + + None + True + True + True + + + Red + DarkGray + 修改 + 宋体, 14.25pt, style=Bold + 5, 3 + MCButton5 + 70, 40 + 1 + + Top + 0, 0 + Panel2 + 584, 48 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAANAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAANBAs= + + + + False + + + + None + True + True + True + + + Red + DarkGray + 刷新 + 宋体, 14.25pt, style=Bold + 81, 3 + MCButton4 + 70, 40 + 3 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAOAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAANBAs= + + + + False + + + + None + True + True + True + + + Red + DarkGray + 修改 + 宋体, 14.25pt, style=Bold + 5, 3 + MCButton2 + 70, 40 + 1 + + Top + 0, 0 + Panel1 + 584, 48 + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDBBNDJGOEY3OTE2QTNCNjY4REIzODMwRUE5MDJBOUQ5BgYAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwBgcAAAAV5Yid5aeL5YyW6YeN6YeP5Y+C5pWwCw== + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + + AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL + + False + False + False + Control + 600, 401 + WindowsDefaultLocation + 榄菊设备参数重量管理 + Normal + + Tile + 宋体, 9pt + ControlText + FormWeight + diff --git a/Main/MCEdit/MCEdit.csproj b/Main/MCEdit/MCEdit.csproj index 1a8a010..0c406aa 100644 --- a/Main/MCEdit/MCEdit.csproj +++ b/Main/MCEdit/MCEdit.csproj @@ -215,6 +215,10 @@ Designer PreserveNewest + + Designer + PreserveNewest + PreserveNewest