change - 简化代码初步

dep_nodyang
wangsr 1 year ago
parent a9a63d5d9e
commit fad95ec358

@ -4,7 +4,7 @@
namespace Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode
{
public class PlcCommunicationUtil
{
/// <summary>

@ -12,6 +12,7 @@ using Mesnac.Action.ChemicalWeighing.LjMixManager;
using Mesnac.Action.ChemicalWeighing.LjPlanning.Db;
using Mesnac.Action.ChemicalWeighing.LjPlanning.Entity;
using Mesnac.Action.ChemicalWeighing.LjProdcutLine;
using DataBlockHelper.DBHelpers;
@ -48,9 +49,52 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
var id = Convert.ToInt32(dataGridViewRow.Cells["Id"].Value);
var ljPlanningView = LjPlanningDb.GetById(id);
if (MessageBox.Show("确定下传配方?", "下传确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
{
return;
}
LoadingHelper.ShowLoadingScreen();
//int unit = Convert.ToInt32(dataGridViewRow.Cells["Unit"].Value);
//DB2105Helper dB2105 = new DB2105Helper();
//bool isUnitOpen = false;
//switch (unit)
//{
// case 1:
// isUnitOpen = dB2105.Status[0];
// break;
// case 2:
// isUnitOpen = dB2105.Status[1];
// break;
// case 3:
// isUnitOpen = dB2105.Status[2];
// break;
// case 4:
// isUnitOpen = dB2105.Status[3];
// break;
// default:
// MessageBox.Show("产线编号不正确!");
// LoadingHelper.CloseForm();
// return;
//}
//if (isUnitOpen == false)
//{
// MessageBox.Show("产线未启动,无法下发!");
// LoadingHelper.CloseForm();
// return;
//}
var watchDog = LjHelp.WatchDog;
if (watchDog == 0)
{

@ -50,49 +50,48 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(77, 104);
this.label3.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label3.Location = new System.Drawing.Point(113, 107);
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 18);
this.label3.Size = new System.Drawing.Size(35, 12);
this.label3.TabIndex = 49;
this.label3.Text = "配方:";
//
// DrpFormula
//
this.DrpFormula.FormattingEnabled = true;
this.DrpFormula.Location = new System.Drawing.Point(160, 96);
this.DrpFormula.Margin = new System.Windows.Forms.Padding(4);
this.DrpFormula.Location = new System.Drawing.Point(156, 104);
this.DrpFormula.Name = "DrpFormula";
this.DrpFormula.Size = new System.Drawing.Size(192, 26);
this.DrpFormula.Size = new System.Drawing.Size(129, 20);
this.DrpFormula.TabIndex = 52;
this.DrpFormula.SelectedIndexChanged += new System.EventHandler(this.DrpProductLine_SelectedIndexChanged);
//
// txtCarNumber
//
this.txtCarNumber.Location = new System.Drawing.Point(160, 162);
this.txtCarNumber.Margin = new System.Windows.Forms.Padding(8);
this.txtCarNumber.Location = new System.Drawing.Point(156, 141);
this.txtCarNumber.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtCarNumber.MaxLength = 100;
this.txtCarNumber.Name = "txtCarNumber";
this.txtCarNumber.Size = new System.Drawing.Size(192, 28);
this.txtCarNumber.Size = new System.Drawing.Size(129, 21);
this.txtCarNumber.TabIndex = 55;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(77, 172);
this.label2.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label2.Location = new System.Drawing.Point(111, 144);
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 18);
this.label2.Size = new System.Drawing.Size(35, 12);
this.label2.TabIndex = 54;
this.label2.Text = "车次:";
//
// btnCancel
//
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(243, 413);
this.btnCancel.Margin = new System.Windows.Forms.Padding(8);
this.btnCancel.Location = new System.Drawing.Point(213, 262);
this.btnCancel.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(147, 68);
this.btnCancel.Size = new System.Drawing.Size(98, 45);
this.btnCancel.TabIndex = 60;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = true;
@ -100,10 +99,10 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(64, 413);
this.btnOK.Margin = new System.Windows.Forms.Padding(8);
this.btnOK.Location = new System.Drawing.Point(91, 262);
this.btnOK.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(147, 68);
this.btnOK.Size = new System.Drawing.Size(98, 45);
this.btnOK.TabIndex = 59;
this.btnOK.Text = "保存";
this.btnOK.UseVisualStyleBackColor = true;
@ -111,67 +110,65 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(160, 46);
this.txtName.Margin = new System.Windows.Forms.Padding(8);
this.txtName.Location = new System.Drawing.Point(156, 69);
this.txtName.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.txtName.MaxLength = 100;
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(192, 28);
this.txtName.Size = new System.Drawing.Size(129, 21);
this.txtName.TabIndex = 62;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(61, 50);
this.label1.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label1.Location = new System.Drawing.Point(89, 72);
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(89, 18);
this.label1.Size = new System.Drawing.Size(59, 12);
this.label1.TabIndex = 61;
this.label1.Text = "计划名称:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(77, 231);
this.label4.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label4.Location = new System.Drawing.Point(111, 182);
this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 18);
this.label4.Size = new System.Drawing.Size(35, 12);
this.label4.TabIndex = 49;
this.label4.Text = "班次:";
//
// cbClass
//
this.cbClass.FormattingEnabled = true;
this.cbClass.Location = new System.Drawing.Point(160, 223);
this.cbClass.Margin = new System.Windows.Forms.Padding(4);
this.cbClass.Location = new System.Drawing.Point(156, 179);
this.cbClass.Name = "cbClass";
this.cbClass.Size = new System.Drawing.Size(192, 26);
this.cbClass.Size = new System.Drawing.Size(129, 20);
this.cbClass.TabIndex = 52;
this.cbClass.SelectedIndexChanged += new System.EventHandler(this.DrpProductLine_SelectedIndexChanged);
//
// cbUnit
//
this.cbUnit.FormattingEnabled = true;
this.cbUnit.Location = new System.Drawing.Point(160, 300);
this.cbUnit.Margin = new System.Windows.Forms.Padding(4);
this.cbUnit.Location = new System.Drawing.Point(156, 217);
this.cbUnit.Name = "cbUnit";
this.cbUnit.Size = new System.Drawing.Size(192, 26);
this.cbUnit.Size = new System.Drawing.Size(129, 20);
this.cbUnit.TabIndex = 64;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(77, 308);
this.label5.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label5.Location = new System.Drawing.Point(111, 220);
this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(53, 18);
this.label5.Size = new System.Drawing.Size(35, 12);
this.label5.TabIndex = 63;
this.label5.Text = "产线:";
//
// FrmPlanning
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(550, 633);
this.ClientSize = new System.Drawing.Size(417, 394);
this.Controls.Add(this.cbUnit);
this.Controls.Add(this.label5);
this.Controls.Add(this.txtName);
@ -184,6 +181,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
this.Controls.Add(this.label4);
this.Controls.Add(this.DrpFormula);
this.Controls.Add(this.label3);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "FrmPlanning";
this.Text = "计划管理";
this.ResumeLayout(false);

@ -29,7 +29,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
public FrmWeiRecipeDataAdd()
{
InitializeComponent();
Init();
FillDryer();
FillSilo();
@ -39,6 +41,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
FillDataGridDryer1Action();
//糊化
FillDataGridSilo1Action();
FillDataGridWeter1Action();
@ -287,7 +290,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
DrpCpType.ValueMember = "Id";
DrpCpType.DisplayMember = "Name";
var ls = new List<MyNameValue>();
string sql = "select recipetype_Id as Id,recipetype_Name as Name from Base_RecipeType";
string sql = "select recipetype_Id as Id,recipetype_Name as Name from Base_RecipeType";
var dataTable = DBHelp.GetTable(sql);
var dr = dataTable.Rows;
@ -332,7 +335,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
private List<MyNameValue> GetAction(int deviceUnitId)
{
string sql = "select ActionCode.id,code,ActionName,ActionCode.Remark,DeviceUnitId,DeviceUnit.Name\r\n " +
string sql = "select ActionCode.id, code, ActionName, ActionCode.Remark, DeviceUnitId, DeviceUnit.Name \r\n " +
" from ActionCode\r\n " +
" left join DeviceUnit on ActionCode.DeviceUnitId = DeviceUnit.Id where IsEnable=1";
@ -362,7 +365,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
private DataRow GetCodeActionById(int id)
{
string sql = "select code as Code,ActionName as Name from ActionCode where Id=" + id;
string sql = "select code as Code, ActionName as Name from ActionCode where Id=" + id;
var dataTable = DBHelp.GetTable(sql);
return dataTable.Rows[0];
@ -435,7 +438,7 @@ namespace Mesnac.Action.ChemicalWeighing.LjPlanning
DataGridViewComboBoxColumn comboxWater2 = dataGridWater2.Columns["ComBoxSilo2BinWater"] as DataGridViewComboBoxColumn;
var comboxWater2List = GetStockMaterrial(1);
var comboxWater2List = GetStockMaterrial(4);
comboxWater2.DataSource = comboxWater2List;
comboxWater2.DisplayMember = "Name";
comboxWater2.ValueMember = "Id";

@ -234,79 +234,6 @@
<Compile Include="DeviceParamManage\InitDeviceParamInfo.cs" />
<Compile Include="DeviceParamManage\SelectDeviceParamInfo.cs" />
<Compile Include="DeviceParamManage\WriteDeviceParamInfo.cs" />
<Compile Include="EngineeringDebuggingMode\ElectronicMachineryDataStateMonitor\ElectronicMachineryDataStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ElectronicMachineryDataStateMonitor\ElectronicMachineryDataStateMonitor.Designer.cs">
<DependentUpon>ElectronicMachineryDataStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\MotorInitStateMonitor\MotorInitStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\MotorInitStateMonitor\MotorInitStateMonitor.Designer.cs">
<DependentUpon>MotorInitStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor.Designer.cs">
<DependentUpon>ParametersWithPCStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Normal_HMI.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Normal_HMI.Designer.cs">
<DependentUpon>ParametersWithPCStateMonitor_Normal_HMI.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Para.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Para.Designer.cs">
<DependentUpon>ParametersWithPCStateMonitor_Para.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery.Designer.cs">
<DependentUpon>ElectronicMachinery.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_2.Designer.cs">
<DependentUpon>ElectronicMachinery_2.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_3.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_3.Designer.cs">
<DependentUpon>ElectronicMachinery_3.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\InstrumentDataStateMonitor\InstrumentDataStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\InstrumentDataStateMonitor\InstrumentDataStateMonitor.Designer.cs">
<DependentUpon>InstrumentDataStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\ValveInitStateMonitor\ValveInitStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ValveInitStateMonitor\ValveInitStateMonitor.Designer.cs">
<DependentUpon>ValveInitStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\PlcCommunicationUtil.cs" />
<Compile Include="EngineeringDebuggingMode\x-Contorl\ValveStateControl\ValveStateControl.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\x-Contorl\ValveStateControl\ValveStateControl.Designer.cs">
<DependentUpon>ValveStateControl.cs</DependentUpon>
</Compile>
<Compile Include="EngineeringDebuggingMode\ValveDataStateMonitor\ValveStateMonitor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="EngineeringDebuggingMode\ValveDataStateMonitor\ValveStateMonitor.Designer.cs">
<DependentUpon>ValveStateMonitor.cs</DependentUpon>
</Compile>
<Compile Include="Entity\RecordSaveDataInfo.cs" />
<Compile Include="Entity\Report\LR_BarcodeLog.cs" />
<Compile Include="Entity\Report\Report_GelDoser.cs" />
@ -575,7 +502,7 @@
<Compile Include="MaterialManage\MaterialHelper.cs" />
<Compile Include="MaterialManage\ModifyMaterialAction.cs" />
<Compile Include="OliveEQSetting\InItDbAction.cs" />
<Compile Include="Pl\Class1.cs" />
<Compile Include="Pl\PlcConnect.cs" />
<Compile Include="Product\PptPlan\entity\Base_PlanInfo.cs" />
<Compile Include="Product\PptPlan\FrmBudget.cs">
<SubType>Form</SubType>
@ -795,44 +722,6 @@
<EmbeddedResource Include="BinManage\FrmBin.resx">
<DependentUpon>FrmBin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ElectronicMachineryDataStateMonitor\ElectronicMachineryDataStateMonitor.resx">
<DependentUpon>ElectronicMachineryDataStateMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\MotorInitStateMonitor\MotorInitStateMonitor.resx">
<DependentUpon>MotorInitStateMonitor.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor.resx">
<DependentUpon>ParametersWithPCStateMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Normal_HMI.resx">
<DependentUpon>ParametersWithPCStateMonitor_Normal_HMI.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ParametersWithPCStateMonitor\ParametersWithPCStateMonitor_Para.resx">
<DependentUpon>ParametersWithPCStateMonitor_Para.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ValveInitStateMonitor\ValveInitStateMonitor.resx">
<DependentUpon>ValveInitStateMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery.resx">
<DependentUpon>ElectronicMachinery.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_2.resx">
<DependentUpon>ElectronicMachinery_2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\x-Contorl\ElectronicMachinery\ElectronicMachinery_3.resx">
<DependentUpon>ElectronicMachinery_3.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\InstrumentDataStateMonitor\InstrumentDataStateMonitor.resx">
<DependentUpon>InstrumentDataStateMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\x-Contorl\ValveStateControl\ValveStateControl.resx">
<DependentUpon>ValveStateControl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="EngineeringDebuggingMode\ValveDataStateMonitor\ValveStateMonitor.resx">
<DependentUpon>ValveStateMonitor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="LjDevice\FrmDevice.resx">
<DependentUpon>FrmDevice.cs</DependentUpon>
</EmbeddedResource>

@ -21,7 +21,7 @@ namespace Mesnac.Action.ChemicalWeighing.Pl
}
private SiemensS7Net SiemensS7NetConnection()

@ -7,14 +7,7 @@ using System.Text;
using System.Windows.Forms;
using ICSharpCode.Core;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinaryStateMonitor;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ElectronicMachinery;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.InstrumentDataStateMonitor;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.MotorInitStateMonitor;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.NewFolder1;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ParametersWithPCStateMonitor;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateControl;
using Mesnac.Action.ChemicalWeighing.EngineeringDebuggingMode.ValveStateMonitor;
using Mesnac.Action.ChemicalWeighing.Entity;
using Mesnac.Action.ChemicalWeighing.FreeDb;
using Mesnac.Action.ChemicalWeighing.LjMetageFormula;

@ -36,7 +36,7 @@
<Property name="Dock">Fill</Property>
<Property name="Location">3, 17</Property>
<Property name="Name">MCDataGridView3</Property>
<Property name="Size">1088, 280</Property>
<Property name="Size">1878, 386</Property>
<Property name="TabIndex">1</Property>
</Object>
<Property name="TabStop">False</Property>
@ -44,13 +44,13 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">GroupBox1</Property>
<Property name="Size">1094, 300</Property>
<Property name="Size">1884, 406</Property>
<Property name="TabIndex">0</Property>
</Object>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel1</Property>
<Property name="Size">1094, 300</Property>
<Property name="Size">1884, 406</Property>
</Object>
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel11" children="Controls">
<Object type="System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="GroupBox2" children="Controls">
@ -86,7 +86,7 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">MCDataGridView16</Property>
<Property name="Size">541, 143</Property>
<Property name="Size">892, 143</Property>
<Property name="TabIndex">13</Property>
</Object>
<Property name="Text">湿混机(#A)</Property>
@ -123,15 +123,15 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">MCDataGridView17</Property>
<Property name="Size">541, 143</Property>
<Property name="Size">892, 143</Property>
<Property name="TabIndex">16</Property>
</Object>
<Property name="Text">湿混机(#B)</Property>
<Property name="Name">TabPage8</Property>
</Object>
<Property name="Location">539, 325</Property>
<Property name="Location">962, 322</Property>
<Property name="Name">TabControl4</Property>
<Property name="Size">549, 169</Property>
<Property name="Size">900, 169</Property>
</Object>
<Object type="System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TabControl3" children="Controls">
<Object type="System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TabPage5" children="Controls">
@ -165,7 +165,7 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">MCDataGridView13</Property>
<Property name="Size">541, 140</Property>
<Property name="Size">892, 140</Property>
<Property name="TabIndex">5</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView14" children="Controls">
@ -198,7 +198,7 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">MCDataGridView14</Property>
<Property name="Size">541, 140</Property>
<Property name="Size">892, 140</Property>
<Property name="TabIndex">4</Property>
</Object>
<Property name="Text">糊化机(#A)</Property>
@ -235,15 +235,15 @@
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">MCDataGridView15</Property>
<Property name="Size">541, 140</Property>
<Property name="Size">892, 140</Property>
<Property name="TabIndex">6</Property>
</Object>
<Property name="Text">糊化机(#B)</Property>
<Property name="Name">TabPage6</Property>
</Object>
<Property name="Location">539, 153</Property>
<Property name="Location">962, 150</Property>
<Property name="Name">TabControl3</Property>
<Property name="Size">549, 166</Property>
<Property name="Size">900, 166</Property>
</Object>
<Object type="System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="GroupBox4" children="Controls">
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView2" children="Controls">
@ -276,14 +276,14 @@
<Property name="Dock">Fill</Property>
<Property name="Location">3, 17</Property>
<Property name="Name">MCDataGridView2</Property>
<Property name="Size">524, 107</Property>
<Property name="Size">894, 107</Property>
<Property name="TabIndex">3</Property>
</Object>
<Property name="TabStop">False</Property>
<Property name="Text">干混机称量配方</Property>
<Property name="Location">6, 20</Property>
<Property name="Location">31, 20</Property>
<Property name="Name">GroupBox4</Property>
<Property name="Size">530, 127</Property>
<Property name="Size">900, 127</Property>
<Property name="TabIndex">4</Property>
</Object>
<Object type="System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="GroupBox3" children="Controls">
@ -317,7 +317,7 @@
<Property name="Dock">Fill</Property>
<Property name="Location">3, 17</Property>
<Property name="Name">MCDataGridView8</Property>
<Property name="Size">543, 107</Property>
<Property name="Size">894, 107</Property>
<Property name="TabIndex">3</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView9" children="Controls">
@ -350,14 +350,14 @@
<Property name="Dock">Fill</Property>
<Property name="Location">3, 17</Property>
<Property name="Name">MCDataGridView9</Property>
<Property name="Size">543, 107</Property>
<Property name="Size">894, 107</Property>
<Property name="TabIndex">2</Property>
</Object>
<Property name="TabStop">False</Property>
<Property name="Text">干混机混合配方</Property>
<Property name="Location">539, 20</Property>
<Property name="Location">962, 20</Property>
<Property name="Name">GroupBox3</Property>
<Property name="Size">549, 127</Property>
<Property name="Size">900, 127</Property>
<Property name="TabIndex">1</Property>
</Object>
<Object type="System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="TabControl1" children="Controls">
@ -391,7 +391,7 @@
<Property name="MultiSelect">False</Property>
<Property name="Location">4, 158</Property>
<Property name="Name">MCDataGridView5</Property>
<Property name="Size">516, 155</Property>
<Property name="Size">882, 155</Property>
<Property name="TabIndex">4</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView1" children="Controls">
@ -423,7 +423,7 @@
<Property name="MultiSelect">False</Property>
<Property name="Location">4, 3</Property>
<Property name="Name">MCDataGridView1</Property>
<Property name="Size">516, 149</Property>
<Property name="Size">882, 149</Property>
<Property name="TabIndex">3</Property>
</Object>
<Property name="Text">糊化机(#A)</Property>
@ -459,7 +459,7 @@
<Property name="MultiSelect">False</Property>
<Property name="Location">4, 158</Property>
<Property name="Name">MCDataGridView6</Property>
<Property name="Size">516, 155</Property>
<Property name="Size">885, 155</Property>
<Property name="TabIndex">6</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView7" children="Controls">
@ -491,33 +491,33 @@
<Property name="MultiSelect">False</Property>
<Property name="Location">4, 3</Property>
<Property name="Name">MCDataGridView7</Property>
<Property name="Size">516, 149</Property>
<Property name="Size">885, 149</Property>
<Property name="TabIndex">5</Property>
</Object>
<Property name="Text">糊化机(#B)</Property>
<Property name="Name">TabPage2</Property>
</Object>
<Property name="Location">6, 150</Property>
<Property name="Location">31, 150</Property>
<Property name="Name">TabControl1</Property>
<Property name="Size">531, 344</Property>
<Property name="Size">900, 344</Property>
</Object>
<Property name="TabStop">False</Property>
<Property name="Text">明细</Property>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">GroupBox2</Property>
<Property name="Size">1094, 500</Property>
<Property name="Size">1884, 500</Property>
<Property name="TabIndex">0</Property>
</Object>
<Property name="Dock">Bottom</Property>
<Property name="Location">0, 300</Property>
<Property name="Location">0, 406</Property>
<Property name="Name">Panel11</Property>
<Property name="Size">1094, 500</Property>
<Property name="Size">1884, 500</Property>
</Object>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 55</Property>
<Property name="Name">Panel10</Property>
<Property name="Size">1094, 800</Property>
<Property name="Size">1884, 906</Property>
</Object>
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel9" children="Controls">
<Object type="Mesnac.Controls.Default.MCLabel, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCLabel2" children="Controls">
@ -535,7 +535,7 @@
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Text">配方类别</Property>
<Property name="Location">587, 21</Property>
<Property name="Location">1024, 21</Property>
<Property name="Name">MCLabel2</Property>
<Property name="Size">53, 12</Property>
</Object>
@ -554,7 +554,7 @@
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Text">配方名称</Property>
<Property name="Location">764, 21</Property>
<Property name="Location">1201, 21</Property>
<Property name="Name">MCLabel1</Property>
<Property name="Size">53, 12</Property>
</Object>
@ -576,7 +576,7 @@
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="TextName" />
<Property name="Location">823, 17</Property>
<Property name="Location">1260, 17</Property>
<Property name="Name">MCTextBox1</Property>
<Property name="Size">153, 21</Property>
<Property name="TabIndex">18</Property>
@ -603,7 +603,7 @@
<Property name="DbOptionType">Query</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="Location">646, 18</Property>
<Property name="Location">1083, 18</Property>
<Property name="Name">MCCombobox1</Property>
<Property name="Size">112, 20</Property>
<Property name="TabIndex">17</Property>
@ -628,7 +628,7 @@
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">查询</Property>
<Property name="Font">宋体, 14.25pt, style=Bold</Property>
<Property name="Location">982, 12</Property>
<Property name="Location">1419, 12</Property>
<Property name="Name">MCButton6</Property>
<Property name="Size">100, 30</Property>
<Property name="TabIndex">16</Property>
@ -739,22 +739,22 @@
<Property name="Dock">Top</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel9</Property>
<Property name="Size">1094, 55</Property>
<Property name="Size">1884, 55</Property>
</Object>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel8</Property>
<Property name="Size">1094, 855</Property>
<Property name="Size">1884, 961</Property>
</Object>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel3</Property>
<Property name="Size">1094, 855</Property>
<Property name="Size">1884, 961</Property>
</Object>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel2</Property>
<Property name="Size">1094, 855</Property>
<Property name="Size">1884, 961</Property>
</Object>
<Property name="LoadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAIAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDQ4NkNGRDNGQTlGQjQ4NzIwRjI4MkM3NTMyMUI5NDRFBgYAAAAb5qaE6I+K6YWN5pa5566h55CG5Yid5aeL5YyWBgcAAAAb5qaE6I+K6YWN5pa5566h55CG5Yid5aeL5YyWCw==</Binary>
@ -772,7 +772,7 @@
<Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property>
<Property name="Size">1110, 894</Property>
<Property name="Size">1900, 1000</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">榄菊配方管理</Property>
<Property name="WindowState">Normal</Property>

Loading…
Cancel
Save