liulb@mesnac.com 10 months ago
parent 5b8bcbeee7
commit 71d96c6291

@ -20,15 +20,15 @@ namespace Mesnac.Action.ChemicalWeighing
{
SiemensPLCS siemensPLCS = SiemensPLCS.S1500;
SiemensS7Net s7 = new SiemensS7Net(siemensPLCS);
//配料IP
s7.IpAddress = "192.168.10.130";
s7.IpAddress = "127.0.0.1";// "192.168.10.130";
s7.Port = 102;
var su = s7.ConnectServer();
if (!su.IsSuccess)
{
s7.IpAddress = "192.168.10.130";
s7.IpAddress = "127.0.0.1";// "192.168.10.130";
s7.Port = 102;
var su1 = s7.ConnectServer();
if (!su1.IsSuccess)

@ -772,6 +772,10 @@
<Project>{18BCAA9F-D601-43B6-B443-E6B126ADF540}</Project>
<Name>Mesnac.Controls.Base</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Controls\Mesnac.Controls.ChemicalWeighing\Mesnac.Controls.ChemicalWeighing.csproj">
<Project>{b9b99759-8b95-4078-a5e9-a63e0e48384c}</Project>
<Name>Mesnac.Controls.ChemicalWeighing</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Controls\Mesnac.Controls.Default\Mesnac.Controls.Default.csproj">
<Project>{f022c0e6-2819-4fb1-bb86-0f389f061a44}</Project>
<Name>Mesnac.Controls.Default</Name>

@ -33,10 +33,14 @@ namespace Mesnac.Action.ChemicalWeighing.Show
string planFlag= string.Empty;
string planFlag2 = string.Empty;
bool planFlag3 = true;
bool Flag4 = true;
bool Flag5 = true;
#endregion
System.Timers.Timer timer = new System.Timers.Timer(3000);
System.Timers.Timer timer2 = new System.Timers.Timer(3000);
System.Timers.Timer timer3 = new System.Timers.Timer(1000);
System.Timers.Timer timer4 = new System.Timers.Timer(1000);
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime);
@ -74,6 +78,17 @@ namespace Mesnac.Action.ChemicalWeighing.Show
timer2.AutoReset = true;
timer2.Enabled = true;
timer2.Start();
timer3.Elapsed += new ElapsedEventHandler(UpdateShow1);
timer3.AutoReset = true;
timer3.Enabled = true;
timer3.Start();
timer4.Elapsed += new ElapsedEventHandler(UpdateShow2);
timer4.AutoReset = true;
timer4.Enabled = true;
timer4.Start();
//StartServer1();
//StartServer2();
#region 初始化
@ -179,6 +194,13 @@ namespace Mesnac.Action.ChemicalWeighing.Show
private void StartServer1(object sender, ElapsedEventArgs e)
{
var lblPlanName = base.GetControlById("lblPlanName") as System.Windows.Forms.Label;//配方名称
if (lblPlanName == null)
{
timer.Stop();
timer.Close();
return;
}
DbMCControl clientGridControl = this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "Pmt_weigh").FirstOrDefault(); //获取本机台计划控件
if (clientGridControl == null || !(clientGridControl.BaseControl is DataGridView))
{
@ -191,13 +213,7 @@ namespace Mesnac.Action.ChemicalWeighing.Show
try
{
var lblPlanName = base.GetControlById("lblPlanName") as System.Windows.Forms.Label;//配方名称
if (lblPlanName == null)
{
timer.Stop();
timer.Close();
return;
}
var lblRecipeName = base.GetControlById("lblRecipeName") as System.Windows.Forms.Label;//配方名称
var lblTotalBatch = base.GetControlById("lblTotalBatch") as System.Windows.Forms.Label;//总批次
@ -352,18 +368,11 @@ namespace Mesnac.Action.ChemicalWeighing.Show
private void StartServer2(object sender, ElapsedEventArgs e)
{
DbMCControl clientGridControl = this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "xl_weigh").FirstOrDefault(); //获取本机台计划控件
if (clientGridControl == null || !(clientGridControl.BaseControl is DataGridView))
{
ICSharpCode.Core.LoggingService<InitFormAction>.Error("{首页展示}缺少本机台计划网格控件...");
return;
}
var lblPlanName = base.GetControlById("lblPlanName2") as System.Windows.Forms.Label;//计划名称
if (lblPlanName == null)
{
timer.Stop();
timer.Close();
timer2.Stop();
timer2.Close();
return;
}
var lblRecipeName = base.GetControlById("lblRecipeName2") as System.Windows.Forms.Label;//配方名称
@ -375,6 +384,14 @@ namespace Mesnac.Action.ChemicalWeighing.Show
var lblStateMessage = base.GetControlById("lblStateMessage2") as System.Windows.Forms.Label;//配方名称
var lblPlanStateMessage = base.GetControlById("lblPlanState2") as System.Windows.Forms.Label;//计划状态
var rate = base.GetControlById("lblRate") as System.Windows.Forms.Label;//理论固含
DbMCControl clientGridControl = this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "Pmt_weigh").FirstOrDefault(); //获取本机台计划控件
if (clientGridControl == null || !(clientGridControl.BaseControl is DataGridView))
{
ICSharpCode.Core.LoggingService<InitFormAction>.Error("{首页展示}缺少本机台计划网格控件...");
return;
}
DataTable table = PlanHelper.GetProWeighbridge2Plan();//正在执行的任务
if (table == null)
{
@ -507,7 +524,198 @@ namespace Mesnac.Action.ChemicalWeighing.Show
}
private void UpdateShow1(object sender, ElapsedEventArgs e)
{
var lblPlanName = base.GetControlById("lblPlanName2") as System.Windows.Forms.Label;//计划名称
if (lblPlanName == null)
{
timer3.Stop();
timer3.Close();
return;
}
if (Flag4)
{
Flag4 = false;
try
{
var lblReqSerialName = base.GetControlById("lblTotalBatch") as System.Windows.Forms.Label;//计划数
var lblFinishedNumName = base.GetControlById("MCLabel203") as System.Windows.Forms.Label;//完成数
var lblResidueNumName = base.GetControlById("MCLabel244") as System.Windows.Forms.Label;//剩余
var lblRealTimeWeightName = base.GetControlById("lblRealTimeWeight") as System.Windows.Forms.Label;//实时
var lblSetWeight = base.GetControlById("lblSetWeight") as System.Windows.Forms.Label;//设定重量
var lblTankNo = base.GetControlById("lblTankNo") as System.Windows.Forms.Label;//罐号
var lblRate = base.GetControlById("MCLabel240") as System.Windows.Forms.Label;//实际固含
var pbName = base.GetControlById("XProgressBar") as System.Windows.Forms.ProgressBar;//柱状图
var lblTimeOut = base.GetControlById("lblTimeOut") as System.Windows.Forms.Label;//倒计时
var lblStatus01 = base.GetControlById("GreenLight2") as Mesnac.Controls.ChemicalWeighing.GreenLight;//加料
var lblStatus02 = base.GetControlById("RedLight2") as Mesnac.Controls.ChemicalWeighing.RedLight;//超重
var lblStatus03 = base.GetControlById("YellewLight2") as Mesnac.Controls.ChemicalWeighing.YellewLight;//完成
var btn16 = base.GetControlById("MCBtn16") as System.Windows.Forms.Button;//设定值
var btn17 = base.GetControlById("MCBtn17") as System.Windows.Forms.Button;//实时值
SiemensS7Net plc = PlcConnect.Instance;
int reqSerial = plc.ReadInt16("DB110.DBW22").Content;//计划数
lblReqSerialName.Text = reqSerial.ToString();
int finishedNum = plc.ReadInt16("DB110.DBW2").Content;//完成数
lblFinishedNumName.Text = finishedNum.ToString();
int residueNum = (plc.ReadInt16("DB110.DBW8").Content / 10) - (plc.ReadInt16("DB110.DBW16").Content / 10);//剩余数
lblResidueNumName.Text = residueNum.ToString();
int scaleWeight = plc.ReadInt16("DB110.DBW0").Content / 10;//实时
lblRealTimeWeightName.Text = scaleWeight.ToString();
int set_R = plc.ReadInt16("DB110.DBW8").Content / 10;//设定重量||柱状图最大值
lblSetWeight.Text = set_R.ToString();
int materialNo = plc.ReadInt16("DB110.DBW1758").Content / 10;//罐号
lblTankNo.Text = materialNo.ToString();
decimal p= decimal.Parse(plc.ReadInt16("DB110.DBW10").Content.ToString());
decimal rate_R = p / 100;//实际固含
lblRate.Text = rate_R.ToString();
int timeOut = plc.ReadInt16("DB110.DBW1766").Content;//倒计时
lblTimeOut.Text = timeOut.ToString();
int act_Weight = plc.ReadInt16("DB110.DBW16").Content / 10;//柱状图实时值||实际重量
pbName.Maximum = set_R;
pbName.Minimum = 0;
pbName.Value = act_Weight;
btn16.Text = set_R.ToString();
btn17.Text = scaleWeight.ToString();
int status01 = plc.ReadInt16("DB110.DBW1770").Content;//加料
if (status01 == 1)
{
lblStatus01.Status = Mesnac.Controls.ChemicalWeighing.GreenLight.Statuses.ylMove;
}
else
{
lblStatus01.Status = Mesnac.Controls.ChemicalWeighing.GreenLight.Statuses.ylNormal;
}
int status02 = plc.ReadInt16("DB110.DBW1772").Content;//完成
if (status02 == 1)
{
lblStatus03.Status = Mesnac.Controls.ChemicalWeighing.YellewLight.Statuses.ylYellew;
}
else
{
lblStatus03.Status = Mesnac.Controls.ChemicalWeighing.YellewLight.Statuses.ylNormal;
}
int status03 = plc.ReadInt16("DB110.DBW1774").Content;//超重
if (status03 == 1)
{
lblStatus02.Status = Mesnac.Controls.ChemicalWeighing.RedLight.Statuses.ylAlarm;
}
else
{
lblStatus02.Status = Mesnac.Controls.ChemicalWeighing.RedLight.Statuses.ylNormal;
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
finally
{
Flag4 = true;
}
}
}
private void UpdateShow2(object sender, ElapsedEventArgs e)
{
var lblPlanName = base.GetControlById("lblPlanName2") as System.Windows.Forms.Label;//计划名称
if (lblPlanName == null)
{
timer4.Stop();
timer4.Close();
return;
}
if (Flag5)
{
Flag5 = false;
try
{
var lblReqSerialName = base.GetControlById("MCLabel217") as System.Windows.Forms.Label;//计划数
var lblFinishedNumName = base.GetControlById("MCLabel213") as System.Windows.Forms.Label;//完成数
var lblResidueNumName = base.GetControlById("MCLabel246") as System.Windows.Forms.Label;//剩余
var lblRealTimeWeightName = base.GetControlById("MCLabel223") as System.Windows.Forms.Label;//实时
var lblSetWeight = base.GetControlById("MCLabel222") as System.Windows.Forms.Label;//设定重量
var lblTankNo = base.GetControlById("MCLabel218") as System.Windows.Forms.Label;//罐号
var lblRate = base.GetControlById("MCLabel237") as System.Windows.Forms.Label;//实际固含
var pbName = base.GetControlById("XProgressBar2147483646") as System.Windows.Forms.ProgressBar;//柱状图
var lblTimeOut = base.GetControlById("MCLabel229") as System.Windows.Forms.Label;//倒计时
var lblStatus01 = base.GetControlById("GreenLight1") as Mesnac.Controls.ChemicalWeighing.GreenLight;//加料
var lblStatus02 = base.GetControlById("RedLight1") as Mesnac.Controls.ChemicalWeighing.RedLight;//超重
var lblStatus03 = base.GetControlById("YellewLight1") as Mesnac.Controls.ChemicalWeighing.YellewLight;//完成
var btn16 = base.GetControlById("MCBtn15") as System.Windows.Forms.Button;//设定值
var btn17 = base.GetControlById("MCBtn14") as System.Windows.Forms.Button;//实时值
SiemensS7Net plc = PlcConnect.Instance;
int reqSerial = plc.ReadInt16("DB111.DBW22").Content;//计划数
lblReqSerialName.Text = reqSerial.ToString();
int finishedNum = plc.ReadInt16("DB111.DBW2").Content;//完成数
lblFinishedNumName.Text = finishedNum.ToString();
int residueNum = (plc.ReadInt16("DB111.DBW8").Content / 10) - (plc.ReadInt16("DB111.DBW16").Content / 10);//剩余数
lblResidueNumName.Text = residueNum.ToString();
int scaleWeight = plc.ReadInt16("DB111.DBW0").Content / 10;//实时
lblRealTimeWeightName.Text = scaleWeight.ToString();
int set_R = plc.ReadInt16("DB111.DBW8").Content / 10;//设定重量||柱状图最大值
lblSetWeight.Text = set_R.ToString();
int materialNo = plc.ReadInt16("DB111.DBW1758").Content / 10;//罐号
lblTankNo.Text = materialNo.ToString();
decimal p = decimal.Parse(plc.ReadInt16("DB111.DBW10").Content.ToString());
decimal rate_R = p / 100;//实际固含
lblRate.Text = rate_R.ToString();
int timeOut = plc.ReadInt16("DB111.DBW1766").Content;//倒计时
lblTimeOut.Text = timeOut.ToString();
int act_Weight = plc.ReadInt16("DB111.DBW16").Content / 10;//柱状图实时值||实际重量
pbName.Maximum = set_R;
pbName.Minimum = 0;
pbName.Value = act_Weight;
btn16.Text = set_R.ToString();
btn17.Text = scaleWeight.ToString();
int status01 = plc.ReadInt16("DB111.DBW1770").Content;//加料
if (status01 == 1)
{
lblStatus01.Status = Mesnac.Controls.ChemicalWeighing.GreenLight.Statuses.ylMove;
}
else
{
lblStatus01.Status = Mesnac.Controls.ChemicalWeighing.GreenLight.Statuses.ylNormal;
}
int status02 = plc.ReadInt16("DB111.DBW1772").Content;//完成
if (status02 == 1)
{
lblStatus03.Status = Mesnac.Controls.ChemicalWeighing.YellewLight.Statuses.ylYellew;
}
else
{
lblStatus03.Status = Mesnac.Controls.ChemicalWeighing.YellewLight.Statuses.ylNormal;
}
int status03 = plc.ReadInt16("DB111.DBW1774").Content;//超重
if (status03 == 1)
{
lblStatus02.Status = Mesnac.Controls.ChemicalWeighing.RedLight.Statuses.ylAlarm;
}
else
{
lblStatus02.Status = Mesnac.Controls.ChemicalWeighing.RedLight.Statuses.ylNormal;
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
finally
{
Flag5 = true;
}
}
}
#region 设置(网格控件)计划状态背景色

@ -4,7 +4,7 @@
<Main>
<Brand value="Siemens" />
<Model value="S7" />
<ReadHz value="1000" />
<ReadHz value="2000" />
<UnitLen value="8" />
<Connection mode="Net">
<IP value="192.168.10.130" />

@ -54,7 +54,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel229" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.timeOut</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -74,9 +75,9 @@
<Property name="Name">MCLabel229</Property>
<Property name="Size">91, 97</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="0" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="lblTimeOut" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.timeOut</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -93,7 +94,7 @@
<Property name="Font">宋体, 72pt, style=Bold</Property>
<Property name="ForeColor">Red</Property>
<Property name="Location">981, 532</Property>
<Property name="Name">0</Property>
<Property name="Name">lblTimeOut</Property>
<Property name="Size">91, 97</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCBtn14" children="Controls">
@ -111,7 +112,8 @@
<Property name="MCEnabled">True</Property>
<Property name="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.Act_Weight/10</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">500.00</Property>
@ -137,7 +139,7 @@
<Property name="MCEnabled">True</Property>
<Property name="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.Act_Weight/10</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">500.00</Property>
@ -163,7 +165,8 @@
<Property name="MCEnabled">True</Property>
<Property name="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.Set_R/10</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">500.00</Property>
@ -189,7 +192,7 @@
<Property name="MCEnabled">True</Property>
<Property name="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.Set_R/10</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">500.00</Property>
@ -201,22 +204,25 @@
<Property name="TabIndex">112</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.GreenLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="GreenLight1" children="Controls">
<Property name="StatusName">CWSS_PLC.DB111.status01</Property>
<Property name="StatusName">
</Property>
<Property name="Status">ylNormal</Property>
<Property name="Location">373, 789</Property>
<Property name="Name">GreenLight1</Property>
<Property name="Size">30, 30</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.GreenLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="GreenLight2" children="Controls">
<Property name="StatusName">CWSS_PLC.DB110.status01</Property>
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">977, 790</Property>
<Property name="Name">GreenLight2</Property>
<Property name="Size">30, 30</Property>
</Object>
<Object type="Mesnac.Controls.Default.XProgressBar, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="XProgressBar2147483646" children="Controls">
<Property name="MaxName">CWSS_PLC.DB111.Set_R/10</Property>
<Property name="ValName">CWSS_PLC.DB111.Act_Weight/10</Property>
<Property name="MaxName">
</Property>
<Property name="ValName">
</Property>
<Property name="MaxNumValue">0</Property>
<Property name="Val">0</Property>
<Property name="Step">1</Property>
@ -225,8 +231,8 @@
<Property name="Size">131, 286</Property>
</Object>
<Object type="Mesnac.Controls.Default.XProgressBar, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="XProgressBar" children="Controls">
<Property name="MaxName">CWSS_PLC.DB110.Set_R/10</Property>
<Property name="ValName">CWSS_PLC.DB110.Act_Weight/10</Property>
<Property name="MaxName" />
<Property name="ValName" />
<Property name="MaxNumValue">0</Property>
<Property name="Val">0</Property>
<Property name="Step">1</Property>
@ -235,28 +241,30 @@
<Property name="Size">131, 286</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.YellewLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="YellewLight1" children="Controls">
<Property name="StatusName">CWSS_PLC.DB111.status02</Property>
<Property name="StatusName">
</Property>
<Property name="Status">ylNormal</Property>
<Property name="Location">784, 793</Property>
<Property name="Name">YellewLight1</Property>
<Property name="Size">30, 30</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.YellewLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="YellewLight2" children="Controls">
<Property name="StatusName">CWSS_PLC.DB110.status02</Property>
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1335, 793</Property>
<Property name="Name">YellewLight2</Property>
<Property name="Size">30, 30</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RedLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RedLight1" children="Controls">
<Property name="StatusName">CWSS_PLC.DB111.status03</Property>
<Property name="StatusName">
</Property>
<Property name="Status">ylNormal</Property>
<Property name="Location">576, 791</Property>
<Property name="Name">RedLight1</Property>
<Property name="Size">30, 30</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.RedLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RedLight2" children="Controls">
<Property name="StatusName">CWSS_PLC.DB110.status03</Property>
<Property name="StatusName" />
<Property name="Status">ylNormal</Property>
<Property name="Location">1153, 793</Property>
<Property name="Name">RedLight2</Property>
@ -604,7 +612,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel218" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.materialNo</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -681,7 +690,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel237" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.Rate_R/100</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -786,7 +796,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel222" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.Set_R/10</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -807,7 +818,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel223" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.scaleWeight/10</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -971,7 +983,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="lblTankNo" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.materialNo</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1064,8 +1076,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel2" children="Controls">
<Property name="Format" />
<Property name="TextName">
</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1086,7 +1097,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel240" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.Rate_R/100</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1107,7 +1118,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="lblSetWeight" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.Set_R/10</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1212,7 +1223,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="lblRealTimeWeight" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.scaleWeight/10</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1583,7 +1594,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel213" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.finishedNum</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1688,7 +1700,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel246" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.Set_R/10-CWSS_PLC.DB111.Act_Weight/10</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Black</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -1709,7 +1722,8 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel217" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB111.reqSerial</Property>
<Property name="TextName">
</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -2001,7 +2015,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel203" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.finishedNum</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -2064,7 +2078,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel244" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.Set_R/10-CWSS_PLC.DB110.Act_Weight/10</Property>
<Property name="TextName" />
<Property name="NewFillColor">Black</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
@ -2127,7 +2141,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="lblTotalBatch" children="Controls">
<Property name="Format" />
<Property name="TextName">CWSS_PLC.DB110.reqSerial</Property>
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />

Loading…
Cancel
Save