add - 添加输送面板 DB191WriteHelper

dep_deliver
wangsr 11 months ago
parent 5fd498b56f
commit 0bc184c2be

@ -8,6 +8,7 @@ using Mesnac.Action.ChemicalWeighing.LjMaterial;
using Mesnac.Action.ChemicalWeighing.Util;
using Mesnac.Controls.Base;
using Mesnac.Controls.ChemicalWeighing;
using Mesnac.Controls.ChemicalWeighing.HslCurve;
using Mesnac.Controls.Default;
using Mesnac.Controls.Feeding;
using System;
@ -75,7 +76,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
/// <summary>
/// 曲线图
/// </summary>
MultiCurve PressureCurve;
HslCurve PressureCurve;
#endregion
@ -90,7 +91,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
Controls = GetAllControls();
AlarmMoveText = Controls.FirstOrDefault(x => x != null && x.Name == "AlarmMoveText") as HslMoveText;
PressureCurve = Controls.FirstOrDefault(x => x.Name == "PressureCurve") as MultiCurve;
PressureCurve = Controls.FirstOrDefault(x => x.Name == "PressureCurve") as HslCurve;
SetAllControls();
@ -128,6 +129,32 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
this.AlarmMoveText.ForeColor = Color.White;
this.AlarmMoveText.MoveSpeed = 4f;
this.AlarmMoveText.Text = AlarmString;
this.PressureCurve.ColorDashLines = Color.White;
this.PressureCurve.ColorLinesAndText = Color.White;
this.PressureCurve.Font = new Font("宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, 134);
this.PressureCurve.FontCalibration = new Font("微软雅黑", 9f);
this.PressureCurve.IsRenderRightCoordinate = true;
//this.PressureCurve.ReferenceAxisLeft.Color = Color.FromArgb(255, 128, 0);
this.PressureCurve.ReferenceAxisLeft.Unit = "MPa";
this.PressureCurve.ReferenceAxisLeft.Max = 0.8f;
this.PressureCurve.ReferenceAxisLeft.Min = 0;
this.PressureCurve.ReferenceAxisRight.Max = 0.8f;
this.PressureCurve.ReferenceAxisRight.Min = 0;
this.PressureCurve.ValueSegment = 8;
this.PressureCurve.IntervalAbscissaText = 60;
this.PressureCurve.ReferenceAxisRight.Color = Color.White;
this.PressureCurve.ReferenceAxisLeft.Color = Color.White;
this.PressureCurve.TextAddFormat = "HH:mm:ss";
this.PressureCurve.SetLeftCurve("A_1", null, Color.Red);
this.PressureCurve.SetLeftCurve("A_2", null, Color.Pink);
this.PressureCurve.SetLeftCurve("A_OUT", null, Color.Black);
this.PressureCurve.SetLeftCurve("B_1", null, Color.Blue);
this.PressureCurve.SetLeftCurve("B_2", null, Color.LightBlue);
this.PressureCurve.SetLeftCurve("B_OUT", null, Color.Gray);
this.PressureCurve.SetLeftCurve("C_1", null, Color.Orange);
this.PressureCurve.SetLeftCurve("C_2", null, Color.Yellow);
this.PressureCurve.SetLeftCurve("C_OUT", null, Color.LightGreen);
}
/// <summary>
@ -633,15 +660,29 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver
ControlsHelper.SetMCLabel(LabelE.PR1PCP02, (float)Math.Round(PlcTemp.PR1PCP02_Set, 2) + " MPa");
ControlsHelper.SetMCLabel(LabelE.PR1PCP03, (float)Math.Round(PlcTemp.PR1PCP03_Set, 2) + " MPa");
PressureCurve.PointValue1 = ControlsHelper.SetPressureCurve(PlcTemp.PR1DBT02_Set);
PressureCurve.PointValue2 = ControlsHelper.SetPressureCurve(PlcTemp.PR1DBT03_Set);
PressureCurve.PointValue3 = ControlsHelper.SetPressureCurve(PlcTemp.PR1DBT04_Set);
PressureCurve.PointValue4 = ControlsHelper.SetPressureCurve(PlcTemp.PR2DBT02_Set);
PressureCurve.PointValue5 = ControlsHelper.SetPressureCurve(PlcTemp.PR2DBT03_Set);
PressureCurve.PointValue6 = ControlsHelper.SetPressureCurve(PlcTemp.PR2DBT04_Set);
PressureCurve.PointValue7 = ControlsHelper.SetPressureCurve(PlcTemp.PR3DBT02_Set);
PressureCurve.PointValue8 = ControlsHelper.SetPressureCurve(PlcTemp.PR3DBT03_Set);
PressureCurve.PointValue9 = ControlsHelper.SetPressureCurve(PlcTemp.PR3DBT04_Set);
this.PressureCurve.AddCurveData(new string[]
{
"A_1",
"A_2",
"A_OUT",
"B_1",
"B_2",
"B_OUT",
"C_1",
"C_2",
"C_OUT",
}, new float[]
{
PlcTemp.PR1DBT02_Set,
PlcTemp.PR1DBT03_Set,
PlcTemp.PR1DBT04_Set,
PlcTemp.PR2DBT02_Set,
PlcTemp.PR2DBT03_Set,
PlcTemp.PR2DBT04_Set,
PlcTemp.PR3DBT02_Set,
PlcTemp.PR3DBT03_Set,
PlcTemp.PR3DBT04_Set,
});
}

@ -0,0 +1,17 @@
using Mesnac.Action.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
{
public class ControlBoardButtonAction : ChemicalWeighingAction, IAction
{
public void Run(RuntimeParameter runtime)
{
RunIni(runtime);
}
}
}

@ -0,0 +1,14 @@
using Mesnac.Action.ChemicalWeighing.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
{
public class ControlsHelper : ControlsImprot
{
}
}

@ -0,0 +1,129 @@
using Mesnac.Controls.ChemicalWeighing;
using Mesnac.Controls.Default;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard.Entity
{
internal class MCButtonEntity
{
public MCButton BoardOnA { get; set; }
public MCButton DownLoadBoardA { get; set; }
public MCButton BoardStartA { get; set; }
public MCButton BoardStopA { get; set; }
public MCButton AlarmClearA { get; set; }
public MCButton BoardOnB { get; set; }
public MCButton DownLoadBoardB { get; set; }
public MCButton BoardStartB { get; set; }
public MCButton BoardStopB { get; set; }
public MCButton AlarmClearB { get; set; }
public MCButton BoardOnC { get; set; }
public MCButton DownLoadBoardC { get; set; }
public MCButton BoardStartC { get; set; }
public MCButton BoardStopC { get; set; }
public MCButton AlarmClearC { get; set; }
}
internal class MCRadioButtonEntity
{
public MCRadioButton SingleBottle1A { get; set; }
public MCRadioButton SingleBottle2A { get; set; }
public MCRadioButton DoubleBottleA { get; set; }
public MCRadioButton StoreGroupAA { get; set; }
public MCRadioButton StoreGroupBA { get; set; }
public MCRadioButton StoreGroupCA { get; set; }
public MCRadioButton StoreGroupDA { get; set; }
public MCRadioButton StoreGroupEA { get; set; }
public MCRadioButton StoreGroupNoneA { get; set; }
public MCRadioButton StoreAA { get; set; }
public MCRadioButton StoreBA { get; set; }
public MCRadioButton StoreCA { get; set; }
public MCRadioButton StoreDA { get; set; }
public MCRadioButton StoreNoneA { get; set; }
public MCRadioButton SingleBottle1B { get; set; }
public MCRadioButton SingleBottle2B { get; set; }
public MCRadioButton DoubleBottleB { get; set; }
public MCRadioButton StoreGroupAB { get; set; }
public MCRadioButton StoreGroupBB { get; set; }
public MCRadioButton StoreGroupCB { get; set; }
public MCRadioButton StoreGroupDB { get; set; }
public MCRadioButton StoreGroupEB { get; set; }
public MCRadioButton StoreGroupNoneB { get; set; }
public MCRadioButton StoreAB { get; set; }
public MCRadioButton StoreBB { get; set; }
public MCRadioButton StoreCB { get; set; }
public MCRadioButton StoreDB { get; set; }
public MCRadioButton StoreNoneB { get; set; }
public MCRadioButton SingleBottle1C { get; set; }
public MCRadioButton SingleBottle2C { get; set; }
public MCRadioButton DoubleBottleC { get; set; }
public MCRadioButton StoreGroupAC { get; set; }
public MCRadioButton StoreGroupBC { get; set; }
public MCRadioButton StoreGroupCC { get; set; }
public MCRadioButton StoreGroupDC { get; set; }
public MCRadioButton StoreGroupEC { get; set; }
public MCRadioButton StoreGroupNoneC { get; set; }
public MCRadioButton StoreAC { get; set; }
public MCRadioButton StoreBC { get; set; }
public MCRadioButton StoreCC { get; set; }
public MCRadioButton StoreDC { get; set; }
public MCRadioButton StoreNoneC { get; set; }
}
internal class SwitchLightEntity
{
public SwitchLight SGLAA { get; set; }
public SwitchLight SGLBA { get; set; }
public SwitchLight SGLCA { get; set; }
public SwitchLight SGLDA { get; set; }
public SwitchLight SGLEA { get; set; }
public SwitchLight SLAA { get; set; }
public SwitchLight SLBA { get; set; }
public SwitchLight SLCA { get; set; }
public SwitchLight SLDA { get; set; }
public SwitchLight StartLightA { get; set; }
public SwitchLight StopLightA { get; set; }
public SwitchLight RoadCorrectA { get; set; }
public SwitchLight TubeCleanA { get; set; }
public SwitchLight ActionBottleFullA { get; set; }
public SwitchLight AlarmLightA { get; set; }
public SwitchLight SGLAB { get; set; }
public SwitchLight SGLBB { get; set; }
public SwitchLight SGLCB { get; set; }
public SwitchLight SGLDB { get; set; }
public SwitchLight SGLEB { get; set; }
public SwitchLight SLAB { get; set; }
public SwitchLight SLBB { get; set; }
public SwitchLight SLCB { get; set; }
public SwitchLight SLDB { get; set; }
public SwitchLight StartLightB { get; set; }
public SwitchLight StopLightB { get; set; }
public SwitchLight RoadCorrectB { get; set; }
public SwitchLight TubeCleanB { get; set; }
public SwitchLight ActionBottleFullB { get; set; }
public SwitchLight AlarmLightB { get; set; }
public SwitchLight SGLAC { get; set; }
public SwitchLight SGLBC { get; set; }
public SwitchLight SGLCC { get; set; }
public SwitchLight SGLDC { get; set; }
public SwitchLight SGLEC { get; set; }
public SwitchLight SLAC { get; set; }
public SwitchLight SLBC { get; set; }
public SwitchLight SLCC { get; set; }
public SwitchLight SLDC { get; set; }
public SwitchLight StartLightC { get; set; }
public SwitchLight StopLightC { get; set; }
public SwitchLight RoadCorrectC { get; set; }
public SwitchLight TubeCleanC { get; set; }
public SwitchLight ActionBottleFullC { get; set; }
public SwitchLight AlarmLightC { get; set; }
}
}

@ -0,0 +1,31 @@
using Mesnac.Action.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Timer = System.Windows.Forms.Timer;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
{
public class InitAction : ChemicalWeighingAction, IAction
{
Timer timer;
public void Run(RuntimeParameter runtime)
{
RunIni(runtime);
timer = new Timer();
timer.Interval = 1000;
timer.Enabled = true;
timer.Tick += GetPlcValue;//添加事件
}
private void GetPlcValue(object sender, EventArgs e)
{
}
}
}

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverControlBoard
{
public class PLCDownloadControl
{
}
}

@ -29,7 +29,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
List<Control> Controls;
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime);
RunIni(runtime);
Controls = GetAllControls();

@ -81,7 +81,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
}
}
}

@ -301,6 +301,11 @@
<DependentUpon>FormClientManager.cs</DependentUpon>
</Compile>
<Compile Include="LjClick\InitFormAction.cs" />
<Compile Include="LjDeliverControlBoard\ControlBoardButtonAction.cs" />
<Compile Include="LjDeliverControlBoard\ControlsHelper.cs" />
<Compile Include="LjDeliverControlBoard\Entity\ControlBoardEntity.cs" />
<Compile Include="LjDeliverControlBoard\InitAction.cs" />
<Compile Include="LjDeliverControlBoard\PLCDownloadControl.cs" />
<Compile Include="LjDeliverPressureSetting\ControlsHelper.cs" />
<Compile Include="LjDeliverPressureSetting\Entity\DeliverPressureEntity.cs" />
<Compile Include="LjDeliverPressureSetting\InitAction.cs" />

@ -46,25 +46,15 @@ namespace Mesnac.Action.ChemicalWeighing.Test
int count = 0;
public void theout(object source, EventArgs e)
{
a += 1;
//LoggingService<TestAction>.InfoFormatted("定时器开始运行");
//ReportReadDb.ReadReport();
//MultiCurve1.PointValue1 = Math.Sqrt(Math.Abs(Math.Sin(a))) + Math.Sqrt(Math.Abs(Math.Cos(a)));
//MultiCurve1.PointValue2 = Math.Sqrt(Math.Abs(Math.Sin(a))) - Math.Sqrt(Math.Abs(Math.Cos(a)));
a++;
if (a > 200 && a < 400)
{
this.PressureCurve.ReferenceAxisLeft.Max = 500;
}
else if (a > 400)
{
this.PressureCurve.ReferenceAxisLeft.Max = 200;
}
var random = new
Random();
//MultiCurve1.PointValue1 =
//MultiCurve1.PointValue2 =
a += 0.01;
var random = new Random();
this.count++;
float num = (float)(Math.Sin(6.283185307179586 * (double)this.count / 30.0) * 0.5 + 0.5);
float num2 = (float)(Math.Sin(6.283185307179586 * (double)this.count / 50.0) * 0.5 + 0.5);
float num = (float)(Math.Sqrt(Math.Abs(Math.Sin(a))) + Math.Sqrt(Math.Abs(Math.Cos(a))));
float num2 = (float)(Math.Sqrt(Math.Abs(Math.Sin(a))) - Math.Sqrt(Math.Abs(Math.Cos(a))));
float num3 = (float)(Math.Cos(6.283185307179586 * (double)this.count / 80.0) * 0.5 + 0.5);
this.PressureCurve.AddCurveData(new string[]
{
@ -73,9 +63,9 @@ namespace Mesnac.Action.ChemicalWeighing.Test
"C"
}, new float[]
{
num * 10f + 80f,
num2 * 20f + 50f,
num2 * 10f
num,
num2,
num2
});
}
@ -97,9 +87,10 @@ namespace Mesnac.Action.ChemicalWeighing.Test
this.PressureCurve.IsRenderRightCoordinate = false;
//this.PressureCurve.ReferenceAxisLeft.Color = Color.FromArgb(255, 128, 0);
this.PressureCurve.ReferenceAxisLeft.Unit = "℃";
//this.PressureCurve.ReferenceAxisLeft.Max = 500;
//this.PressureCurve.ReferenceAxisLeft.Min = 0;
this.PressureCurve.ReferenceAxisLeft.Max = 2;
this.PressureCurve.ReferenceAxisLeft.Min = -2;
this.PressureCurve.TabIndex = 2;
this.PressureCurve.StrechDataCountMax = 200;
this.PressureCurve.SetLeftCurve("A", null, Color.DodgerBlue);
@ -121,7 +112,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test
//mCButton.Click += MCButton_Click;
System.Timers.Timer t = new System.Timers.Timer(1000);//实例化Timer类设置间隔时间为10000毫秒
System.Timers.Timer t = new System.Timers.Timer(50);//实例化Timer类设置间隔时间为10000毫秒
t.Elapsed += new System.Timers.ElapsedEventHandler(theout);//到达时间的时候执行事件;
t.AutoReset = true;//设置是执行一次false还是一直执行(true)
t.Enabled = true;//是否执行System.Timers.Timer.Elapsed事件

@ -387,7 +387,7 @@ namespace Mesnac.Controls.ChemicalWeighing.HslCurve
// (get) Token: 0x06000218 RID: 536 RVA: 0x0001E774 File Offset: 0x0001C974
// (set) Token: 0x06000219 RID: 537 RVA: 0x0001E77C File Offset: 0x0001C97C
[Browsable(true)]
[Description("获取或设置曲线名称的布局宽度默认为150")]
[Description("获取或设置曲线名称的布局宽度默认为100")]
[Category("HslControls")]
[DefaultValue(100)]
public virtual int CurveNameWidth

@ -14,10 +14,15 @@ namespace DataBlockHelper.DBHelpers
bytes = PlcConnect.Instance.Read("DB191.0.0", 30).Content;
}
public ControlPanelEntity ControlPanel_A => new ControlPanelEntity(0, bytes);
public ControlPanelEntity ControlPanel_B => new ControlPanelEntity(4, bytes);
public ControlPanelEntity ControlPanel_C => new ControlPanelEntity(8, bytes);
public ForConveyorStep ConveyStep_A => new ForConveyorStep(12, bytes);
public ForConveyorStep ConveyStep_B => new ForConveyorStep(16, bytes);
public ForConveyorStep ConveyStep_C => new ForConveyorStep(20, bytes);
public bool[] GetVesselMode()
{
var content = bytes.Skip(24).Take(6).ToArray();
@ -39,5 +44,20 @@ namespace DataBlockHelper.DBHelpers
return bools;
}
public bool[] GetPanelStart()
{
var content = bytes.Skip(30).Take(1).ToArray();
byte byt = content[0];
bool[] bools = new bool[3];
bools[0] = byt.GetBit(0);
bools[1] = byt.GetBit(1);
bools[2] = byt.GetBit(2);
return bools;
}
}
}

@ -0,0 +1,149 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB191WriteHelper
{
private static readonly string DbName = "DB191";
public static void SetVesselModeA(bool state1, bool state2)
{
AddVesselMode(0, state1, state2);
}
public static void SetSiloGroupA(bool state1, bool state2, bool state3, bool state4, bool state5)
{
AddSiloGroup(0, state1, state2, state3, state4, state5);
}
public static void SetSiloA(bool state1, bool state2, bool state3, bool state4)
{
AddSilo(0, state1, state2, state3, state4);
}
public static void SetClearAlarmA(bool state1)
{
AddClearAlarm(0, state1);
}
public static void SetStartA(bool state1)
{
AddStart(0, state1);
}
public static void SetStopA(bool state1)
{
AddStop(0, state1);
}
public static void SetVesselModeB(bool state1, bool state2)
{
AddVesselMode(4, state1, state2);
}
public static void SetSiloGroupB(bool state1, bool state2, bool state3, bool state4, bool state5)
{
AddSiloGroup(4, state1, state2, state3, state4, state5);
}
public static void SetSiloB(bool state1, bool state2, bool state3, bool state4)
{
AddSilo(4, state1, state2, state3, state4);
}
public static void SetClearAlarmB(bool state1)
{
AddClearAlarm(4, state1);
}
public static void SetStartB(bool state1)
{
AddStart(4, state1);
}
public static void SetStopB(bool state1)
{
AddStop(4, state1);
}
public static void SetVesselModeC(bool state1, bool state2)
{
AddVesselMode(8, state1, state2);
}
public static void SetSiloGroupC(bool state1, bool state2, bool state3, bool state4, bool state5)
{
AddSiloGroup(8, state1, state2, state3, state4, state5);
}
public static void SetSiloC(bool state1, bool state2, bool state3, bool state4)
{
AddSilo(8, state1, state2, state3, state4);
}
public static void SetClearAlarmC(bool state1)
{
AddClearAlarm(8, state1);
}
public static void SetStartC(bool state1)
{
AddStart(8, state1);
}
public static void SetStopC(bool state1)
{
AddStop(8, state1);
}
private static void AddVesselMode(int start, bool state1, bool state2)
{
AddPanel(0 + start, 0, state1);
AddPanel(0 + start, 1, state2);
}
private static void AddSiloGroup(int start, bool state1, bool state2, bool state3, bool state4, bool state5)
{
AddPanel(0 + start, 2, state1);
AddPanel(0 + start, 3, state2);
AddPanel(0 + start, 4, state3);
AddPanel(0 + start, 5, state4);
AddPanel(0 + start, 6, state5);
}
private static void AddSilo(int start, bool state1, bool state2, bool state3, bool state4)
{
AddPanel(0 + start, 7, state1);
AddPanel(1 + start, 0, state2);
AddPanel(1 + start, 1, state3);
AddPanel(1 + start, 2, state4);
}
private static void AddClearAlarm(int start, bool state1)
{
AddPanel(1 + start, 3, state1);
}
private static void AddStart(int start, bool state1)
{
AddPanel(1 + start, 5, state1);
}
private static void AddStop(int start, bool state1)
{
AddPanel(1 + start, 6, state1);
}
private static void AddPanel(int start, int bit, bool state)
{
var siemensS7Net = PlcConnect.Instance;
siemensS7Net.Write($"{DbName}.{start}.{bit}", state);
}
}
}

@ -56,6 +56,7 @@
<Compile Include="DBHelpers\DB137WriterHelper.cs" />
<Compile Include="DBHelpers\DB141Helper.cs" />
<Compile Include="DBHelpers\DB191Helper.cs" />
<Compile Include="DBHelpers\DB191WriteHelper.cs" />
<Compile Include="DBHelpers\DB1Helper.cs" />
<Compile Include="DBHelpers\DB2102Helper.cs" />
<Compile Include="DBHelpers\DB2103Helper.cs" />
@ -79,6 +80,7 @@
<Compile Include="DBHelpers\MReadHelp.cs" />
<Compile Include="DbWrite\PlcWriteUtil.cs" />
<Compile Include="Entity\ClickEntity.cs" />
<Compile Include="Entity\DB191Entity\ControlPanelEntity.cs" />
<Compile Include="Entity\DB191Entity\ForConveyorStep.cs" />
<Compile Include="Entity\DB1Entity\ForAnaLogIn.cs" />
<Compile Include="Entity\DB1Entity\ForAnaLogOut.cs" />

@ -0,0 +1,89 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.Entity.DB191Entity
{
public class ControlPanelEntity
{
public ControlPanelEntity(ushort startSet, byte[] bytes)
{
byte[] content = bytes.Skip(startSet).Take(4).ToArray();
byte byt = content[0];
vesselMode1 = byt.GetBit(0);
vesselMode2 = byt.GetBit(1);
siloGroup1 = byt.GetBit(2);
siloGroup2 = byt.GetBit(3);
siloGroup3 = byt.GetBit(4);
siloGroup4 = byt.GetBit(5);
siloGroup5 = byt.GetBit(6);
silo1 = byt.GetBit(7);
byt = content[1];
silo2 = byt.GetBit(0);
silo3 = byt.GetBit(1);
silo4 = byt.GetBit(2);
clearAlarm = byt.GetBit(3);
lampTest = byt.GetBit(4);
start = byt.GetBit(5);
stop = byt.GetBit(6);
siloGroupLamp1 = byt.GetBit(7);
byt = content[2];
siloGroupLamp2 = byt.GetBit(0);
siloGroupLamp3 = byt.GetBit(1);
siloGroupLamp4 = byt.GetBit(2);
siloGroupLamp5 = byt.GetBit(3);
siloLamp1 = byt.GetBit(4);
siloLamp2 = byt.GetBit(5);
siloLamp3 = byt.GetBit(6);
siloLamp4 = byt.GetBit(7);
byt = content[3];
startLamp = byt.GetBit(0);
stopLamp = byt.GetBit(1);
cleanLamp = byt.GetBit(2);
pathOkLamp = byt.GetBit(3);
siloFullLamp = byt.GetBit(4);
Buzzer = byt.GetBit(5);
}
public bool vesselMode1 { get; set; }
public bool vesselMode2 { get; set; }
public bool siloGroup1 { get; set; }
public bool siloGroup2 { get; set; }
public bool siloGroup3 { get; set; }
public bool siloGroup4 { get; set; }
public bool siloGroup5 { get; set; }
public bool silo1 { get; set; }
public bool silo2 { get; set; }
public bool silo3 { get; set; }
public bool silo4 { get; set; }
public bool clearAlarm { get; set; }
public bool lampTest { get; set; }
public bool start { get; set; }
public bool stop { get; set; }
public bool siloGroupLamp1 { get; set; }
public bool siloGroupLamp2 { get; set; }
public bool siloGroupLamp3 { get; set; }
public bool siloGroupLamp4 { get; set; }
public bool siloGroupLamp5 { get; set; }
public bool siloLamp1 { get; set; }
public bool siloLamp2 { get; set; }
public bool siloLamp3 { get; set; }
public bool siloLamp4 { get; set; }
public bool startLamp { get; set; }
public bool stopLamp { get; set; }
public bool cleanLamp { get; set; }
public bool pathOkLamp { get; set; }
public bool siloFullLamp { get; set; }
public bool Buzzer { get; set; }
}
}

@ -35,6 +35,7 @@
<Node Name="WaterForceControl" Text="水称强制控制" ToolTipText="WaterForceControl" Tag="WaterForceControl" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="LjLogForm" Text="榄菊生产日志" ToolTipText="LjLogForm" Tag="LjLogForm" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="DeliverPressureSetting" Text="输送压送罐参数设置" ToolTipText="DeliverPressureSetting" Tag="DeliverPressureSetting" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="DeliverControlBoard" Text="输送操作面板" ToolTipText="DeliverControlBoard" Tag="DeliverControlBoard" ImageIndex="3" SelectedImageIndex="3" />
</Node>
<Node Name="nodeDevice" Text="设备" ToolTipText="" Tag="nodeDevice" ImageIndex="2" SelectedImageIndex="2" />
<Node Name="nodeDataSource" Text="数据源" ToolTipText="" Tag="nodeDataSource" ImageIndex="6" SelectedImageIndex="6">

File diff suppressed because it is too large Load Diff

@ -2666,7 +2666,7 @@
<Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property>
<Property name="Size">1271, 949</Property>
<Property name="Size">946, 949</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">输送压送罐参数设置</Property>
<Property name="WindowState">Normal</Property>

@ -1,8 +1,98 @@
<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.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SGLE" children="Controls">
<Property name="StatusName" />
<Property name="Location">817, 776</Property>
<Property name="Name">SGLE</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SGLD" children="Controls">
<Property name="StatusName" />
<Property name="Location">724, 777</Property>
<Property name="Name">SGLD</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SGLC" children="Controls">
<Property name="StatusName" />
<Property name="Location">631, 776</Property>
<Property name="Name">SGLC</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SGLB" children="Controls">
<Property name="StatusName" />
<Property name="Location">537, 777</Property>
<Property name="Name">SGLB</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SGLA" children="Controls">
<Property name="StatusName" />
<Property name="Location">445, 777</Property>
<Property name="Name">SGLA</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SLD" children="Controls">
<Property name="StatusName" />
<Property name="Location">703, 603</Property>
<Property name="Name">SLD</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SLC" children="Controls">
<Property name="StatusName" />
<Property name="Location">610, 602</Property>
<Property name="Name">SLC</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SLB" children="Controls">
<Property name="StatusName" />
<Property name="Location">516, 603</Property>
<Property name="Name">SLB</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SLA" children="Controls">
<Property name="StatusName" />
<Property name="Location">425, 603</Property>
<Property name="Name">SLA</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StopLight" children="Controls">
<Property name="StatusName" />
<Property name="Location">836, 862</Property>
<Property name="Name">StopLight</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="StartLight" children="Controls">
<Property name="StatusName" />
<Property name="Location">566, 862</Property>
<Property name="Name">StartLight</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmLight" children="Controls">
<Property name="StatusName" />
<Property name="Location">854, 987</Property>
<Property name="Name">AlarmLight</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="ActionBottleFull" children="Controls">
<Property name="StatusName" />
<Property name="Location">703, 969</Property>
<Property name="Name">ActionBottleFull</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="TubeClean" children="Controls">
<Property name="StatusName" />
<Property name="Location">595, 969</Property>
<Property name="Name">TubeClean</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="RoadCorrect" children="Controls">
<Property name="StatusName" />
<Property name="Location">498, 969</Property>
<Property name="Name">RoadCorrect</Property>
<Property name="Size">53, 53</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslCurve.HslCurve, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PressureCurve" children="Controls">
<Property name="Location">257, 624</Property>
<Property name="Location">212, 175</Property>
<Property name="Name">PressureCurve</Property>
<Property name="Size">777, 314</Property>
</Object>

@ -1,9 +1,90 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="LjDeliver" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel15" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel238" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<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="Text">报警指示</Property>
<Property name="Font">宋体, 9pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1804, 876</Property>
<Property name="Name">MCLabel238</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmIndicate" children="Controls">
<Property name="StatusName" />
<Property name="Location">1868, 869</Property>
<Property name="Name">AlarmIndicate</Property>
<Property name="Size">27, 28</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslMoveText, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmMoveText" children="Controls">
<Property name="Location">37, 869</Property>
<Property name="Name">AlarmMoveText</Property>
<Property name="Size">1750, 30</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR1PCP03" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<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="Text">0</Property>
<Property name="ForeColor">White</Property>
<Property name="Location">624, 852</Property>
<Property name="Name">PR1PCP03</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AS1PCP03" children="Controls">
<Property name="AlarmName" />
<Property name="SetName" />
<Property name="Location">682, 852</Property>
<Property name="Name">AS1PCP03</Property>
<Property name="Size">14, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue599" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="MCKey" />
<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="TextAlign">MiddleCenter</Property>
<Property name="BackColor">Aqua</Property>
<Property name="Location">127, 864</Property>
<Property name="Name">SpecialLabelBlue599</Property>
<Property name="Size">561, 1</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslCurve.HslCurve, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PressureCurve" children="Controls">
<Property name="Location">672, 483</Property>
<Property name="Name">PressureCurve</Property>
<Property name="Size">1240, 382</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue15" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -24,8 +105,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue6" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -46,8 +126,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue5" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -68,8 +147,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue14" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -90,8 +168,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue13" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -112,8 +189,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue12" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -134,8 +210,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue11" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -156,8 +231,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue10" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -178,8 +252,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue9" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -200,8 +273,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue8" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -222,8 +294,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue7" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -244,8 +315,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue4" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -266,8 +336,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue3" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -288,8 +357,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue2" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -310,8 +378,7 @@
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslBottleValue1" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1164,26 +1231,6 @@
<Property name="Name">SpecialLabelBlue477</Property>
<Property name="Size">1, 17</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR1PCP03" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<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="Text">0</Property>
<Property name="ForeColor">White</Property>
<Property name="Location">624, 852</Property>
<Property name="Name">PR1PCP03</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR1PCP02" children="Controls">
<Property name="Format" />
<Property name="TextName" />
@ -1224,99 +1271,6 @@
<Property name="Name">PR1PCP01</Property>
<Property name="Size">11, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel1" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<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="Text">MPa</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">710, 494</Property>
<Property name="Name">MCLabel1</Property>
<Property name="Size">23, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.MultiCurve, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PressureCurve" children="Controls">
<Property name="Title">压送罐压力曲线</Property>
<Property name="IsShowTime">True</Property>
<Property name="IsShowLegend">True</Property>
<Property name="LegendPosition">Right</Property>
<Property name="IsShowChartList">False</Property>
<Property name="CharListWidth">50</Property>
<Property name="IsShowCommander">False</Property>
<Property name="DefaultNum">20</Property>
<Property name="Num">60</Property>
<Property name="LineWidth">1</Property>
<Property name="CurveType">Pan</Property>
<Property name="IsUseMixTime">False</Property>
<Property name="MixTime">10</Property>
<Property name="CurveName1">A_1号压送罐</Property>
<Property name="CurveName2">A_2号压送罐</Property>
<Property name="CurveName3">A_出料口</Property>
<Property name="CurveName4">B_1号压送罐</Property>
<Property name="CurveName5">B_2号压送罐</Property>
<Property name="CurveName6">B_出料口</Property>
<Property name="CurveName7">C_1号压送罐</Property>
<Property name="CurveName8">C_2号压送罐</Property>
<Property name="CurveName9">C_出料口</Property>
<Property name="CurveName10">
</Property>
<Property name="CurveName11">
</Property>
<Property name="CurveName12">
</Property>
<Property name="VertAxis1">Left</Property>
<Property name="VertAxis2">Left</Property>
<Property name="VertAxis3">Left</Property>
<Property name="VertAxis4">Left</Property>
<Property name="VertAxis5">Left</Property>
<Property name="VertAxis6">Left</Property>
<Property name="VertAxis7">Left</Property>
<Property name="VertAxis8">Left</Property>
<Property name="VertAxis9">Left</Property>
<Property name="VertAxis10">Left</Property>
<Property name="VertAxis11">Left</Property>
<Property name="VertAxis12">Left</Property>
<Property name="MixTimeName" />
<Property name="PointName1" />
<Property name="PointName2" />
<Property name="PointName3" />
<Property name="PointName4" />
<Property name="PointName5" />
<Property name="PointName6" />
<Property name="PointName7" />
<Property name="PointName8" />
<Property name="PointName9" />
<Property name="PointName10" />
<Property name="PointName11" />
<Property name="PointName12" />
<Property name="ColorValue1">Red</Property>
<Property name="ColorValue2">Fuchsia</Property>
<Property name="ColorValue3">Black</Property>
<Property name="ColorValue4">Blue</Property>
<Property name="ColorValue5">128, 255, 255</Property>
<Property name="ColorValue6">Gray</Property>
<Property name="ColorValue7">255, 128, 0</Property>
<Property name="ColorValue8">Yellow</Property>
<Property name="ColorValue9">Lime</Property>
<Property name="ColorValue10">221, 160, 221</Property>
<Property name="ColorValue11">144, 238, 144</Property>
<Property name="ColorValue12">255, 0, 255</Property>
<Property name="ButtomAxes">0</Property>
<Property name="LeftAxes">0</Property>
<Property name="RightAxes">0</Property>
<Property name="Location">704, 491</Property>
<Property name="Name">PressureCurve</Property>
<Property name="Size">1183, 374</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.Fan, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="DM3DSM01" children="Controls">
<Property name="AlarmValue" />
<Property name="StatusName" />
@ -1941,33 +1895,6 @@
<Property name="Name">Cabinet1</Property>
<Property name="Size">11, 14</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel238" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />
<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="Text">报警指示</Property>
<Property name="Font">宋体, 9pt</Property>
<Property name="ForeColor">ButtonHighlight</Property>
<Property name="Location">1796, 880</Property>
<Property name="Name">MCLabel238</Property>
<Property name="Size">53, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.SwitchLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmIndicate" children="Controls">
<Property name="StatusName" />
<Property name="Location">1860, 873</Property>
<Property name="Name">AlarmIndicate</Property>
<Property name="Size">27, 28</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="agsfbsg" children="Controls">
<Property name="Format" />
<Property name="TextName" />
@ -2404,11 +2331,6 @@
<Property name="Name">SpecialLabelBlue506</Property>
<Property name="Size">3, 135</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.HslMoveText, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AlarmMoveText" children="Controls">
<Property name="Location">29, 873</Property>
<Property name="Name">AlarmMoveText</Property>
<Property name="Size">1750, 30</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PR3DBT01" children="Controls">
<Property name="Format" />
<Property name="TextName" />
@ -2892,13 +2814,6 @@
<Property name="Name">DV1PCP17</Property>
<Property name="Size">22, 12</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.LjSwith, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="AS1PCP03" children="Controls">
<Property name="AlarmName" />
<Property name="SetName" />
<Property name="Location">682, 852</Property>
<Property name="Name">AS1PCP03</Property>
<Property name="Size">14, 12</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue690" children="Controls">
<Property name="Format" />
<Property name="TextName" />
@ -4278,24 +4193,6 @@
<Property name="Name">SpecialLabelBlue624</Property>
<Property name="Size">1, 39</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue599" children="Controls">
<Property name="Format" />
<Property name="TextName" />
<Property name="MCKey" />
<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="TextAlign">MiddleCenter</Property>
<Property name="BackColor">Aqua</Property>
<Property name="Location">127, 864</Property>
<Property name="Name">SpecialLabelBlue599</Property>
<Property name="Size">561, 1</Property>
</Object>
<Object type="Mesnac.Controls.Default.SpecialLabelBlue, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SpecialLabelBlue600" children="Controls">
<Property name="Format" />
<Property name="TextName" />

Loading…
Cancel
Save