dll testActioc 测试代码

master
nodyang 1 year ago
parent b3bc61b404
commit ba97852627

@ -973,6 +973,10 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue GH_PC_SaveGFA2thAct = new DataKeyValue("SaveGFA2thAct");
public DataKeyValue WatchDog = new DataKeyValue("WatchDog");
/// <summary>
/// 存盘数据保存完成
/// </summary>
@ -985,5 +989,11 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue FirstWord { get; set; }
public DataKeyValue Spare4 { get; set; }
public DataKeyValue RecipePause { get; set; }
}
}

@ -380,6 +380,7 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch
bool SaveGFAAct = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_SaveGFAAct, out int[] GH_PC_SaveGFAAct);
bool Save3thSet = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_Save3thSet, out int[] GH_PC_Save3thSet);
bool Save3thAct = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_Save3thAct, out int[] GH_PC_Save3thAct);
bool SaveLevel = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_SaveLevel, out int[] GH_PC_SaveLevel);
bool SaveFillTime = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_SaveFillTime, out int[] GH_PC_SaveFillTime);
bool SaveSpeed1 = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.GH_PC_SaveSpeed1, out int[] GH_PC_SaveSpeed1);

@ -5,7 +5,10 @@ using System.Text;
using System.Windows.Forms;
using ICSharpCode.Core;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.Entity;
using Mesnac.Basic;
using Mesnac.Controls.Base;
using Mesnac.Controls.Default;
namespace Mesnac.Action.ChemicalWeighing.Test
{
@ -14,7 +17,67 @@ namespace Mesnac.Action.ChemicalWeighing.Test
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
//ParametersWithPc.B1.FirstWord 256 768
// var firstWordNowValue = BasePlcHelper.Instance.FirstWord.NowValue.ToInt();
// var plcRead = BasePlcHelper.Instance.PlcRead("ParametersWithPc", "1165", 0, 1, out short[] ssss);
//
// short test = ssss[0];
// var bytes = BitConverter.GetBytes(test);
// DataKeyValue dataKeyRecipePause = new DataKeyValue("RecipePause");
//
// bool Save3thActs = BasePlcHelper.Instance.PlcRead(dataKeyRecipePause, out int[] ghPcSave3ThActs);
// var swap = DataProcessor.Swap(ghPcSave3ThActs[0]);
// var recipePause = BasePlcHelper.Instance.RecipePause.NowValue.ToInt();
//ParametersWithPc.B1.RecipePause
// 768 怎么调佣函数 怎么通过代码去写入
//或者调用控件
//Mesnac.Basic.DataProcessor.ToSiemen sInt32();
var i = BasePlcHelper.Instance.Spare4.NowValue.ToInt();
bool Spare4 = BasePlcHelper.Instance.PlcRead(BasePlcHelper.Instance.Spare4, out int[] spare4s);
//256 default-bit(11
DbMCControl binGridControl = this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "MCLabel153").FirstOrDefault();
var comboBox1 = base.GetControlById("MCButton1") as System.Windows.Forms.Button;
var comboBox1s = base.GetControlById("MCButton1") as Mesnac.Controls.Default.Button;
// List<DbMCControl> mcControllist = GetAllDbMCControlsByOption(DbOptionTypes.Query);//获取所有待初始化控件
// IBaseControl startdate = mcControllist.Where(t => t.BaseControl.MCKey != null && t.BaseControl.MCKey.ToLower() == "startdate").FirstOrDefault().BaseControl;
// var firstWordNowValue = BasePlcHelper.Instance.FirstWord.NowValue.ToInt();
//
// BasePlcHelper.Instance.PlcWriteByDataKey(BasePlcHelper.Instance.FirstWord, new object[] {1});
//
// var plcHelp = BasePlcHelper.Instance;
ShowMsg("小料Action事件测试", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}

@ -17,6 +17,10 @@ namespace Mesnac.Action.Default.Test
base.RunIni(runtime); //必须调用
base.LogDebug("业务测试...");
string msg = StringParser.Parse(ResourceService.GetString("Mesnac_Action_Default_Test_Text")); //您现在正在进行业务测试...
ShowMsg(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}

@ -3,8 +3,8 @@
<Design>
<Path path="测试">
<Action action="3AF2FD2A3D8046E1A74BAAEEF8108CBC">
<Caption>业务测试</Caption>
<Remark>业务测试</Remark>
<Caption>业务测试4</Caption>
<Remark>业务测试4</Remark>
</Action>
<Action action="6DE8DC87FD7142C284A940C54E1AEB33">
<Caption>上辅机业务测试</Caption>

@ -3,8 +3,8 @@
<Design>
<Path path="测试">
<Action action="3AF2FD2A3D8046E1A74BAAEEF8108CBC">
<Caption>业务测试</Caption>
<Remark>业务测试</Remark>
<Caption>业务测试3</Caption>
<Remark>业务测试3</Remark>
</Action>
<Action action="3AF2FD2A3D8046E1A74BAAEEF8108CBE">
<Caption>生产计划测试</Caption>
@ -45,7 +45,7 @@
<Runtime>
<Import assembly = "Data/Action/Default/Mesnac.Action.Default.dll">
<Action action="4EF541839A5D489D93A871F4CBFEC9DA" class="Mesnac.Action.Default.Test.TestAction"/>
<Action action="4EF541839A5D489D93A871F4CBFEC9DA" class="Mesnac.Action.ChemicalWeighing.Test"/>
</Import>
<Import assembly = "Data/Action/ChemicalWeighing/Mesnac.Action.ChemicalWeighing.dll">
<Action action="4EF541839A5D489D93A871F4CBFEC9DC" class="Mesnac.Action.ChemicalWeighing.Product.PptPlan.FrmProPlanViewAction"/>

@ -3,8 +3,8 @@
<Design>
<Path path="测试">
<Action action="3AF2FD2A3D8046E1A74BAAEEF8108CBC">
<Caption>业务测试</Caption>
<Remark>业务测试</Remark>
<Caption>业务测试2</Caption>
<Remark>业务测试2</Remark>
</Action>
</Path>
<Path path="测试/报表存盘">

File diff suppressed because it is too large Load Diff

@ -1,9 +1,11 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Form1" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls">
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue16" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel153" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="TextName">ParametersWithPc.B1.WatchDog</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
@ -13,542 +15,38 @@
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="TextAlign">MiddleCenter</Property>
<Property name="BackColor">Red</Property>
<Property name="Location">722, 555</Property>
<Property name="Name">SpecialLabelBlue16</Property>
<Property name="Size">324, 2</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslPipeLineH, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslPipeLineH1" children="Controls">
<Property name="PipeLineActive">True</Property>
<Property name="MoveSpeed">12</Property>
<Property name="Location">825, 359</Property>
<Property name="Name">HslPipeLineH1</Property>
<Property name="Size">335, 21</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslPipeLine, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslPipeLine1" children="Controls" />
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV48" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">532, 95</Property>
<Property name="Name">StraightTubeV48</Property>
<Property name="Size">5, 283</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslBottle, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottle1" children="Controls">
<Property name="Value">50</Property>
<Property name="HeadTag" />
<Property name="ForeColorEdge">194, 190, 77</Property>
<Property name="ForeColorCenter">226, 221, 98</Property>
<Property name="ForeColorTop">243, 245, 139</Property>
<Property name="BackColorEdge">142, 196, 216</Property>
<Property name="BackColorCenter">240, 240, 240</Property>
<Property name="BackColorTop">151, 232, 244</Property>
<Property name="Location">525, 51</Property>
<Property name="Name">HslBottle1</Property>
<Property name="Size">19, 46</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH18" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">236, 742</Property>
<Property name="Name">StraightTubeH18</Property>
<Property name="Size">307, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH19" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">235, 696</Property>
<Property name="Name">StraightTubeH19</Property>
<Property name="Size">42, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH20" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">232, 650</Property>
<Property name="Name">StraightTubeH20</Property>
<Property name="Size">41, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV40" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">232, 652</Property>
<Property name="Name">StraightTubeV40</Property>
<Property name="Size">5, 91</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH21" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">328, 696</Property>
<Property name="Name">StraightTubeH21</Property>
<Property name="Size">48, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH22" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">336, 653</Property>
<Property name="Name">StraightTubeH22</Property>
<Property name="Size">40, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV41" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">371, 653</Property>
<Property name="Name">StraightTubeV41</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH23" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">187, 667</Property>
<Property name="Name">StraightTubeH23</Property>
<Property name="Size">189, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV42" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">216, 667</Property>
<Property name="Name">StraightTubeV42</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV43" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">187, 667</Property>
<Property name="Name">StraightTubeV43</Property>
<Property name="Size">5, 46</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH24" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">154, 711</Property>
<Property name="Name">StraightTubeH24</Property>
<Property name="Size">67, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV44" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">293, 595</Property>
<Property name="Name">StraightTubeV44</Property>
<Property name="Size">5, 28</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou6" children="Controls">
<Property name="Location">304, 641</Property>
<Property name="Name">LouDou6</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou7" children="Controls">
<Property name="Location">264, 641</Property>
<Property name="Name">LouDou7</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV45" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">315, 619</Property>
<Property name="Name">StraightTubeV45</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV46" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">275, 619</Property>
<Property name="Name">StraightTubeV46</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV47" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">292, 544</Property>
<Property name="Name">StraightTubeV47</Property>
<Property name="Size">5, 25</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.Trucks, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Trucks3" children="Controls">
<Property name="Location">254, 515</Property>
<Property name="Name">Trucks3</Property>
<Property name="Size">66, 36</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH25" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">277, 618</Property>
<Property name="Name">StraightTubeH25</Property>
<Property name="Size">43, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH10" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">237, 499</Property>
<Property name="Name">StraightTubeH10</Property>
<Property name="Size">307, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH11" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">236, 453</Property>
<Property name="Name">StraightTubeH11</Property>
<Property name="Size">42, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH12" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">233, 407</Property>
<Property name="Name">StraightTubeH12</Property>
<Property name="Size">41, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV32" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">233, 409</Property>
<Property name="Name">StraightTubeV32</Property>
<Property name="Size">5, 91</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH13" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">329, 453</Property>
<Property name="Name">StraightTubeH13</Property>
<Property name="Size">48, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH14" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">337, 410</Property>
<Property name="Name">StraightTubeH14</Property>
<Property name="Size">40, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV33" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">372, 410</Property>
<Property name="Name">StraightTubeV33</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH15" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">188, 424</Property>
<Property name="Name">StraightTubeH15</Property>
<Property name="Size">189, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV34" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">217, 424</Property>
<Property name="Name">StraightTubeV34</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV35" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">184, 424</Property>
<Property name="Name">StraightTubeV35</Property>
<Property name="Size">5, 46</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH16" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">155, 468</Property>
<Property name="Name">StraightTubeH16</Property>
<Property name="Size">67, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV36" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">294, 352</Property>
<Property name="Name">StraightTubeV36</Property>
<Property name="Size">5, 28</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou4" children="Controls">
<Property name="Location">305, 398</Property>
<Property name="Name">LouDou4</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou5" children="Controls">
<Property name="Location">265, 398</Property>
<Property name="Name">LouDou5</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV37" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">316, 376</Property>
<Property name="Name">StraightTubeV37</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV38" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">276, 376</Property>
<Property name="Name">StraightTubeV38</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV39" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">293, 301</Property>
<Property name="Name">StraightTubeV39</Property>
<Property name="Size">5, 25</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.Trucks, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Trucks2" children="Controls">
<Property name="Location">255, 272</Property>
<Property name="Name">Trucks2</Property>
<Property name="Size">66, 36</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH17" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">278, 375</Property>
<Property name="Name">StraightTubeH17</Property>
<Property name="Size">43, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH9" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">235, 242</Property>
<Property name="Name">StraightTubeH9</Property>
<Property name="Size">307, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH8" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">234, 196</Property>
<Property name="Name">StraightTubeH8</Property>
<Property name="Size">42, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH7" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">231, 150</Property>
<Property name="Name">StraightTubeH7</Property>
<Property name="Size">41, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV31" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">231, 152</Property>
<Property name="Name">StraightTubeV31</Property>
<Property name="Size">5, 91</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH6" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">327, 196</Property>
<Property name="Name">StraightTubeH6</Property>
<Property name="Size">48, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH5" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">335, 153</Property>
<Property name="Name">StraightTubeH5</Property>
<Property name="Size">40, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV30" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">370, 153</Property>
<Property name="Name">StraightTubeV30</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH4" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">186, 167</Property>
<Property name="Name">StraightTubeH4</Property>
<Property name="Size">189, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV29" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">215, 167</Property>
<Property name="Name">StraightTubeV29</Property>
<Property name="Size">5, 48</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV28" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">182, 167</Property>
<Property name="Name">StraightTubeV28</Property>
<Property name="Size">5, 46</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH3" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">153, 211</Property>
<Property name="Name">StraightTubeH3</Property>
<Property name="Size">67, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV27" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">292, 95</Property>
<Property name="Name">StraightTubeV27</Property>
<Property name="Size">5, 28</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou3" children="Controls">
<Property name="Location">303, 141</Property>
<Property name="Name">LouDou3</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LouDou, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LouDou1" children="Controls">
<Property name="Location">263, 141</Property>
<Property name="Name">LouDou1</Property>
<Property name="Size">33, 60</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV26" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">314, 119</Property>
<Property name="Name">StraightTubeV26</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV25" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">274, 119</Property>
<Property name="Name">StraightTubeV25</Property>
<Property name="Size">5, 27</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.DailyTank, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="DailyTank2" children="Controls">
<Property name="Status">rgMid</Property>
<Property name="Location">291, 71</Property>
<Property name="Name">DailyTank2</Property>
<Property name="Size">10, 26</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeV, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeV2" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptUpToDown</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">291, 44</Property>
<Property name="Name">StraightTubeV2</Property>
<Property name="Size">5, 25</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.Trucks, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Trucks1" children="Controls">
<Property name="Location">253, 15</Property>
<Property name="Name">Trucks1</Property>
<Property name="Size">66, 36</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH2" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">276, 118</Property>
<Property name="Name">StraightTubeH2</Property>
<Property name="Size">43, 5</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.StraightTubeH, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StraightTubeH1" children="Controls">
<Property name="StatusName" />
<Property name="Type">ptLeftToRight</Property>
<Property name="Status">ptTurnOff</Property>
<Property name="Master" />
<Property name="Location">107, 74</Property>
<Property name="Name">StraightTubeH1</Property>
<Property name="Size">45, 5</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.QiGuanDanYuan, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="QiGuanDanYuan1" children="Controls">
<Property name="Location">12, 37</Property>
<Property name="Name">QiGuanDanYuan1</Property>
<Property name="Size">99, 74</Property>
<Property name="Text">MCLabel153</Property>
<Property name="Location">205, 517</Property>
<Property name="Name">MCLabel153</Property>
<Property name="Size">65, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCButton1" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDNBRjJGRDJBM0Q4MDQ2RTFBNzRCQUFFRUY4MTA4Q0JGBgYAAAAS5bCP5paZQWN0aW9u5rWL6K+VBgcAAAAS5bCP5paZQWN0aW9u5rWL6K+VCw==</Binary>
</Property>
<Property name="MCKey">MCLabel153</Property>
<Property name="MCDataSourceID" />
<Property name="IsDbControl">False</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource" />
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">MCButton1</Property>
<Property name="Location">505, 364</Property>
<Property name="Name">MCButton1</Property>
<Property name="Size">75, 23</Property>
<Property name="TabIndex">66</Property>
</Object>
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel2" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.StateButton, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StateButton1" children="Controls">
<Property name="StatusName">CWSS_PLC.DB100.PLC_ConnectState</Property>
<Property name="StatusName">ParametersWithPc.B1.WatchDog</Property>
<Property name="Status">sssStop</Property>
<Property name="Location">16, 3</Property>
<Property name="Name">StateButton1</Property>
@ -603,7 +101,7 @@
<Property name="Name">SystemStateShow1</Property>
<Property name="Size">55, 54</Property>
</Object>
<Property name="Location">1480, 12</Property>
<Property name="Location">205, 257</Property>
<Property name="Name">Panel2</Property>
<Property name="Size">91, 174</Property>
</Object>

Loading…
Cancel
Save