0801 新的分支

master
nodyang 1 year ago
parent 1c86b66fd1
commit 65292edda5

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Data;
using Mesnac.Action.ChemicalWeighing.LjMaterial;
namespace Mesnac.Action.ChemicalWeighing.LjDry
{
public class DrySettingDb:DBHelp
{
public static IList<MyNameValue> GetDry()
{
string sql = "select Id,Name from DrySetting ";
var dt = GetTable(sql);
IList<MyNameValue> ls = new List<MyNameValue>();
foreach (DataRow dr in dt.Rows)
{
ls.Add(new MyNameValue()
{
Id = Convert.ToInt32(dr[0].ToString()),
Name = dr[1].ToString()
});
}
return ls;
}
}
}

@ -15,15 +15,12 @@ namespace Mesnac.Action.ChemicalWeighing.LjDry
base.RunIni(runtime); //必须调用
this._runtime = runtime;
// UpdateAction.OnUpdate -= Process_Event;
// UpdateAction.OnUpdate += Process_Event;
//
// UpAction.OnHandler -= Process_Event;
// UpAction.OnHandler += Process_Event;
//
//
// DownAction.OnHandler -= Process_Event;
// DownAction.OnHandler += Process_Event;
UpdateAction.OnUpdate -= Process_Event;
UpdateAction.OnUpdate += Process_Event;
UpAction.OnHandler -= Process_Event;
UpAction.OnHandler += Process_Event;
DbMCControl materialGridControl =
this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "DrySetting")

@ -0,0 +1,35 @@
using System;
using System.Windows.Forms;
using Mesnac.Action.Base;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class AddAction:ChemicalWeighingAction, IAction
{
public static event EventHandler OnAdd;
private DbMCControl _materialGridControl = null; //物料列表控件
private RuntimeParameter _runtime;
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
this._runtime = runtime;
FrmProductLine frm = new FrmProductLine();
DialogResult result = frm.ShowDialog();
this._runtime.BaseControl.MCEnabled = false;
if (result == DialogResult.OK)
{
if (OnAdd != null)
{
OnAdd(this._runtime.BaseControl.MCRoot, System.EventArgs.Empty);
}
frm.Dispose();
}
this._runtime.BaseControl.MCEnabled = true;
}
}
}

@ -0,0 +1,57 @@
using System;
using System.Linq;
using System.Windows.Forms;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.LjMixFormula;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class DelAction:ChemicalWeighingAction, IAction
{
private DbMCControl _materialGridControl = null; //物料列表控件
public static event EventHandler OnDel;
private RuntimeParameter _runtime;
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
this._runtime = runtime;
DbMCControl materialGridControl =
this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "lj_product_line")
.FirstOrDefault(); //获取物料数据控件
this._materialGridControl = materialGridControl;
DataGridView clientGridView = this._materialGridControl.BaseControl as DataGridView;
//验证是否选中某物料
if (clientGridView.SelectedRows.Count != 1)
{
MessageBox.Show("请选择要修改的数据", Mesnac.Basic.LanguageHelper.Caption,
MessageBoxButtons.OK, MessageBoxIcon.Information);
this._runtime.IsReturn = true;
return;
}
var dataGridViewRow = clientGridView.SelectedRows[0];
var id = dataGridViewRow.Cells["Id"].Value.ToString();
this._runtime.BaseControl.MCEnabled = false;
if (MessageBox.Show("确定删除配方", Mesnac.Basic.LanguageHelper.Caption, MessageBoxButtons.YesNo,
MessageBoxIcon.Question) == DialogResult.Yes)
{
ProductLineDb.Del(Convert.ToInt32(id));
if (OnDel != null)
{
OnDel(this._runtime.BaseControl.MCRoot, System.EventArgs.Empty);
}
}
this._runtime.BaseControl.MCEnabled = true;
}
}
}

@ -0,0 +1,118 @@
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
partial class FrmProductLine
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btnOK = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.TxtName = new System.Windows.Forms.TextBox();
this.btnCancel = new System.Windows.Forms.Button();
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
this.SuspendLayout();
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(136, 538);
this.btnOK.Margin = new System.Windows.Forms.Padding(8);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(147, 68);
this.btnOK.TabIndex = 66;
this.btnOK.Text = "确认";
this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(123, 86);
this.label3.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(89, 18);
this.label3.TabIndex = 65;
this.label3.Text = "产线名称:";
//
// TxtName
//
this.TxtName.Location = new System.Drawing.Point(245, 86);
this.TxtName.Margin = new System.Windows.Forms.Padding(8);
this.TxtName.Name = "TxtName";
this.TxtName.Size = new System.Drawing.Size(192, 28);
this.TxtName.TabIndex = 68;
//
// btnCancel
//
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(396, 538);
this.btnCancel.Margin = new System.Windows.Forms.Padding(8);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(147, 68);
this.btnCancel.TabIndex = 67;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = true;
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click_1);
//
// checkedListBox1
//
this.checkedListBox1.FormattingEnabled = true;
this.checkedListBox1.Location = new System.Drawing.Point(136, 196);
this.checkedListBox1.Name = "checkedListBox1";
this.checkedListBox1.Size = new System.Drawing.Size(607, 303);
this.checkedListBox1.TabIndex = 69;
//
// FrmProductLine
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 781);
this.Controls.Add(this.checkedListBox1);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.label3);
this.Controls.Add(this.TxtName);
this.Controls.Add(this.btnCancel);
this.Name = "FrmProductLine";
this.Text = "产线配置";
this.Load += new System.EventHandler(this.FrmProductLine_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox TxtName;
private System.Windows.Forms.Button btnCancel;
#endregion
private System.Windows.Forms.CheckedListBox checkedListBox1;
}
}

@ -0,0 +1,110 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.Office.Utils;
using Mesnac.Action.ChemicalWeighing.LjDry;
using Mesnac.Action.ChemicalWeighing.LjMaterial;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public partial class FrmProductLine : Form
{
public FrmProductLine()
{
InitializeComponent();
Init();
}
private int _id = 0;
public FrmProductLine(int id) : this()
{
ProductLineView view = ProductLineDb.GetById(id);
this.TxtName.Text = view.Name;
List<int> checkstrs = view.DryId.Split(',')
.Select(x => Convert.ToInt32(x)).ToList();
for (int i = 0; i < checkedListBox1.Items.Count; i++)
{
for (int j = 0; j < checkstrs.Count(); j++)
{
int va = checkstrs[j];
if (((MyNameValue)checkedListBox1.Items[i]).Id ==va)
{
checkedListBox1.SetItemChecked(i,true);
break;
}
}
}
}
private void Init()
{
var myNameValues = DrySettingDb.GetDry();
checkedListBox1.DataSource = myNameValues;
checkedListBox1.ValueMember = "Id";
checkedListBox1.DisplayMember = "Name";
}
private void FrmProductLine_Load(object sender, EventArgs e)
{
}
private void btnOK_Click(object sender, EventArgs e)
{
StringBuilder idSb = new StringBuilder();
StringBuilder valSb = new StringBuilder();
for (int i = 0, counti = checkedListBox1.Items.Count; i < counti; i++)
{
if (checkedListBox1.GetItemChecked(i))
{
valSb.AppendFormat("{0},", checkedListBox1.GetItemText(checkedListBox1.Items[i]));
MyNameValue dv = ((MyNameValue)checkedListBox1.Items[i]);
idSb.AppendFormat("{0},",dv.Id);
}
}
if (idSb.Length == 0)
{
MessageBox.Show("请选择对应的设备");
return;
}
string ids = idSb.ToString().Substring(0, idSb.Length - 1);
string names = valSb.ToString().Substring(0, valSb.Length - 1);
string name = TxtName.Text;
if (string.IsNullOrEmpty(name))
{
MessageBox.Show("请填写名字");
return;
}
ProductLineView view = new ProductLineView()
{
Name = name,
DryName = names,
CreateTime = DateTime.Now,
DryId = ids
};
ProductLineDb.Add(view);
this.DialogResult = DialogResult.OK;
}
private void btnCancel_Click_1(object sender, EventArgs e)
{
this.Close();
}
}
}

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

@ -0,0 +1,76 @@
using System;
using System.Data;
using System.Linq;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.LjMaterial;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class InitDbAction : ChemicalWeighingAction, IAction
{
private DbMCControl _materialGridControl = null; //物料列表控件
private RuntimeParameter _runtime;
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
this._runtime = runtime;
// UpdateAction.OnUpdate -= Process_Event;
// UpdateAction.OnUpdate += Process_Event;
//
UpdateAction.OnUpdate -= Process_Event;
UpdateAction.OnUpdate += Process_Event;
//
//
AddAction.OnAdd -= Process_Event;
AddAction.OnAdd += Process_Event;
DelAction.OnDel -= Process_Event;
DelAction.OnDel += Process_Event;
DbMCControl materialGridControl =
this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "lj_product_line")
.FirstOrDefault(); //获取物料数据控件
this._materialGridControl = materialGridControl;
FileControl();
}
private void FileControl()
{
DataTable table =
DBHelp.GetTable(@"select Id, Name, CreateTime, DryId, DryName from lj_product_line");
if (this._materialGridControl != null && this._materialGridControl.BaseControl != null)
{
this._materialGridControl.BaseControl.BindDataSource = null;
this._materialGridControl.BaseControl.BindDataSource = table;
//DBLog("成功!");
}
else
{
ICSharpCode.Core.LoggingService<InitDbAction>.Warn("刷新物料信息失败物料数据控件为Null...");
}
}
#region 事件处理方法
private void Process_Event(object sender, EventArgs e)
{
if (sender is RuntimeParameter)
{
this.Run(sender as RuntimeParameter);
}
else
{
this.Run(this._runtime);
}
}
#endregion
}
}

@ -0,0 +1,59 @@
using System;
using System.Data;
using System.Runtime.CompilerServices;
using Mesnac.Action.ChemicalWeighing.LjMaterial;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class ProductLineDb:DBHelp
{
public static void Add(ProductLineView view)
{
string sql = $"insert lj_product_line values ('{view.Name}',getdate(),'{view.DryId}','{view.DryName}')";
ExecuteNonQuery(sql);
}
/// <summary>
/// 根据Id去查询设备返回实体
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public static ProductLineView GetById(int id)
{
ProductLineView view = new ProductLineView();
string sql = $"select Id, Name, CreateTime, DryId, DryName from lj_product_line where Id={id}";
DataTable dt = GetTable(sql);
if (dt.Rows.Count == 1)
{
var datarow = dt.Rows[0];
view.Id = Convert.ToInt32(datarow["Id"]);
view.Name = datarow["Name"].ToString();
view.CreateTime = Convert.ToDateTime(datarow["CreateTime"]);
view.DryId = datarow["DryId"].ToString();
view.DryName = datarow["DryName"].ToString();
}
return view;
}
/// <summary>
/// 通过Id去更新设备
/// </summary>
/// <param name="view"></param>
public static void Update(ProductLineView view)
{
string sql = $"update lj_product_line set Name='{view.Name}',DryId='{view.DryId}',DryName='{view.DryName}' from lj_product_line where Id={view.Id}";
ExecuteNonQuery(sql);
}
public static void Del(int id)
{
string sql = string.Format($"delete from lj_product_line where id={id}");
ExecuteNonQuery(sql);
}
}
}

@ -0,0 +1,15 @@
using System;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class ProductLineView
{
//select Id, Name, CreateTime, DryId, DryName from lj_product_line;
public int Id { get; set; }
public string Name { get; set; }
public DateTime CreateTime { get; set; }
public string DryId { get; set; }
public string DryName { get; set; }
}
}

@ -0,0 +1,63 @@
using System;
using System.Linq;
using System.Windows.Forms;
using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.LjProportional;
namespace Mesnac.Action.ChemicalWeighing.LjProdcutLine
{
public class UpdateAction : ChemicalWeighingAction, IAction
{
private DbMCControl _materialGridControl = null; //物料列表控件
private RuntimeParameter _runtime;
public static event EventHandler OnUpdate;
public void Run(RuntimeParameter runtime)
{
base.RunIni(runtime); //必须调用
this._runtime = runtime;
DbMCControl materialGridControl =
this.GetDbMCControlByKey(Mesnac.Basic.DataSourceFactory.MCDbType.Local, "lj_product_line")
.FirstOrDefault(); //获取物料数据控件
this._materialGridControl = materialGridControl;
DataGridView clientGridView = this._materialGridControl.BaseControl as DataGridView;
//验证是否选中某物料
if (clientGridView.SelectedRows.Count != 1)
{
MessageBox.Show("请选择要修改的数据", Mesnac.Basic.LanguageHelper.Caption,
MessageBoxButtons.OK, MessageBoxIcon.Information);
this._runtime.IsReturn = true;
return;
}
var dataGridViewRow = clientGridView.SelectedRows[0];
var id = Convert.ToInt32(dataGridViewRow.Cells["Id"].Value);
FrmProductLine frm = new FrmProductLine(id);
DialogResult result = frm.ShowDialog();
this._runtime.BaseControl.MCEnabled = false;
if (result == DialogResult.OK)
{
if (OnUpdate != null)
{
OnUpdate(this._runtime.BaseControl.MCRoot, System.EventArgs.Empty);
}
frm.Dispose();
}
this._runtime.BaseControl.MCEnabled = true;
}
}
}

@ -44,38 +44,38 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
// HighWeight
//
this.HighWeight.Enabled = false;
this.HighWeight.Location = new System.Drawing.Point(211, 117);
this.HighWeight.Margin = new System.Windows.Forms.Padding(5);
this.HighWeight.Location = new System.Drawing.Point(316, 176);
this.HighWeight.Margin = new System.Windows.Forms.Padding(8, 8, 8, 8);
this.HighWeight.Name = "HighWeight";
this.HighWeight.Size = new System.Drawing.Size(129, 21);
this.HighWeight.Size = new System.Drawing.Size(192, 28);
this.HighWeight.TabIndex = 57;
//
// LowWeight
//
this.LowWeight.Enabled = false;
this.LowWeight.Location = new System.Drawing.Point(211, 66);
this.LowWeight.Margin = new System.Windows.Forms.Padding(5);
this.LowWeight.Location = new System.Drawing.Point(316, 99);
this.LowWeight.Margin = new System.Windows.Forms.Padding(8, 8, 8, 8);
this.LowWeight.Name = "LowWeight";
this.LowWeight.Size = new System.Drawing.Size(129, 21);
this.LowWeight.Size = new System.Drawing.Size(192, 28);
this.LowWeight.TabIndex = 58;
//
// btnCancel
//
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(288, 253);
this.btnCancel.Margin = new System.Windows.Forms.Padding(5);
this.btnCancel.Location = new System.Drawing.Point(432, 380);
this.btnCancel.Margin = new System.Windows.Forms.Padding(8, 8, 8, 8);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(98, 45);
this.btnCancel.Size = new System.Drawing.Size(147, 68);
this.btnCancel.TabIndex = 56;
this.btnCancel.Text = "取消";
this.btnCancel.UseVisualStyleBackColor = true;
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(115, 253);
this.btnOK.Margin = new System.Windows.Forms.Padding(5);
this.btnOK.Location = new System.Drawing.Point(172, 380);
this.btnOK.Margin = new System.Windows.Forms.Padding(8, 8, 8, 8);
this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(98, 45);
this.btnOK.Size = new System.Drawing.Size(147, 68);
this.btnOK.TabIndex = 55;
this.btnOK.Text = "确认";
this.btnOK.UseVisualStyleBackColor = true;
@ -84,36 +84,34 @@ namespace Mesnac.Action.ChemicalWeighing.LjWeight
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(130, 117);
this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label4.Location = new System.Drawing.Point(195, 176);
this.label4.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(71, 12);
this.label4.Size = new System.Drawing.Size(107, 18);
this.label4.TabIndex = 52;
this.label4.Text = "高料位重量:\r\n";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(130, 66);
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label3.Location = new System.Drawing.Point(195, 99);
this.label3.Margin = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(71, 12);
this.label3.Size = new System.Drawing.Size(107, 18);
this.label3.TabIndex = 54;
this.label3.Text = "底料位重量:";
//
// FrmWeight
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(564, 532);
this.ClientSize = new System.Drawing.Size(846, 798);
this.Controls.Add(this.HighWeight);
this.Controls.Add(this.LowWeight);
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "FrmWeight";
this.Text = "FrmWeight";
this.ResumeLayout(false);
this.PerformLayout();
}

@ -226,6 +226,7 @@
<Compile Include="LjDevice\InitDbAction.cs" />
<Compile Include="LjDevice\UpdateAction.cs" />
<Compile Include="LjDry\DryPlc.cs" />
<Compile Include="LjDry\DrySettingDb.cs" />
<Compile Include="LjDry\DrySettingView.cs" />
<Compile Include="LjDry\FrmDry.cs">
<SubType>Form</SubType>
@ -314,6 +315,18 @@
<Compile Include="LjPressure\PressureSettingView.cs" />
<Compile Include="LjPressure\UpAction.cs" />
<Compile Include="LjPressure\UpdateAction.cs" />
<Compile Include="LjProdcutLine\AddAction.cs" />
<Compile Include="LjProdcutLine\DelAction.cs" />
<Compile Include="LjProdcutLine\FrmProductLine.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="LjProdcutLine\FrmProductLine.Designer.cs">
<DependentUpon>FrmProductLine.cs</DependentUpon>
</Compile>
<Compile Include="LjProdcutLine\InitDbAction.cs" />
<Compile Include="LjProdcutLine\ProductLineDb.cs" />
<Compile Include="LjProdcutLine\ProductLineView.cs" />
<Compile Include="LjProdcutLine\UpdateAction.cs" />
<Compile Include="LjProportional\DownAction.cs" />
<Compile Include="LjProportional\FrmProportional.cs">
<SubType>Form</SubType>
@ -610,6 +623,9 @@
<EmbeddedResource Include="LjPressure\FrmPressureUpdate.resx">
<DependentUpon>FrmPressureUpdate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="LjProdcutLine\FrmProductLine.resx">
<DependentUpon>FrmProductLine.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="LjProportional\FrmProportional.resx">
<DependentUpon>FrmProportional.cs</DependentUpon>
</EmbeddedResource>

@ -9,6 +9,7 @@ using Mesnac.Action.Base;
using Mesnac.Action.ChemicalWeighing.Entity;
using Mesnac.Action.ChemicalWeighing.LjMetageFormula;
using Mesnac.Action.ChemicalWeighing.LjMixFormula;
using Mesnac.Action.ChemicalWeighing.LjProdcutLine;
using Mesnac.Basic;
using Mesnac.Codd.Session;
using Mesnac.Controls.Base;
@ -35,7 +36,7 @@ namespace Mesnac.Action.ChemicalWeighing.Test
// dbHelper.CommandText = sql;
FrmMixFormula frmMetageFormula = new FrmMixFormula();
FrmProductLine frmMetageFormula = new FrmProductLine(2);
frmMetageFormula.Show();

@ -0,0 +1,62 @@
<?xml version="1.0"?>
<ActionService>
<Design>
<Path path="榄菊产线管理">
<Action action="87F1799C1CD5C5B20D64CDBF1EF5EC1D">
<Caption>初始榄菊产线管理</Caption>
<Remark>榄菊产线管理</Remark>
</Action>
<Action action="BE01CC36CD2530CE9B2C5F257DDC6A31">
<Caption>添加榄菊产线管理</Caption>
<Remark>添加榄菊产线管理</Remark>
</Action>
<Action action="BF7AB668C911F48657D384B8916E7203">
<Caption>修改榄菊产线管理</Caption>
<Remark>修改榄菊产线管理</Remark>
</Action>
<Action action="56A86981CCAD39EEDC42F630E9466E0B">
<Caption>删除干湿混配方</Caption>
<Remark>删除干湿混配方</Remark>
</Action>
</Path>
</Design>
<DesignToRuntime>
<Design action="87F1799C1CD5C5B20D64CDBF1EF5EC1D">
<Runtime action="8CB8908ABBB9EBFBA4D8182B29C0A5DD"/>
</Design>
<Design action="BE01CC36CD2530CE9B2C5F257DDC6A31">
<Runtime action="72576C6EFA3D1F36562898CDCD06C3F3"/>
</Design>
<Design action="BF7AB668C911F48657D384B8916E7203">
<Runtime action="8073B159DE79A7A5365996E5F6E171AA"/>
</Design>
<Design action="56A86981CCAD39EEDC42F630E9466E0B">
<Runtime action="88234C8026D5926406FB95D5E7773ED3"/>
</Design>
</DesignToRuntime>
<Runtime>
<Import assembly = "Data/Action/ChemicalWeighing/Mesnac.Action.ChemicalWeighing.dll">
<Action action="8CB8908ABBB9EBFBA4D8182B29C0A5DD" class="Mesnac.Action.ChemicalWeighing.LjProdcutLine.InitDbAction"/>
<Action action="72576C6EFA3D1F36562898CDCD06C3F3" class="Mesnac.Action.ChemicalWeighing.LjProdcutLine.AddAction"/>
<Action action="8073B159DE79A7A5365996E5F6E171AA" class="Mesnac.Action.ChemicalWeighing.LjProdcutLine.UpdateAction"/>
<Action action="88234C8026D5926406FB95D5E7773ED3" class="Mesnac.Action.ChemicalWeighing.LjProdcutLine.DelAction"/>
</Import>
</Runtime>
</ActionService>

@ -38,6 +38,7 @@
<Node Name="FormStockMaterial" Text="大仓物料" ToolTipText="FormStockMaterial" Tag="FormStockMaterial" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormWeight" Text="称量配方管理" ToolTipText="FormWeight" Tag="FormWeight" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormMix" Text="混合配方管理" ToolTipText="FormMix" Tag="FormMix" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormProductLine" Text="榄菊产线管理" ToolTipText="FormProductLine" Tag="FormProductLine" ImageIndex="3" SelectedImageIndex="3" />
</Node>
<Node Name="nodeDevice" Text="设备" ToolTipText="" Tag="nodeDevice" ImageIndex="2" SelectedImageIndex="2">
<Node Name="ParametersWithPc" Text="ParametersWithPc" ToolTipText="" Tag="ParametersWithPc" ImageIndex="5" SelectedImageIndex="5" />

@ -0,0 +1,169 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="FormProductLine" children="Controls">
<Object type="Mesnac.Controls.Default.MCDataGridView, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCDataGridView1" children="Controls">
<Property name="DisplayAllColumn">False</Property>
<Property name="DgvColumn">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJoBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EYXRhR3JpZFZpZXdDb2x1bW5zLCBNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGxdXQMAAAAGX2l0ZW1zBV9zaXplCF92ZXJzaW9uBAAAKk1lc25hYy5Db250cm9scy5CYXNlLkRhdGFHcmlkVmlld0NvbHVtbnNbXQIAAAAICAkDAAAAAwAAAGQAAAAHAwAAAAABAAAACAAAAAQoTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGF0YUdyaWRWaWV3Q29sdW1ucwIAAAAJBAAAAAkFAAAACQYAAAANBQUEAAAAKE1lc25hYy5Db250cm9scy5CYXNlLkRhdGFHcmlkVmlld0NvbHVtbnMCAAAACl9maWxlZERhdGEMX2Rpc3BsYXlOYW1lAQECAAAABgcAAAAETmFtZQYIAAAADOS6p+e6v+WQjeensAEFAAAABAAAAAYJAAAACkNyZWF0ZVRpbWUGCgAAAAbml7bpl7QBBgAAAAQAAAAGCwAAAAdEcnlOYW1lBgwAAAAG5py65Y+wCw==</Binary>
</Property>
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="DoubleClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="SelectionChangedActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="MCKey">[DataSource1].[lj_product_line]</Property>
<Property name="MCDataSourceID" />
<Property name="IsDbControl">True</Property>
<Property name="InitDataSource" />
<Property name="ActionDataSource" />
<Property name="BindDataSource">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAE5TeXN0ZW0uRGF0YSwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAABVTeXN0ZW0uRGF0YS5EYXRhVGFibGUDAAAAGURhdGFUYWJsZS5SZW1vdGluZ1ZlcnNpb24JWG1sU2NoZW1hC1htbERpZmZHcmFtAwEBDlN5c3RlbS5WZXJzaW9uAgAAAAkDAAAABgQAAACFBDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9InV0Zi0xNiI/Pg0KPHhzOnNjaGVtYSB4bWxucz0iIiB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOm1zZGF0YT0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp4bWwtbXNkYXRhIj4NCiAgPHhzOmVsZW1lbnQgbmFtZT0iTUNEYXRhR3JpZFZpZXciPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQogIDx4czplbGVtZW50IG5hbWU9InRtcERhdGFTZXQiIG1zZGF0YTpJc0RhdGFTZXQ9InRydWUiIG1zZGF0YTpNYWluRGF0YVRhYmxlPSJNQ0RhdGFHcmlkVmlldyIgbXNkYXRhOlVzZUN1cnJlbnRMb2NhbGU9InRydWUiPg0KICAgIDx4czpjb21wbGV4VHlwZT4NCiAgICAgIDx4czpjaG9pY2UgbWluT2NjdXJzPSIwIiBtYXhPY2N1cnM9InVuYm91bmRlZCIgLz4NCiAgICA8L3hzOmNvbXBsZXhUeXBlPg0KICA8L3hzOmVsZW1lbnQ+DQo8L3hzOnNjaGVtYT4GBQAAAIABPGRpZmZncjpkaWZmZ3JhbSB4bWxuczptc2RhdGE9InVybjpzY2hlbWFzLW1pY3Jvc29mdC1jb206eG1sLW1zZGF0YSIgeG1sbnM6ZGlmZmdyPSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOnhtbC1kaWZmZ3JhbS12MSIgLz4EAwAAAA5TeXN0ZW0uVmVyc2lvbgQAAAAGX01ham9yBl9NaW5vcgZfQnVpbGQJX1JldmlzaW9uAAAAAAgICAgCAAAAAAAAAP//////////Cw==</Binary>
</Property>
<Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property>
<Property name="AutoGenerateColumns">False</Property>
<Property name="BackgroundColor">ControlLightLight</Property>
<Property name="ColumnHeadersHeight">30</Property>
<Property name="MultiSelect">False</Property>
<Property name="Dock">Fill</Property>
<Property name="Location">0, 48</Property>
<Property name="Name">MCDataGridView1</Property>
<Property name="Size">804, 440</Property>
<Property name="TabIndex">5</Property>
</Object>
<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.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCButton4" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAKAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDg3RjE3OTlDMUNENUM1QjIwRDY0Q0RCRjFFRjVFQzFEBgYAAAAY5Yid5aeL5qaE6I+K5Lqn57q/566h55CGBgcAAAAS5qaE6I+K5Lqn57q/566h55CGCw==</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">True</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">刷新</Property>
<Property name="Font">宋体, 14.25pt, style=Bold</Property>
<Property name="Location">229, 3</Property>
<Property name="Name">MCButton4</Property>
<Property name="Size">70, 40</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="MCButton3" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAGAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDYxQzg0NEIyMjcyMTQ0NThCOEE2MzIzNUVGRjU5MkM1BgYAAAAG5Yig6ZmkBgcAAAAG5Yig6ZmkCw==</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">True</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">删除</Property>
<Property name="Font">宋体, 14.25pt, style=Bold</Property>
<Property name="Location">155, 3</Property>
<Property name="Name">MCButton3</Property>
<Property name="Size">70, 40</Property>
<Property name="TabIndex">2</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCButton2" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAEAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDI4MEFCRDNBMkI3MjQ2NkQ4OThDODBGMEE5ODE3NDUzBgYAAAAG5L+u5pS5BgcAAAAG5L+u5pS5Cw==</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">True</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">修改</Property>
<Property name="Font">宋体, 14.25pt, style=Bold</Property>
<Property name="Location">81, 3</Property>
<Property name="Name">MCButton2</Property>
<Property name="Size">70, 40</Property>
<Property name="TabIndex">1</Property>
</Object>
<Object type="Mesnac.Controls.Default.MCButton, Mesnac.Controls.Default, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="MCButton1" children="Controls">
<Property name="ClickActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAAGAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDlBQkMyODQ3NEZDMTQ1NUQ5MEZEMjA3RkU0NEQ5MUQwBgYAAAAG5paw5aKeBgcAAAAG5paw5aKeCw==</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">True</Property>
<Property name="Format" />
<Property name="TextName" />
<Property name="NewFillColor">Red</Property>
<Property name="OldFillColor">DarkGray</Property>
<Property name="Text">新增</Property>
<Property name="Font">宋体, 14.25pt, style=Bold</Property>
<Property name="Location">7, 3</Property>
<Property name="Name">MCButton1</Property>
<Property name="Size">70, 40</Property>
<Property name="TabIndex">0</Property>
</Object>
<Property name="Dock">Top</Property>
<Property name="Location">0, 0</Property>
<Property name="Name">Panel1</Property>
<Property name="Size">804, 48</Property>
</Object>
<Property name="LoadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAEAAAACAAAABwMAAAAAAQAAAAQAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAJBAAAAA0DBQQAAAAhTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uAwAAABU8R1VJRD5rX19CYWNraW5nRmllbGQVPE5hbWU+a19fQmFja2luZ0ZpZWxkFzxSZW1hcms+a19fQmFja2luZ0ZpZWxkAQEBAgAAAAYFAAAAIDg3RjE3OTlDMUNENUM1QjIwRDY0Q0RCRjFFRjVFQzFEBgYAAAAY5Yid5aeL5qaE6I+K5Lqn57q/566h55CGBgcAAAAS5qaE6I+K5Lqn57q/566h55CGCw==</Binary>
</Property>
<Property name="ActivatedActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="ReloadActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="RefreshDataActionList">
<Binary>AAEAAAD/////AQAAAAAAAAAMAgAAAEtNZXNuYWMuQ29udHJvbHMuQmFzZSwgVmVyc2lvbj0xLjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwEAQAAAJMBU3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuTGlzdGAxW1tNZXNuYWMuQ29udHJvbHMuQmFzZS5EZXNpZ25BY3Rpb24sIE1lc25hYy5Db250cm9scy5CYXNlLCBWZXJzaW9uPTEuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49bnVsbF1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAjTWVzbmFjLkNvbnRyb2xzLkJhc2UuRGVzaWduQWN0aW9uW10CAAAACAgJAwAAAAAAAAAAAAAABwMAAAAAAQAAAAAAAAAEIU1lc25hYy5Db250cm9scy5CYXNlLkRlc2lnbkFjdGlvbgIAAAAL</Binary>
</Property>
<Property name="BHaveAction">False</Property>
<Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property>
<Property name="Size">820, 527</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">榄菊产线管理</Property>
<Property name="WindowState">Normal</Property>
<Property name="BackgroundImage" />
<Property name="BackgroundImageLayout">Tile</Property>
<Property name="Font">宋体, 9pt</Property>
<Property name="ForeColor">ControlText</Property>
<Property name="Name">FormProductLine</Property>
</Object>

@ -191,6 +191,10 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\小料称量\日志.系统日志.xml" />
<Content Include="Data\EventConfig\小料称量\榄菊产线管理.xml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\EventConfig\小料称量\榄菊动作管理.xml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

Loading…
Cancel
Save