代码整理

master
nodyang 1 year ago
parent ef5ad1188a
commit 2c79df191e

@ -3158,5 +3158,6 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue recipeName { get; set; }
}
}

@ -2,8 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Office.Interop.Excel;
namespace Mesnac.Action.ChemicalWeighing.LjMixManager
{

@ -153,6 +153,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\PlugInPlatform\Mesnac.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel">
<HintPath>..\Microsoft.Office.Interop.Excel.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />

@ -37,6 +37,9 @@ namespace Mesnac.Action.ChemicalWeighing.Test
// dbHelper.CommandType = CommandType.Text;
// dbHelper.CommandText = sql;
var str = BasePlcHelper.Instance.recipeName.LastValue.ToString();
FrmMixA frmMetageFormula = new FrmMixA(1);
frmMetageFormula.Show();

@ -7697,12 +7697,13 @@
<Data name="LSiloO" runname="LSiloO" start="1" len="1" method="Default_Bit(11,1)" max="" issave="True" subtractor="" remark="" />
</Data>
</Group>
<Group name="Tst3" block="3" start="0" len="2" access="ReadWrite" remark="" isautoread="False">
<Group name="Tst3" block="3" start="0" len="15" access="ReadWrite" remark="" isautoread="True">
<Data>
<Data name="test" runname="test" start="0" len="1" method="Default_Bit(0,1)" max="" issave="True" subtractor="" remark="" />
<Data name="tst0" runname="tst0" start="1" len="1" method="Default_Bit(0,1)" max="" issave="False" subtractor="" remark="" />
<Data name="tst1" runname="tst1" start="1" len="1" method="Default_Bit(1,1)" max="" issave="True" subtractor="" remark="" />
<Data name="tst2" runname="tst2" start="1" len="1" method="Default_Bit(2,1)" max="" issave="True" subtractor="" remark="" />
<Data name="recipeName" runname="recipeName" start="4" len="11" method="Default_FormatString()" max="" issave="True" subtractor="" remark="" />
</Data>
</Group>
</Group>

@ -622,7 +622,7 @@
</Object>
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel153" children="Controls">
<Property name="Format" />
<Property name="TextName">ParametersWithPc.B1.WatchDog</Property>
<Property name="TextName">ParametersWithPc.Tst3.recipeName</Property>
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="MCKey" />

@ -100,6 +100,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Actions", "Actions", "{8F6E
ProjectSection(SolutionItems) = preProject
Actions\Mesnac.Action.Base.dll = Actions\Mesnac.Action.Base.dll
Actions\Mesnac.ActionService.dll = Actions\Mesnac.ActionService.dll
Actions\ChemicalWeighing\Microsoft.Office.Interop.Excel.dll = Actions\ChemicalWeighing\Microsoft.Office.Interop.Excel.dll
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Default", "Default", "{66F3B234-E56C-4EF4-AB6D-BB6D91467855}"

Loading…
Cancel
Save