|
|
@ -1,4 +1,8 @@
|
|
|
|
using Mesnac.Controls.Default;
|
|
|
|
using DataBlockHelper;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using DevExpress.Utils.Extensions;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using Mesnac.Controls.Default;
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
@ -11,12 +15,12 @@ using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Qu
|
|
|
|
namespace Mesnac.Action.ChemicalWeighing.Qu
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class Sb
|
|
|
|
public class Sb2
|
|
|
|
{
|
|
|
|
{
|
|
|
|
List<Control> Controls;
|
|
|
|
List<Control> Controls;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Sb(List<Control> c)
|
|
|
|
public Sb2(List<Control> c)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this.Controls = c;
|
|
|
|
this.Controls = c;
|
|
|
|
|
|
|
|
|
|
|
@ -29,9 +33,20 @@ namespace Mesnac.Action.ChemicalWeighing.Qu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
List<SpecialLabelBlue> ls = new List<SpecialLabelBlue>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void Add(SpecialLabelBlue special)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!ls.Contains(special))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ls.Add(special);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Action()
|
|
|
|
public void Action()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
ls.Clear();
|
|
|
|
|
|
|
|
|
|
|
|
PropertyInfo[] sourcePropertyInfoList = this.GetType().GetProperties();
|
|
|
|
PropertyInfo[] sourcePropertyInfoList = this.GetType().GetProperties();
|
|
|
|
foreach (PropertyInfo sourceProperty in sourcePropertyInfoList)
|
|
|
|
foreach (PropertyInfo sourceProperty in sourcePropertyInfoList)
|
|
|
@ -45,6 +60,371 @@ namespace Mesnac.Action.ChemicalWeighing.Qu
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送A-B
|
|
|
|
|
|
|
|
var boo = GetValue("M151.5");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue463);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue478);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue549);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue543);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue273);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue510);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue203);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue508);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送A-A
|
|
|
|
|
|
|
|
boo = GetValue("M172.5");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue463);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue478);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue549);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue543);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue273);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue510);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue516);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送A-C
|
|
|
|
|
|
|
|
boo = GetValue("M155.3");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue463);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue478);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue549);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue543);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue205);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue495);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送A-D
|
|
|
|
|
|
|
|
boo = GetValue("M155.3");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue463);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue478);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue549);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue543);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue205);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue204);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue361);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-1
|
|
|
|
|
|
|
|
boo = GetValue("M111.6");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue274);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue520);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue523);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-2
|
|
|
|
|
|
|
|
boo = GetValue("M160.2");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue274);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue520);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue198);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue519);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-3
|
|
|
|
|
|
|
|
boo = GetValue("M160.3");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue274);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue520);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue198);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue197);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue518);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-4
|
|
|
|
|
|
|
|
boo = GetValue("M160.5");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue274);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue520);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue198);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue197);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue196);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue517);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-5
|
|
|
|
|
|
|
|
boo = GetValue("M160.6");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue202);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue497);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-6
|
|
|
|
|
|
|
|
boo = GetValue("M160.1");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue202);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue201);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue496);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-7
|
|
|
|
|
|
|
|
boo = GetValue("M160.4");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue202);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue201);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue200);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue359);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送B-8
|
|
|
|
|
|
|
|
boo = GetValue("M160.7");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue464);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue480);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue551);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue541);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue202);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue201);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue200);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue199);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue360);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送C-A
|
|
|
|
|
|
|
|
boo = GetValue("M180.7");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue465);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue483);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue275);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue509);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue513);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送C-B
|
|
|
|
|
|
|
|
boo = GetValue("M181.0");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue465);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue483);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue275);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue509);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue206);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue507);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送C-C
|
|
|
|
|
|
|
|
boo = GetValue("M181.1");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue465);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue483);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue208);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue494);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue207);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue362);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送C-d
|
|
|
|
|
|
|
|
boo = GetValue("M181.2");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue465);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue483);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue208);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送D-A
|
|
|
|
|
|
|
|
boo = GetValue("M181.3");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue332);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue256);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue250);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue249);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue232);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue229);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue228);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送D-B
|
|
|
|
|
|
|
|
boo = GetValue("M181.4");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue332);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue256);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue250);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue249);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue232);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue229);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue209);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue231);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送D-C
|
|
|
|
|
|
|
|
boo = GetValue("M181.5");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue332);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue256);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue250);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue249);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue211);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue230);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送D-D
|
|
|
|
|
|
|
|
boo = GetValue("M181.6");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue332);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue256);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue250);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue249);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue211);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue210);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue233);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送E-A
|
|
|
|
|
|
|
|
boo = GetValue("M181.7");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue372);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue369);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue373);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue275);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue509);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue513);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送E-B
|
|
|
|
|
|
|
|
boo = GetValue("M182.0");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue372);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue369);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue373);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue275);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue509);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue206);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue507);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送E-C
|
|
|
|
|
|
|
|
boo = GetValue("M182.1");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue372);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue369);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue373);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue208);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue494);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//压送E-D
|
|
|
|
|
|
|
|
boo = GetValue("M182.2");
|
|
|
|
|
|
|
|
if (boo)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue372);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue369);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue373);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue553);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue569);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue208);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue207);
|
|
|
|
|
|
|
|
Add(SpecialLabelBlue362);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ls.Any())
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
foreach (var item in ls)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
SetLightGreen(item);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void SetWhite(SpecialLabelBlue special)
|
|
|
|
public void SetWhite(SpecialLabelBlue special)
|
|
|
@ -92,7 +472,11 @@ public SpecialLabelBlue SpecialLabelBlue206 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue507 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue507 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue543 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue543 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue205 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue205 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue204 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue495 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue204 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue361 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue361 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue510 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue510 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue203 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue203 { get; set; }
|
|
|
@ -144,5 +528,26 @@ public SpecialLabelBlue SpecialLabelBlue273 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue516 { get; set; }
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue516 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue497 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue496 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue513 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue359 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue494 { get; set; }
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue228 { get; set; }
|
|
|
|
|
|
|
|
public SpecialLabelBlue SpecialLabelBlue230 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool GetValue(string address)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var plc= PlcConnect.Instance.ReadBool(address).Content;
|
|
|
|
|
|
|
|
return plc;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|