add - 输送参数设置完成

dep
wangsr 11 months ago
parent 8516b21a7a
commit 049c3d54f1

@ -9,8 +9,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting.Entity
{
public class MCButtonEntity
{
public MCButton UpLoad { get; set; }
public MCButton DownLoad { get; set; }
public MCButton Download { get; set; }
public MCButton Refresh { get; set; }
}

@ -1,4 +1,5 @@
using Mesnac.Action.Base;
using DataBlockHelper.DBHelpers;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting.Entity;
using Mesnac.Controls.Default;
using System;
@ -12,6 +13,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
{
public class InitAction : ChemicalWeighingAction, IAction
{
DB112Helper DB122 = new DB112Helper();
MCTextboxEntity BoxE = new MCTextboxEntity();
List<Control> Controls;
@ -28,7 +30,36 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
private void SetValueFromPlc()
{
BoxE.ASetValue1.MCValue = DB122.PressureA.SetValue1;
BoxE.ASetValue2.MCValue = DB122.PressureA.SetValue2;
BoxE.ASetValue3.MCValue = DB122.PressureA.SetValue3;
BoxE.ASetValue4.MCValue = DB122.PressureA.SetValue4;
BoxE.ASetValue5.MCValue = DB122.PressureA.SetValue5;
BoxE.ASetValue6.MCValue = DB122.PressureA.SetValue6;
BoxE.ASetValue7.MCValue = DB122.PressureA.SetValue7;
BoxE.ASetValue8.MCValue = DB122.PressureA.SetValue8;
BoxE.BSetValue1.MCValue = DB122.PressureB.SetValue1;
BoxE.BSetValue2.MCValue = DB122.PressureB.SetValue2;
BoxE.BSetValue3.MCValue = DB122.PressureB.SetValue3;
BoxE.BSetValue4.MCValue = DB122.PressureB.SetValue4;
BoxE.BSetValue5.MCValue = DB122.PressureB.SetValue5;
BoxE.BSetValue6.MCValue = DB122.PressureB.SetValue6;
BoxE.BSetValue7.MCValue = DB122.PressureB.SetValue7;
BoxE.BSetValue8.MCValue = DB122.PressureB.SetValue8;
BoxE.CSetValue1.MCValue = DB122.PressureC.SetValue1;
BoxE.CSetValue2.MCValue = DB122.PressureC.SetValue2;
BoxE.CSetValue3.MCValue = DB122.PressureC.SetValue3;
BoxE.CSetValue4.MCValue = DB122.PressureC.SetValue4;
BoxE.CSetValue5.MCValue = DB122.PressureC.SetValue5;
BoxE.CSetValue6.MCValue = DB122.PressureC.SetValue6;
BoxE.CSetValue7.MCValue = DB122.PressureC.SetValue7;
BoxE.CSetValue8.MCValue = DB122.PressureC.SetValue8;
BoxE.ATimeSetValue1.MCValue = DB122.LineTimeA.SetValue1;
BoxE.ATimeSetValue2.MCValue = DB122.LineTimeA.SetValue2;
BoxE.BTimeSetValue1.MCValue = DB122.LineTimeB.SetValue1;
BoxE.BTimeSetValue2.MCValue = DB122.LineTimeB.SetValue2;
BoxE.CTimeSetValue1.MCValue = DB122.LineTimeC.SetValue1;
BoxE.CTimeSetValue2.MCValue = DB122.LineTimeC.SetValue2;
}
}
}

@ -0,0 +1,150 @@
using DataBlockHelper.DBHelpers;
using Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting.Entity;
using System;
using System.Collections.Generic;
using System.Drawing.Text;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
{
public class PlcDownload
{
public static void PressureSettingDownload(MCTextboxEntity BoxE)
{
Conveyor conveyorA = new Conveyor();
Conveyor conveyorB = new Conveyor();
Conveyor conveyorC = new Conveyor();
ConveyorTimer conveyorTimerA = new ConveyorTimer();
ConveyorTimer conveyorTimerB = new ConveyorTimer();
ConveyorTimer conveyorTimerC = new ConveyorTimer();
string Alarm = "组数值超出取值范围大于0小于50";
if (!SetValueWithJudge(conveyorA,
Convert.ToSingle(BoxE.ASetValue1.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue2.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue3.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue4.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue5.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue6.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue7.MCValue.ToString()),
Convert.ToSingle(BoxE.ASetValue8.MCValue.ToString())))
{
MessageBox.Show("A" + Alarm);
return;
}
if (!SetValueWithJudge(conveyorB,
Convert.ToSingle(BoxE.BSetValue1.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue2.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue3.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue4.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue5.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue6.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue7.MCValue.ToString()),
Convert.ToSingle(BoxE.BSetValue8.MCValue.ToString())))
{
MessageBox.Show("B" + Alarm);
return;
}
if (!SetValueWithJudge(conveyorC,
Convert.ToSingle(BoxE.CSetValue1.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue2.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue3.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue4.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue5.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue6.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue7.MCValue.ToString()),
Convert.ToSingle(BoxE.CSetValue8.MCValue.ToString())))
{
MessageBox.Show("C" + Alarm);
return;
}
if (!SetValueWithJudge(conveyorTimerA,
Convert.ToInt16(BoxE.ATimeSetValue1.MCValue.ToString()),
Convert.ToInt16(BoxE.ATimeSetValue2.MCValue.ToString())))
{
MessageBox.Show("时间设定A" + Alarm);
return;
}
if (!SetValueWithJudge(conveyorTimerA,
Convert.ToInt16(BoxE.BTimeSetValue1.MCValue.ToString()),
Convert.ToInt16(BoxE.BTimeSetValue2.MCValue.ToString())))
{
MessageBox.Show("时间设定B" + Alarm);
return;
}
if (!SetValueWithJudge(conveyorTimerA,
Convert.ToInt16(BoxE.CTimeSetValue1.MCValue.ToString()),
Convert.ToInt16(BoxE.CTimeSetValue2.MCValue.ToString())))
{
MessageBox.Show("时间设定C" + Alarm);
return;
}
DB112WriterHelper.AddConveyorA(conveyorA);
DB112WriterHelper.AddConveyorB(conveyorB);
DB112WriterHelper.AddConveyorC(conveyorC);
DB112WriterHelper.AddConveyorTimerA(conveyorTimerA);
DB112WriterHelper.AddConveyorTimerB(conveyorTimerB);
DB112WriterHelper.AddConveyorTimerC(conveyorTimerC);
MessageBox.Show("数据下达成功!");
}
private static bool SetValueWithJudge(Conveyor conveyor, float v1, float v2, float v3, float v4, float v5, float v6, float v7, float v8)
{
if (JudgeValue(v1) && JudgeValue(v2) && JudgeValue(v3) && JudgeValue(v4) && JudgeValue(v5) && JudgeValue(v6) && JudgeValue(v7) && JudgeValue(v8))
{
conveyor.SetValue1 = v1;
conveyor.SetValue2 = v1;
conveyor.SetValue3 = v1;
conveyor.SetValue4 = v1;
conveyor.SetValue5 = v1;
conveyor.SetValue6 = v1;
conveyor.SetValue7 = v1;
conveyor.SetValue8 = v1;
return true;
}
else
{
return false;
}
}
private static bool SetValueWithJudge(ConveyorTimer conveyor, short v1, short v2)
{
if (JudgeValue(v1) && JudgeValue(v2))
{
conveyor.SetValue1 = v1;
conveyor.SetValue2 = v2;
return true;
}
else
{
return false;
}
}
private static bool JudgeValue(float value)
{
if (value < 0 || value > 50)
{
return false;
}
else
{
return true;
}
}
}
}

@ -1,4 +1,6 @@
using ICSharpCode.Core;
using DataBlockHelper.DBHelpers;
using DevExpress.Utils.Taskbar;
using ICSharpCode.Core;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting.Entity;
using Mesnac.Controls.Default;
@ -26,7 +28,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
SetAllControus();
ButtonAction(runtime);
}
public void SetAllControus()
@ -35,21 +37,18 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliverPressureSetting
ControlsHelper.ControlImport<MCTextBox>(BoxE, Controls);
}
public void ButtonSelect(RuntimeParameter runtime)
{
if (ButtonE.DownLoad == runtime.Sender)
public void ButtonAction(RuntimeParameter runtime)
{
}
if (ButtonE.UpLoad == runtime.Sender)
if (ButtonE.Download == runtime.Sender)
{
}
if (ButtonE.Refresh == runtime.Sender)
if(MessageBox.Show("确定要下传数据到PLC", "下传数据确认", MessageBoxButtons.YesNo) == DialogResult.No)
{
return;
}
PlcDownload.PressureSettingDownload(BoxE);
}
}

@ -304,6 +304,7 @@
<Compile Include="LjDeliverPressureSetting\ControlsHelper.cs" />
<Compile Include="LjDeliverPressureSetting\Entity\DeliverPressureEntity.cs" />
<Compile Include="LjDeliverPressureSetting\InitAction.cs" />
<Compile Include="LjDeliverPressureSetting\PlcDownload.cs" />
<Compile Include="LjDeliverPressureSetting\PressureSettingButtonAction.cs" />
<Compile Include="LjDeliver\ControlsHelper.cs" />
<Compile Include="LjDeliver\DeliverInitAction.cs" />

@ -8,10 +8,11 @@ using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB112Helper: DBHelper
public class DB112Helper : DBHelper
{
public DB112Helper() {
public DB112Helper()
{
OperateResult<byte[]> db112 = PlcConnect.Instance.Read("DB112.0.0", 151);
bytes = db112.Content;
}
@ -21,11 +22,9 @@ namespace DataBlockHelper.DBHelpers
public Conveyor PressureB => new Conveyor(34, bytes);
public Conveyor PressureC => new Conveyor(66, bytes);
public ConveyorTimer LineTimeA=>new ConveyorTimer(98, bytes);
public ConveyorTimer LineTimeA => new ConveyorTimer(98, bytes);
public ConveyorTimer LineTimeB => new ConveyorTimer(102, bytes);
@ -41,7 +40,7 @@ namespace DataBlockHelper.DBHelpers
public Conveyor(ushort startSet, byte[] bytes)
{
byte[] content = bytes.Skip(startSet).Take(32).ToArray();
var trans= PlcConnect.Instance.ByteTransform;
var trans = PlcConnect.Instance.ByteTransform;
SetValue1 = trans.TransSingle(content, 0);
SetValue2 = trans.TransSingle(content, 4);
SetValue3 = trans.TransSingle(content, 8);

@ -33,7 +33,7 @@ namespace DataBlockHelper.DBHelpers
{
int start = 66;
AddConveyor(start , conveyor);
AddConveyor(start, conveyor);
}

@ -25,8 +25,7 @@
<Property name="TabIndex">11</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel35" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -69,8 +68,7 @@
<Property name="TabIndex">9</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel36" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -113,8 +111,7 @@
<Property name="TabIndex">7</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel33" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -157,8 +154,7 @@
<Property name="TabIndex">5</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel34" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -201,8 +197,7 @@
<Property name="TabIndex">3</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel31" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -245,8 +240,7 @@
<Property name="TabIndex">1</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel32" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -298,8 +292,7 @@
<Property name="TabIndex">15</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel17" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -342,8 +335,7 @@
<Property name="TabIndex">13</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel18" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -386,8 +378,7 @@
<Property name="TabIndex">11</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel19" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -430,8 +421,7 @@
<Property name="TabIndex">9</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel20" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -474,8 +464,7 @@
<Property name="TabIndex">7</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel21" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -518,8 +507,7 @@
<Property name="TabIndex">5</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel22" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -562,8 +550,7 @@
<Property name="TabIndex">3</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel23" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -606,8 +593,7 @@
<Property name="TabIndex">1</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel24" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -659,8 +645,7 @@
<Property name="TabIndex">15</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel9" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -703,8 +688,7 @@
<Property name="TabIndex">13</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel10" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -747,8 +731,7 @@
<Property name="TabIndex">11</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel11" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -791,8 +774,7 @@
<Property name="TabIndex">9</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel12" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -835,8 +817,7 @@
<Property name="TabIndex">7</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel13" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -879,8 +860,7 @@
<Property name="TabIndex">5</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel14" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -923,8 +903,7 @@
<Property name="TabIndex">3</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel15" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -967,8 +946,7 @@
<Property name="TabIndex">1</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel16" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -997,7 +975,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Refresh" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAIAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIEYwQTk5OUJFRTI5NTQ4N0RBRUEyRkNGM0UwMTA4NEZEBgYAAAAP5Yid5aeL5YyW5Y+C5pWwBgcAAAAP5Yid5aeL5YyW5Y+C5pWwCw==</Binary>
</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
@ -1015,39 +993,14 @@
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">刷新</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="Location">624, 251</Property>
<Property name="Location">732, 251</Property>
<Property name="Name">Refresh</Property>
<Property name="Size">198, 57</Property>
<Property name="Size">90, 57</Property>
<Property name="TabIndex">4</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="DownLoad" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</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="MCPurview">False</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">下载</Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="Location">468, 314</Property>
<Property name="Name">DownLoad</Property>
<Property name="Size">150, 51</Property>
<Property name="TabIndex">3</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="UpLoad" children="Controls">
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Download" children="Controls">
<Property name="Click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AAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDZBQTAwQ0RBM0IzRTQ5OEE5QzY5OERDQUQ0NUY4QjRCBgYAAAAY5Y+C5pWw6K6+572u5oyJ6ZKu5LqL5Lu2BgcAAAAY5Y+C5pWw6K6+572u5oyJ6ZKu5LqL5Lu2Cw==</Binary>
</Property>
<Property name="MCKey" />
<Property name="MCDataSourceID" />
@ -1063,11 +1016,11 @@
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text"></Property>
<Property name="Text"></Property>
<Property name="Font">宋体, 12pt</Property>
<Property name="Location">12, 314</Property>
<Property name="Name">UpLoad</Property>
<Property name="Size">150, 51</Property>
<Property name="Location">624, 251</Property>
<Property name="Name">Download</Property>
<Property name="Size">102, 57</Property>
<Property name="TabIndex">2</Property>
</Object>
<Object type="System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="GroupBox1" children="Controls">
@ -1095,8 +1048,7 @@
<Property name="TabIndex">15</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel8" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1139,8 +1091,7 @@
<Property name="TabIndex">13</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel6" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1183,8 +1134,7 @@
<Property name="TabIndex">11</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel7" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1227,8 +1177,7 @@
<Property name="TabIndex">9</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel5" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1271,8 +1220,7 @@
<Property name="TabIndex">7</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel4" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1315,8 +1263,7 @@
<Property name="TabIndex">5</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel3" children="Controls">
<Property name="Format">
</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1359,8 +1306,7 @@
<Property name="TabIndex">3</Property>
</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>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1403,8 +1349,7 @@
<Property name="TabIndex">1</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>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
@ -1432,7 +1377,7 @@
<Property name="TabIndex">0</Property>
</Object>
<Property name="LoadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIE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
@ -1447,7 +1392,7 @@
<Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property>
<Property name="Size">863, 417</Property>
<Property name="Size">850, 358</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">输送压送罐参数设置</Property>
<Property name="WindowState">Normal</Property>

@ -403,7 +403,7 @@
<Content Include="Data\EventConfig\小料称量\配方类别管理.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\榄菊输送\榄菊输送参数设置.xml">
<Content Include="Data\EventConfig\小料称量\榄菊输送参数设置.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\MCProject\nodeDataSource.xml">
@ -655,6 +655,7 @@
<ItemGroup>
<Folder Include="Data\DeviceConfig\Mesnac.Equips\" />
<Folder Include="Data\DeviceConfig\Mesnac.Maths\" />
<Folder Include="Data\EventConfig\榄菊输送\" />
<Folder Include="Data\MesnacPlugIn\" />
<Folder Include="Data\template\" />
</ItemGroup>

Loading…
Cancel
Save