Browse Source

完善程序

master
songnan.zhang 2 years ago
parent
commit
635b15f5f9
  1. 6
      APP/QMAPP.Web/Web.config
  2. 7
      APPMD/QMAPP.MD.Web/Web.config
  3. 20
      APPQ5/QMAPP.FJC.Web/Controllers/DictController.cs
  4. 6
      APPQ5/QMAPP.FJC.Web/Web.config
  5. 4
      APPQ5/QMAPP.WinForm/App.config
  6. 97
      APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.cs
  7. 100
      APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.designer.cs
  8. 120
      APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.resx
  9. 67
      APPQ5/QMAPP.WinForm/Forms/Injection/SlushMoldingPrintForOldNewForm.Designer.cs
  10. 330
      APPQ5/QMAPP.WinForm/Forms/Injection/SlushMoldingPrintForOldNewForm.cs
  11. 87
      APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.cs
  12. 126
      APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.designer.cs
  13. 120
      APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.resx
  14. 293
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs
  15. 1
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs
  16. 175
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx
  17. 18
      APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj
  18. 2
      ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config

6
APP/QMAPP.Web/Web.config

@ -47,10 +47,10 @@
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
<!--<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>-->

7
APPMD/QMAPP.MD.Web/Web.config

@ -34,10 +34,11 @@
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>
<!--<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>-->
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=CD_TEST;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->
</connectionStrings>
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=CD_TEST;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<!--日志组件配置开始-->
<log4net>
<logger name="loginfo">

20
APPQ5/QMAPP.FJC.Web/Controllers/DictController.cs

@ -1175,7 +1175,7 @@ namespace QMAPP.FJC.Web.Controllers
public ActionResult GetMachineList(string workcentercode)
{
QMAPP.FJC.Entity.Basic.MachineInfo info = new Entity.Basic.MachineInfo();
info.WORKCENTER_CODE = workcentercode;
info.WORKCENTER_CODE = workcentercode.Replace("PA","");
List<QMAPP.FJC.Entity.Basic.MachineInfo> list = new List<QMAPP.FJC.Entity.Basic.MachineInfo>();
ServiceAgent wcfAgent = this.GetServiceAgent();
try
@ -1186,8 +1186,22 @@ namespace QMAPP.FJC.Web.Controllers
("MachineInfoBLL_GetMachineInfoList", info);
foreach (QMAPP.FJC.Entity.Basic.MachineInfo item in dataResult)
{
item.MACHINENAME = item.MACHINECODDE + "/" + item.MACHINENAME;
list.Add(item);
if (workcentercode.Contains("PA"))
{
if (item.MACHINECODDE.Contains("PA"))
{
item.MACHINENAME = item.MACHINECODDE + "/" + item.MACHINENAME;
list.Add(item);
}
}
else
{
if (!item.MACHINECODDE.Contains("PA"))
{
item.MACHINENAME = item.MACHINECODDE + "/" + item.MACHINENAME;
list.Add(item);
}
}
}
//}
list.Insert(0, new QMAPP.FJC.Entity.Basic.MachineInfo() { MACHINECODDE = "", MACHINENAME = this.EmptyItemTitle });

6
APPQ5/QMAPP.FJC.Web/Web.config

@ -38,10 +38,10 @@
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
<!--<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>-->

4
APPQ5/QMAPP.WinForm/App.config

@ -10,7 +10,7 @@
<!--<add name="maindb" connectionString="Data Source=.;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=.;Initial Catalog=BZD;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
@ -209,7 +209,7 @@
<endpoint address="net.tcp://10.111.144.99:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />-->
<!--<endpoint address="net.tcp://localhost:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />-->
<endpoint address="net.tcp://10.111.144.94:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />
<endpoint address="net.tcp://127.0.0.1:4444/OpcService" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IOpcService" contract="ServiceOpc.IOpcService" name="NetTcpBinding_IOpcService" />
<endpoint address="http://localhost:8938/GeneralService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="CenterGeneralService.IGeneralService" name="BasicHttpBinding_IGeneralService" />
<endpoint address="http://localhost:8938/LoginService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService" contract="LoginService.ILoginService" name="BasicHttpBinding_ILoginService" />

97
APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.cs

@ -0,0 +1,97 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QMAPP.FJC.Entity.Operation;
using QMAPP.Entity;
using QMAPP.ServicesAgent;
using QMAPP.MD.Entity;
using QMAPP.FJC.Entity.Basic;
using QMAPP.WinForm.Common;
using QMAPP.FJC.Entity;
using QMAPP.FJC.Entity.BZD;
namespace QMAPP.WinForm.Forms.Injection
{
public partial class HintMassageForm : Form
{
//获取服务代理
QMAPP.ServicesAgent.ServiceAgent _agent = ClientContext.GetServiceAgent();
List<BZDConfig> _bzdConfig = null;
Product _CurrentProduct = null;
//private OperationForm _parentForm;
//string _Msg = string.Empty;
public HintMassageForm(string Msg)
{
InitializeComponent();
string[] Msg_str = Msg.Split('!');
foreach (var str in Msg_str)
{
label1.Text += str+" \r\n";
}
label1.ForeColor = Color.Red;
infolabel.Text = "";
infolabel.ForeColor = Color.Red;
//_parentForm = parentForm;
}
#region 打印按钮
/// <summary>
/// 打印按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button1_Click(object sender, EventArgs e)
{
try
{
this.DialogResult = DialogResult.OK;
this.Close();
//string MakeUpBZD = "";
//DataTable dataTable = _agent.InvokeServiceFunction<DataTable>(B9IPCService.BZDConfigBLL_GetAppConfigValue.ToString(), "MakeUpBZD");
//if (dataTable.Rows.Count > 0)
//{
// MakeUpBZD = dataTable.Rows[0]["Value"].ToString();
//}
//if (string.IsNullOrEmpty(MakeUpBZD))
// MakeUpBZD = "admin";
//if (string.IsNullOrEmpty(txtMainCode.Text))
//{
// infolabel.Text = "请输入密码!";
// this.Show();
//}
//if (txtMainCode.Text == MakeUpBZD)
//{
//}
//else
//{
// infolabel.Text = "密码输入错误!";
// this.Show();
//}
}
catch (Exception exception)
{
//MessageBox.Show("打印失败!");
throw;
}
}
#endregion
}
}

100
APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.designer.cs

@ -0,0 +1,100 @@
namespace QMAPP.WinForm.Forms.Injection
{
partial class HintMassageForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.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.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.infolabel = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(216, 100);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(0, 37);
this.label1.TabIndex = 0;
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(316, 324);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(240, 81);
this.button1.TabIndex = 5;
this.button1.Text = "确认";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// infolabel
//
this.infolabel.AutoSize = true;
this.infolabel.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.infolabel.ForeColor = System.Drawing.Color.Red;
this.infolabel.Location = new System.Drawing.Point(283, 170);
this.infolabel.Name = "infolabel";
this.infolabel.Size = new System.Drawing.Size(0, 31);
this.infolabel.TabIndex = 6;
//
// label2
//
this.label2.Location = new System.Drawing.Point(246, 11);
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(75, 18);
this.label2.TabIndex = 0;
//
// HintMassageForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(841, 440);
this.ControlBox = false;
this.Controls.Add(this.label2);
this.Controls.Add(this.infolabel);
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.Name = "HintMassageForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "总成装配条码打印";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label infolabel;
private System.Windows.Forms.Label label2;
}
}

120
APPQ5/QMAPP.WinForm/Forms/Injection/HintMassageForm.resx

@ -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>

67
APPQ5/QMAPP.WinForm/Forms/Injection/SlushMoldingPrintForOldNewForm.Designer.cs

@ -28,12 +28,12 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lblLock = new System.Windows.Forms.LinkLabel();
this.label12 = new System.Windows.Forms.Label();
@ -259,6 +259,7 @@
this.comColor.Name = "comColor";
this.comColor.Size = new System.Drawing.Size(247, 32);
this.comColor.TabIndex = 3;
this.comColor.SelectedIndexChanged += new System.EventHandler(this.comColor_SelectedIndexChanged);
//
// label11
//
@ -341,14 +342,14 @@
this.DGView.AllowUserToDeleteRows = false;
this.DGView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.DGView.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.DGView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.MAINCODE,
@ -359,14 +360,14 @@
this.DGView.Location = new System.Drawing.Point(3, 29);
this.DGView.Name = "DGView";
this.DGView.ReadOnly = true;
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.DGView.RowTemplate.Height = 23;
this.DGView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.DGView.Size = new System.Drawing.Size(708, 762);
@ -376,8 +377,8 @@
//
this.MAINCODE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.MAINCODE.DataPropertyName = "MAINCODE";
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 15.75F);
this.MAINCODE.DefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 15.75F);
this.MAINCODE.DefaultCellStyle = dataGridViewCellStyle2;
this.MAINCODE.FillWeight = 48.95314F;
this.MAINCODE.HeaderText = "条码信息";
this.MAINCODE.Name = "MAINCODE";
@ -388,8 +389,8 @@
//
this.COLOR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.COLOR.DataPropertyName = "MATERIAL_NAME";
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 15.75F);
this.COLOR.DefaultCellStyle = dataGridViewCellStyle9;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15.75F);
this.COLOR.DefaultCellStyle = dataGridViewCellStyle3;
this.COLOR.FillWeight = 99.90437F;
this.COLOR.HeaderText = "表皮颜色";
this.COLOR.Name = "COLOR";
@ -400,8 +401,8 @@
//
this.PRODUCTCODE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.PRODUCTCODE.DataPropertyName = "PRODUCTCODE";
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle10;
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle4;
this.PRODUCTCODE.FillWeight = 48.95314F;
this.PRODUCTCODE.HeaderText = "零件号";
this.PRODUCTCODE.Name = "PRODUCTCODE";
@ -412,11 +413,11 @@
//
this.CREATETIME.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.CREATETIME.DataPropertyName = "CREATETIME";
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 15.75F);
dataGridViewCellStyle11.Format = "f";
dataGridViewCellStyle11.NullValue = null;
this.CREATETIME.DefaultCellStyle = dataGridViewCellStyle11;
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F);
dataGridViewCellStyle5.Format = "f";
dataGridViewCellStyle5.NullValue = null;
this.CREATETIME.DefaultCellStyle = dataGridViewCellStyle5;
this.CREATETIME.FillWeight = 48.95314F;
this.CREATETIME.HeaderText = "操作时间";
this.CREATETIME.Name = "CREATETIME";

330
APPQ5/QMAPP.WinForm/Forms/Injection/SlushMoldingPrintForOldNewForm.cs

@ -37,6 +37,8 @@ namespace QMAPP.WinForm.Forms.Injection
/// </summary>
public string CarType { set; get; }
public string ColorPrint = string.Empty;
List<MoldConfig> moldConfigList;
QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent();
@ -46,7 +48,10 @@ namespace QMAPP.WinForm.Forms.Injection
/// </summary>
public List<TSWeighRecore> List_tSWeighRecores = new List<TSWeighRecore>();
private string _cfgSlushMolding = null;// 称重区间
private string _cfgSlushMoldingVW371 = null;// 称重区间
private string _cfgSlushMoldingVW3712 = null;// 预警区间
private string _cfgSlushMoldingVW371PA = null;// 称重区间
private string _cfgSlushMoldingVW371PA2 = null;// 预警区间
/// <summary>
/// 新建
@ -54,10 +59,17 @@ namespace QMAPP.WinForm.Forms.Injection
public SlushMoldingPrintForOldNewForm()
{
InitializeComponent();
//infolabel.Text = $"重量13245,超出100-300安全区间!";
//infolabel.Text = $"重量13245,超出100-300标准范围! \r\n请尽快调整重量!";
//infolabel.ForeColor = Color.Coral;
infolabel.Text = "";
infolabel.ForeColor = Color.Red;
_cfgSlushMolding = GetAppConfigValue("SlushMolding");
_cfgSlushMoldingVW371 = GetAppConfigValue("SLUSHMOLDING");
_cfgSlushMoldingVW3712 = GetAppConfigValue("SLUSHMOLDING2");
_cfgSlushMoldingVW371PA = GetAppConfigValue("SLUSHMOLDINGPA");
_cfgSlushMoldingVW371PA2 = GetAppConfigValue("SLUSHMOLDINGPA2");
btnCommSend.Enabled = true;
serialPort1.DataReceived += new SerialDataReceivedEventHandler(serialPort1_DataReceived);
frmMain_Load();
@ -80,7 +92,7 @@ namespace QMAPP.WinForm.Forms.Injection
private void Form_Load(object sender, EventArgs e)
{
InitForm();
DataPage dataPage = new DataPage();
//获取前台分页设置信息
dataPage.PageIndex = 1;
@ -128,14 +140,16 @@ namespace QMAPP.WinForm.Forms.Injection
this.comColor.ValueMember = "KEY";
this.comColor.SelectedValue = "1";
//this.comColor.Enabled = false;
ColorPrint = this.comColor.SelectedValue.ToString();
////AB腔
this.comPosition.DataSource = basicData.GetDictionaryList(EnumGeter.DictKind.CAVITYTYPE.ToString());
this.comPosition.DisplayMember = "VALUE";
this.comPosition.ValueMember = "KEY";
//this.comPosition.SelectedIndex = 0;
//this.comPosition.Enabled = false;
#endregion
//加工日期
if (string.IsNullOrEmpty(this.dtpDate.Text))
@ -218,83 +232,83 @@ namespace QMAPP.WinForm.Forms.Injection
#region 加载保存信息
//for (int i = 0; i < 2; i++)//一次出2个码
//{
//零件属性
Product recorder = new Product();
ProductAttribute productAttribute = new ProductAttribute();
//搪塑机编号
productAttribute.VAL1 = machineInfo.MACHINENUM;
//产品类型(车型)成都固定
productAttribute.VAL2 = "V";
//高低配 成都无,且固定
productAttribute.VAL3 = "B";
//颜色
productAttribute.VAL4 = this.comColor.SelectedValue.ToString();
string[] cb = new string[] { };
if (!string.IsNullOrEmpty(this.cBoxModelCode.Text))
{
cb = this.cBoxModelCode.Text.Split('+');
}
if (cb.Length <= 0)
{
MessageBox.Show("模腔出错!");
return;
}
//零件属性
Product recorder = new Product();
ProductAttribute productAttribute = new ProductAttribute();
//搪塑机编号
productAttribute.VAL1 = machineInfo.MACHINENUM;
//产品类型(车型)成都固定
productAttribute.VAL2 = "V";
//高低配 成都无,且固定
productAttribute.VAL3 = "B";
//颜色
productAttribute.VAL4 = this.comColor.SelectedValue.ToString();
string[] cb = new string[] { };
if (!string.IsNullOrEmpty(this.cBoxModelCode.Text))
{
cb = this.cBoxModelCode.Text.Split('+');
}
if (cb.Length <= 0)
{
MessageBox.Show("模腔出错!");
return;
}
//腔
if (this.comPosition.Text == "搪塑B腔")//第一个为模腔号2
{
//腔
productAttribute.VAL5 = "B";
//模腔
productAttribute.VAL6 = cb[0].PadLeft(2, '0');
}
else if (this.comPosition.Text == "搪塑A腔")
{
//腔
productAttribute.VAL5 = "A";
//模腔
productAttribute.VAL6 = cb[1].PadLeft(2, '0');
}
if (this.comPosition.Text == "新搪塑")//第一个为模腔号2
{
//腔
productAttribute.VAL5 = "B";
//加工日期
if (string.IsNullOrEmpty(this.dtpDate.Text.Trim()))
{
productAttribute.VAL7 = Convert.ToDateTime(DateTime.Now).ToString("yyyy-MM-dd HH:mm:ss");
}
else
{
productAttribute.VAL7 = Convert.ToDateTime(this.dtpDate.Text.Trim()).ToString("yyyy-MM-dd HH:mm:ss");
}
//模腔
productAttribute.VAL6 = cb[0].PadLeft(2, '0');
}
else if (this.comPosition.Text == "老搪塑")
{
//腔
productAttribute.VAL5 = "A";
//模腔
productAttribute.VAL6 = cb[1].PadLeft(2, '0');
}
//加工日期
if (string.IsNullOrEmpty(this.dtpDate.Text.Trim()))
{
productAttribute.VAL7 = Convert.ToDateTime(DateTime.Now).ToString("yyyy-MM-dd HH:mm:ss");
}
else
{
productAttribute.VAL7 = Convert.ToDateTime(this.dtpDate.Text.Trim()).ToString("yyyy-MM-dd HH:mm:ss");
}
recorder.MACHINECODDE = machineInfo.MACHINECODDE;
recorder.MACHINENAME = machineInfo.MACHINENAME;
recorder.PRODUCTSOURCE = EnumGeter.PRODUCTSOURCE.SELFMADE.GetHashCode().ToString();
recorder.PRODUCTTYPE = EnumGeter.ProductType.biaopi.GetHashCode().ToString();
////添加加物料号
//QMAPP.ServicesAgent.ServiceAgent agents = ClientContext.GetServiceAgent();
//DataResult<string> materialcode = agents.InvokeServiceFunction<DataResult<string>>(B9BasicService.MaterialCodeBLL_GetMaterialCode.ToString(), productAttribute.VAL2);
//recorder.MATERIAL_CODE = materialcode.Result.ToString();
recorder.STATUS = EnumGeter.PRODUCTSTAUTS.QUALIFIED.GetHashCode().ToString();
recorder.CURRENTPROCESS = EnumGeter.ProcessType.lengdaoruohua.GetHashCode().ToString();
//ToDo:选择生产线
//成都固定生产线
recorder.PRODUCELINE = "IPVW371";
recorder.OUTFLAG = EnumGeter.PRODUCTOUTFLAG.INLIBRARY.GetHashCode().ToString();
recorder.USINGSTATE = EnumGeter.PRODUCTUSESTATE.UNUSED.GetHashCode().ToString();
recorder.PRODUCESHIFTTCODE = ClientContext.produceShift.PRODUCESHIFTTCODE;
recorder.PRODUCESHIFTNAME = ClientContext.produceShift.PRODUCESHIFTNAME;
recorder.CAPACITY = 1;
recorder.USINGCOUNT = 0;
recorder.PRODUCTATTRIBUTE = productAttribute;
recorder.AddM = this.cbM.Checked;
listRecorder.Add(recorder);
recorder.MACHINECODDE = machineInfo.MACHINECODDE;
recorder.MACHINENAME = machineInfo.MACHINENAME;
recorder.PRODUCTSOURCE = EnumGeter.PRODUCTSOURCE.SELFMADE.GetHashCode().ToString();
recorder.PRODUCTTYPE = EnumGeter.ProductType.biaopi.GetHashCode().ToString();
////添加加物料号
//QMAPP.ServicesAgent.ServiceAgent agents = ClientContext.GetServiceAgent();
//DataResult<string> materialcode = agents.InvokeServiceFunction<DataResult<string>>(B9BasicService.MaterialCodeBLL_GetMaterialCode.ToString(), productAttribute.VAL2);
//recorder.MATERIAL_CODE = materialcode.Result.ToString();
recorder.STATUS = EnumGeter.PRODUCTSTAUTS.QUALIFIED.GetHashCode().ToString();
recorder.CURRENTPROCESS = EnumGeter.ProcessType.lengdaoruohua.GetHashCode().ToString();
//ToDo:选择生产线
//成都固定生产线
recorder.PRODUCELINE = "IPVW371";
recorder.OUTFLAG = EnumGeter.PRODUCTOUTFLAG.INLIBRARY.GetHashCode().ToString();
recorder.USINGSTATE = EnumGeter.PRODUCTUSESTATE.UNUSED.GetHashCode().ToString();
recorder.PRODUCESHIFTTCODE = ClientContext.produceShift.PRODUCESHIFTTCODE;
recorder.PRODUCESHIFTNAME = ClientContext.produceShift.PRODUCESHIFTNAME;
recorder.CAPACITY = 1;
recorder.USINGCOUNT = 0;
recorder.PRODUCTATTRIBUTE = productAttribute;
recorder.AddM = this.cbM.Checked;
listRecorder.Add(recorder);
//}
#region 保存
@ -323,7 +337,7 @@ namespace QMAPP.WinForm.Forms.Injection
//保存成功
if (result_Save.IsSuccess)
{
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--条码插入成功");
#region 打印条码
this.DialogResult = System.Windows.Forms.DialogResult.OK;
@ -331,7 +345,15 @@ namespace QMAPP.WinForm.Forms.Injection
foreach (PrintCode item in result_Save.Result)
{
QM.Assist.LabelInfo ll = new QM.Assist.LabelInfo();
ll.BarCode = item.MAINCODE + ",*" + item.PRODUCTCODE + "*" + "," + item.COLOR_CODE;
if (this.comColor.Text.Contains("PA"))
{
ll.BarCode = item.MAINCODE + ",*" + item.PRODUCTCODE + "*" + "," + item.COLOR_CODE + ",VW371PA仪表板表皮";
}
else
{
ll.BarCode = item.MAINCODE + ",*" + item.PRODUCTCODE + "*" + "," + item.COLOR_CODE + ",VW371仪表板表皮";
}
QM.Assist.PrintUtil.LabelList2.Add(ll);
@ -351,7 +373,6 @@ namespace QMAPP.WinForm.Forms.Injection
row.Cells["MAINCODE"].Value = item.MAINCODE;
row.Cells["PRODUCTCODE"].Value = item.PRODUCTCODE;
row.Cells["COLOR"].Value = item.COLOR_CODE;
row.Cells["COLOR"].Value = item.COLOR_CODE;
row.Cells["CREATETIME"].Value = DateTime.Now;
if (DGView.Rows.Count > 200)
{
@ -359,18 +380,19 @@ namespace QMAPP.WinForm.Forms.Injection
}
#region 保存称重记录
var Entity = new TSWeighRecore();
Entity.MATERIAL_CODE = item.PRODUCTCODE;
Entity.PColour = item.COLOR_CODE;
Entity.ProductCode = item.MAINCODE;
List_tSWeighRecores.Add(Entity);
#endregion
}
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--打印开始");
QM.Assist.PrintUtil pu = new QM.Assist.PrintUtil();
pu.PrintLabel2(System.Configuration.ConfigurationManager.AppSettings["proPath"].ToString
@ -380,6 +402,8 @@ namespace QMAPP.WinForm.Forms.Injection
#endregion
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--打印结束,重置界面");
#region 重新设置当前使用和列表信息
var Station = comMouldNumber.SelectedItem;
@ -418,6 +442,7 @@ namespace QMAPP.WinForm.Forms.Injection
}
else
{
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--条码插入失败");
MessageBox.Show(result_Save.Msg);
}
}
@ -559,7 +584,7 @@ namespace QMAPP.WinForm.Forms.Injection
#endregion
#region
/// <summary>
///
/// </summary>
@ -570,9 +595,9 @@ namespace QMAPP.WinForm.Forms.Injection
{
myRtb.AppendText(strTemp + System.Environment.NewLine);
}
/// <summary>
/// 所有的串口类型
/// </summary>
/// <summary>
/// 所有的串口类型
/// </summary>
public enum HardwareEnum
{
Win32_Processor,
@ -636,7 +661,7 @@ namespace QMAPP.WinForm.Forms.Injection
List<string> stringList = new List<string>();
try
{
ManagementObjectSearcher managementObjectSearcher = new ManagementObjectSearcher("select * from " + (object)hardType);
foreach (ManagementBaseObject managementBaseObject in managementObjectSearcher.Get())
@ -688,8 +713,8 @@ namespace QMAPP.WinForm.Forms.Injection
{
MessageBox.Show("frmMain_Load!");
}
}
public string CodeName = string.Empty;
@ -715,7 +740,7 @@ namespace QMAPP.WinForm.Forms.Injection
{
MessageBox.Show("comboBox1_SelectedIndexChanged!");
}
}
public string Weigh_str = string.Empty;
private SerialPort serialPort1 = new SerialPort();
@ -754,13 +779,27 @@ namespace QMAPP.WinForm.Forms.Injection
for (int index = 0; index < numArray1.Length; ++index)
str = (int)numArray1[index] >= 16 ? str + Convert.ToString(numArray1[index], 16) + " " : str + "0" + Convert.ToString(numArray1[index], 16) + " ";
if ((int)numArray2[0] == (int)numArray1[bytesToRead - 2] &&
(int)numArray2[1] == (int)numArray1[bytesToRead - 1])
{
if (!string.IsNullOrEmpty(_cfgSlushMolding))
var cfgSlushMolding_STR = "";
var cfgSlushMolding2_STR = "";
if (this.comColor.Text.Contains("PA"))
{
var SP = _cfgSlushMolding.Split(',');
cfgSlushMolding_STR = _cfgSlushMoldingVW371PA;
cfgSlushMolding2_STR = _cfgSlushMoldingVW371PA2;
}
else
{
cfgSlushMolding_STR = _cfgSlushMoldingVW371;
cfgSlushMolding2_STR = _cfgSlushMoldingVW3712;
}
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--接受到信号--" + cfgSlushMolding_STR);
if (!string.IsNullOrEmpty(cfgSlushMolding_STR) && !string.IsNullOrEmpty(cfgSlushMolding2_STR))
{
var SP = cfgSlushMolding_STR.Split(',');
var SP_Begin = Convert.ToInt32(SP[0]);
var SP_End = Convert.ToInt32(SP[1]);
Weigh_str = str.ToUpper();
@ -769,36 +808,65 @@ namespace QMAPP.WinForm.Forms.Injection
Weigh_str = Weigh_str.Substring(Weigh_str.Length - 11, 2) + Weigh_str.Substring(Weigh_str.Length - 8, 2);
Weigh_str = Convert.ToInt32(Weigh_str, 16).ToString();
var Weigh_Num = Convert.ToInt32(Weigh_str);
if (SP_Begin <= Weigh_Num && Weigh_Num <= SP_End)
if (Weigh_Num >= 10000)
Weigh_Num = 0;
var state = true;
var state2 = true;
if (SP_Begin > Weigh_Num || Weigh_Num > SP_End)
{
SaveProduct();
foreach (var t in List_tSWeighRecores)
{
t.Weigh = Weigh_str;
agent.InvokeServiceFunction<DataResult<int>>(QMAPP.ServicesAgent.DictService.TSWeighRecoreBLL_Insert.ToString(), t);
}
List_tSWeighRecores = new List<TSWeighRecore>();
this.TBRCV.Text = str.ToUpper();
this.TBRCV.Text = $"重量{Weigh_Num},超出{cfgSlushMolding_STR}标准范围!重量不合格,报废";
infolabel.Text = $"重量{Weigh_Num},超出{cfgSlushMolding_STR}标准范围! \r\n重量不合格,报废";
infolabel.ForeColor = Color.Red;
HintMassageForm psd = new HintMassageForm($"重量{Weigh_Num},超出{cfgSlushMolding_STR}标准范围!重量不合格,报废");
var result = psd.ShowDialog();
state = false;
}
else
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--标准范围内");
SaveProduct();
foreach (var t in List_tSWeighRecores)
{
t.Weigh = Weigh_str;
agent.InvokeServiceFunction<DataResult<int>>(QMAPP.ServicesAgent.DictService.TSWeighRecoreBLL_Insert.ToString(), t);
}
List_tSWeighRecores = new List<TSWeighRecore>();
this.TBRCV.Text = str.ToUpper();
var SP2 = cfgSlushMolding2_STR.Split(',');
var SP_Begin2 = Convert.ToInt32(SP2[0]);
var SP_End2 = Convert.ToInt32(SP2[1]);
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--预警区间--" + cfgSlushMolding2_STR);
if ((SP_End2 <= Weigh_Num || Weigh_Num <= SP_Begin2) && state == true)
{
this.TBRCV.Text = $"重量{Weigh_Num},超出{_cfgSlushMolding}安全区间!";
infolabel.Text = $"重量{Weigh_Num},超出{_cfgSlushMolding}安全区间!";
this.TBRCV.Text = $"重量{Weigh_Num}!到达{SP_End2},{SP_End}预警区间!请尽快调整重量!";
infolabel.Text = $"重量{Weigh_Num}!到达{SP_End2},{SP_End}预警区间 \r\n请尽快调整重量!";
infolabel.ForeColor = Color.Coral;
state2 = false;
}
if (state == true && state2 == true)
{
this.TBRCV.Text = "";
infolabel.Text = "";
}
WriteLog.Write(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff") + "--完成");
}
else
{
this.TBRCV.Text = "未配置安全区间";
infolabel.Text = "未配置安全区间";
this.TBRCV.Text = "未配置标准范围";
infolabel.Text = "未配置标准范围";
infolabel.ForeColor = Color.Red;
}
}
else
{
Weigh_str = "接收错误";
this.TBRCV.Text = str.ToUpper() + "接收错误 CRC有误";
infolabel.Text = str.ToUpper() + "接收错误 CRC有误";
infolabel.ForeColor = Color.Red;
}
}
catch
@ -836,7 +904,7 @@ namespace QMAPP.WinForm.Forms.Injection
MessageBox.Show("strToToHexByte!");
return new byte[] { };
}
}
public static byte[] addCrcHexByte(byte[] strHexByte)
{
@ -866,7 +934,7 @@ namespace QMAPP.WinForm.Forms.Injection
MessageBox.Show("addCrcHexByte!");
return new byte[] { };
}
}
public static byte[] callcrc(byte[] ss, int num)
{
@ -900,9 +968,9 @@ namespace QMAPP.WinForm.Forms.Injection
MessageBox.Show("callcrc!");
return new byte[] { };
}
}
/// <summary>
/// 打开设备通讯
/// </summary>
@ -912,6 +980,10 @@ namespace QMAPP.WinForm.Forms.Injection
{
try
{
//HintMassageForm psd = new HintMassageForm($"重量13245!超出100-300标准范围!请尽快调整重量!");
//var result = psd.ShowDialog();
if (CodeName == "")
{
comboBox1_SelectedIndexChanged(sender, e);
@ -934,7 +1006,7 @@ namespace QMAPP.WinForm.Forms.Injection
{
MessageBox.Show("btnCom_Click!");
}
}
/// <summary>
@ -944,7 +1016,8 @@ namespace QMAPP.WinForm.Forms.Injection
/// <param name="e"></param>
private void btnCommSend_Click(object sender, EventArgs e)
{
try {
try
{
//btnCom_Click();
if (serialPort1.IsOpen)
{
@ -969,7 +1042,7 @@ namespace QMAPP.WinForm.Forms.Injection
{
MessageBox.Show("btnCommSend_Click!");
}
}
#endregion
@ -988,5 +1061,28 @@ namespace QMAPP.WinForm.Forms.Injection
return null;
}
private void comColor_SelectedIndexChanged(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(ColorPrint) && ColorPrint != this.comColor.SelectedValue.ToString())
{
UpdatePasswordForm psd = new UpdatePasswordForm();
var color = this.comColor.SelectedValue.ToString();
var result = psd.ShowDialog();
if (result.ToString() != "OK")
{
if (color != ColorPrint)
{
this.comColor.SelectedValue = ColorPrint;
}
}
else
{
ColorPrint = this.comColor.SelectedValue.ToString();
}
}
}
}
}

87
APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.cs

@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QMAPP.FJC.Entity.Operation;
using QMAPP.Entity;
using QMAPP.ServicesAgent;
using QMAPP.MD.Entity;
using QMAPP.FJC.Entity.Basic;
using QMAPP.WinForm.Common;
using QMAPP.FJC.Entity;
using QMAPP.FJC.Entity.BZD;
namespace QMAPP.WinForm.Forms.Injection
{
public partial class UpdatePasswordForm : Form
{
//获取服务代理
QMAPP.ServicesAgent.ServiceAgent _agent = ClientContext.GetServiceAgent();
List<BZDConfig> _bzdConfig = null;
Product _CurrentProduct = null;
public UpdatePasswordForm()
{
InitializeComponent();
infolabel.Text = "";
infolabel.ForeColor = Color.Red;
}
#region 打印按钮
/// <summary>
/// 打印按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button1_Click(object sender, EventArgs e)
{
try
{
string MakeUpBZD = "";
DataTable dataTable = _agent.InvokeServiceFunction<DataTable>(B9IPCService.BZDConfigBLL_GetAppConfigValue.ToString(), "MakeUpBZD");
if (dataTable.Rows.Count > 0)
{
MakeUpBZD = dataTable.Rows[0]["Value"].ToString();
}
if (string.IsNullOrEmpty(MakeUpBZD))
MakeUpBZD = "admin";
if (string.IsNullOrEmpty(txtMainCode.Text))
{
infolabel.Text = "请输入密码!";
this.Show();
}
if (txtMainCode.Text == MakeUpBZD)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
else
{
infolabel.Text = "密码输入错误!";
this.Show();
}
}
catch (Exception exception)
{
//MessageBox.Show("打印失败!");
throw;
}
}
#endregion
}
}

126
APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.designer.cs

@ -0,0 +1,126 @@
namespace QMAPP.WinForm.Forms.Injection
{
partial class UpdatePasswordForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.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.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtMainCode = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.infolabel = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(184, 30);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(245, 37);
this.label1.TabIndex = 0;
this.label1.Text = "信息变更确认";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(27, 127);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(106, 24);
this.label3.TabIndex = 2;
this.label3.Text = "输入密码";
//
// txtMainCode
//
this.txtMainCode.BackColor = System.Drawing.SystemColors.Window;
this.txtMainCode.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMainCode.Location = new System.Drawing.Point(153, 122);
this.txtMainCode.Name = "txtMainCode";
this.txtMainCode.PasswordChar = '*';
this.txtMainCode.Size = new System.Drawing.Size(341, 35);
this.txtMainCode.TabIndex = 4;
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(520, 122);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(123, 35);
this.button1.TabIndex = 5;
this.button1.Text = "确认";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// infolabel
//
this.infolabel.AutoSize = true;
this.infolabel.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.infolabel.ForeColor = System.Drawing.Color.Red;
this.infolabel.Location = new System.Drawing.Point(157, 170);
this.infolabel.Name = "infolabel";
this.infolabel.Size = new System.Drawing.Size(0, 31);
this.infolabel.TabIndex = 6;
//
// label2
//
this.label2.Location = new System.Drawing.Point(246, 11);
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(75, 18);
this.label2.TabIndex = 0;
//
// UpdatePasswordForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(665, 235);
this.Controls.Add(this.label2);
this.Controls.Add(this.infolabel);
this.Controls.Add(this.button1);
this.Controls.Add(this.txtMainCode);
this.Controls.Add(this.label3);
this.Controls.Add(this.label1);
this.Name = "UpdatePasswordForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "信息变更确认";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtMainCode;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label infolabel;
private System.Windows.Forms.Label label2;
}
}

120
APPQ5/QMAPP.WinForm/Forms/Injection/UpdatePasswordForm.resx

@ -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>

293
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs

@ -29,37 +29,37 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OperationForm));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel2 = new System.Windows.Forms.Panel();
this.tBMat = new System.Windows.Forms.TextBox();
this.cBoxVAN = new System.Windows.Forms.CheckBox();
@ -111,7 +111,7 @@
this.btnEditProduct = new System.Windows.Forms.ToolStripButton();
this.btnRefresh = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.panel4 = new System.Windows.Forms.Panel();
this.plInfo = new System.Windows.Forms.Panel();
this.gbMlist = new System.Windows.Forms.GroupBox();
@ -415,14 +415,14 @@
this.DGView.AllowUserToDeleteRows = false;
this.DGView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.DGView.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle31.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31;
this.DGView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dgcMouldCode,
@ -435,28 +435,28 @@
this.davalue,
this.daresult,
this.Pid});
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle11.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0);
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.DefaultCellStyle = dataGridViewCellStyle11;
dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle41.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle41.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0);
dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.DefaultCellStyle = dataGridViewCellStyle41;
this.DGView.Dock = System.Windows.Forms.DockStyle.Fill;
this.DGView.GridColor = System.Drawing.SystemColors.ControlDarkDark;
this.DGView.Location = new System.Drawing.Point(0, 0);
this.DGView.Name = "DGView";
this.DGView.ReadOnly = true;
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle42.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle42.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle42.SelectionBackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle42.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle42;
this.DGView.RowTemplate.Height = 30;
this.DGView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.DGView.Size = new System.Drawing.Size(1698, 127);
@ -467,9 +467,9 @@
// dgcMouldCode
//
this.dgcMouldCode.DataPropertyName = "MouldCode";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold);
this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle32.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold);
this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle32;
this.dgcMouldCode.HeaderText = "模架编号";
this.dgcMouldCode.Name = "dgcMouldCode";
this.dgcMouldCode.ReadOnly = true;
@ -479,8 +479,8 @@
// dgcMouldName
//
this.dgcMouldName.DataPropertyName = "MouldName";
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold);
this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle3;
dataGridViewCellStyle33.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold);
this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle33;
this.dgcMouldName.HeaderText = "模架";
this.dgcMouldName.Name = "dgcMouldName";
this.dgcMouldName.ReadOnly = true;
@ -489,8 +489,8 @@
// daname
//
this.daname.DataPropertyName = "DAName";
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F);
this.daname.DefaultCellStyle = dataGridViewCellStyle4;
dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 15.75F);
this.daname.DefaultCellStyle = dataGridViewCellStyle34;
this.daname.HeaderText = "采集项名称";
this.daname.Name = "daname";
this.daname.ReadOnly = true;
@ -499,8 +499,8 @@
// statename
//
this.statename.DataPropertyName = "StateName";
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statename.DefaultCellStyle = dataGridViewCellStyle5;
dataGridViewCellStyle35.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statename.DefaultCellStyle = dataGridViewCellStyle35;
this.statename.HeaderText = "采集时序";
this.statename.Name = "statename";
this.statename.ReadOnly = true;
@ -510,8 +510,8 @@
// datype
//
this.datype.DataPropertyName = "DAType";
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F);
this.datype.DefaultCellStyle = dataGridViewCellStyle6;
dataGridViewCellStyle36.Font = new System.Drawing.Font("宋体", 15.75F);
this.datype.DefaultCellStyle = dataGridViewCellStyle36;
this.datype.HeaderText = "数据类型";
this.datype.Name = "datype";
this.datype.ReadOnly = true;
@ -521,8 +521,8 @@
//
this.materialtypename.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.materialtypename.DataPropertyName = "MaterialCode";
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F);
this.materialtypename.DefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle37.Font = new System.Drawing.Font("宋体", 15.75F);
this.materialtypename.DefaultCellStyle = dataGridViewCellStyle37;
this.materialtypename.FillWeight = 50F;
this.materialtypename.HeaderText = "物料类型";
this.materialtypename.Name = "materialtypename";
@ -532,8 +532,8 @@
//
this.dgcDAMaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dgcDAMaterialCode.DataPropertyName = "MaterialName";
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle38;
this.dgcDAMaterialCode.FillWeight = 50F;
this.dgcDAMaterialCode.HeaderText = "物料名称";
this.dgcDAMaterialCode.Name = "dgcDAMaterialCode";
@ -543,8 +543,8 @@
//
this.davalue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.davalue.DataPropertyName = "DAValue";
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 15.75F);
this.davalue.DefaultCellStyle = dataGridViewCellStyle9;
dataGridViewCellStyle39.Font = new System.Drawing.Font("宋体", 15.75F);
this.davalue.DefaultCellStyle = dataGridViewCellStyle39;
this.davalue.HeaderText = "采集值";
this.davalue.Name = "davalue";
this.davalue.ReadOnly = true;
@ -552,8 +552,8 @@
// daresult
//
this.daresult.DataPropertyName = "DAResult";
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 15.75F);
this.daresult.DefaultCellStyle = dataGridViewCellStyle10;
dataGridViewCellStyle40.Font = new System.Drawing.Font("宋体", 15.75F);
this.daresult.DefaultCellStyle = dataGridViewCellStyle40;
this.daresult.HeaderText = "结果";
this.daresult.Name = "daresult";
this.daresult.ReadOnly = true;
@ -588,7 +588,7 @@
this.btnEditProduct,
this.btnRefresh,
this.toolStripButton1,
this.toolStripButton4});
this.toolStripButton3});
this.toolStrip1.Location = new System.Drawing.Point(0, 380);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1698, 70);
@ -812,16 +812,17 @@
this.toolStripButton1.Text = "缺陷统计卡";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton4
// toolStripButton3
//
this.toolStripButton4.AutoSize = false;
this.toolStripButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.toolStripButton4.Image = global::QMAPP.WinForm.Resource1.print1;
this.toolStripButton4.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.White;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(140, 60);
this.toolStripButton4.Text = "补打总成码";
this.toolStripButton3.AutoSize = false;
this.toolStripButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.toolStripButton3.Image = global::QMAPP.WinForm.Resource1.print1;
this.toolStripButton3.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.White;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(140, 60);
this.toolStripButton3.Text = "补打总成码";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// panel4
//
@ -1042,14 +1043,14 @@
this.dgvPlan.AllowUserToDeleteRows = false;
this.dgvPlan.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dgvPlan.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle43.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43;
this.dgvPlan.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPlan.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dgcOrderNo,
@ -1067,16 +1068,16 @@
this.dgvPlan.Location = new System.Drawing.Point(0, 0);
this.dgvPlan.Name = "dgvPlan";
this.dgvPlan.ReadOnly = true;
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle21.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle21;
dataGridViewCellStyle22.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0);
this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle22;
dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle51.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle51.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle51.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle51.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle51.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle51.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle51;
dataGridViewCellStyle52.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0);
this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle52;
this.dgvPlan.RowTemplate.Height = 23;
this.dgvPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvPlan.Size = new System.Drawing.Size(1525, 27);
@ -1087,8 +1088,8 @@
// dgcOrderNo
//
this.dgcOrderNo.DataPropertyName = "ORDERPLAN_NO";
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle14;
dataGridViewCellStyle44.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle44;
this.dgcOrderNo.HeaderText = "订单号";
this.dgcOrderNo.Name = "dgcOrderNo";
this.dgcOrderNo.ReadOnly = true;
@ -1097,8 +1098,8 @@
// dgcSeq
//
this.dgcSeq.DataPropertyName = "SEQ";
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle15;
dataGridViewCellStyle45.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle45;
this.dgcSeq.HeaderText = "顺序号";
this.dgcSeq.Name = "dgcSeq";
this.dgcSeq.ReadOnly = true;
@ -1107,8 +1108,8 @@
// dgcMaterialCode
//
this.dgcMaterialCode.DataPropertyName = "MATERIAL_CODE";
dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle16;
dataGridViewCellStyle46.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle46;
this.dgcMaterialCode.HeaderText = "零件号";
this.dgcMaterialCode.Name = "dgcMaterialCode";
this.dgcMaterialCode.ReadOnly = true;
@ -1117,8 +1118,8 @@
// dgcMaterialName
//
this.dgcMaterialName.DataPropertyName = "MATERIAL_NAME";
dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle17;
dataGridViewCellStyle47.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle47;
this.dgcMaterialName.HeaderText = "零件描述";
this.dgcMaterialName.Name = "dgcMaterialName";
this.dgcMaterialName.ReadOnly = true;
@ -1126,8 +1127,8 @@
//
// dgcState
//
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcState.DefaultCellStyle = dataGridViewCellStyle18;
dataGridViewCellStyle48.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcState.DefaultCellStyle = dataGridViewCellStyle48;
this.dgcState.HeaderText = "工单状态";
this.dgcState.MinimumWidth = 80;
this.dgcState.Name = "dgcState";
@ -1137,8 +1138,8 @@
// dgcPlanDate
//
this.dgcPlanDate.DataPropertyName = "PLAN_DATE";
dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle19;
dataGridViewCellStyle49.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle49;
this.dgcPlanDate.HeaderText = "计划日期";
this.dgcPlanDate.Name = "dgcPlanDate";
this.dgcPlanDate.ReadOnly = true;
@ -1147,8 +1148,8 @@
// dgcShift
//
this.dgcShift.DataPropertyName = "SHIFT_CODE";
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcShift.DefaultCellStyle = dataGridViewCellStyle20;
dataGridViewCellStyle50.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcShift.DefaultCellStyle = dataGridViewCellStyle50;
this.dgcShift.HeaderText = "班次";
this.dgcShift.Name = "dgcShift";
this.dgcShift.ReadOnly = true;
@ -1322,14 +1323,14 @@
this.DGViewProList.AllowUserToDeleteRows = false;
this.DGViewProList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.DGViewProList.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle53.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle53.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle53.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle53.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle53.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle53.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle53;
this.DGViewProList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGViewProList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.PRODUCTCODE,
@ -1346,14 +1347,14 @@
this.DGViewProList.Location = new System.Drawing.Point(0, 0);
this.DGViewProList.Name = "DGViewProList";
this.DGViewProList.ReadOnly = true;
dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle30;
dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle60.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle60.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle60.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle60.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle60.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle60.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle60;
this.DGViewProList.RowTemplate.Height = 23;
this.DGViewProList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.DGViewProList.Size = new System.Drawing.Size(1690, 27);
@ -1364,8 +1365,8 @@
//
this.PRODUCTCODE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.PRODUCTCODE.DataPropertyName = "PRODUCTCODE";
dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle24;
dataGridViewCellStyle54.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle54;
this.PRODUCTCODE.FillWeight = 29.82234F;
this.PRODUCTCODE.HeaderText = "条码";
this.PRODUCTCODE.Name = "PRODUCTCODE";
@ -1376,8 +1377,8 @@
//
this.PRODUCTCODESTR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.PRODUCTCODESTR.DataPropertyName = "PRODUCTCODESTR";
dataGridViewCellStyle25.Font = new System.Drawing.Font("宋体", 15.75F);
this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle25;
dataGridViewCellStyle55.Font = new System.Drawing.Font("宋体", 15.75F);
this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle55;
this.PRODUCTCODESTR.HeaderText = "骨架条码";
this.PRODUCTCODESTR.Name = "PRODUCTCODESTR";
this.PRODUCTCODESTR.ReadOnly = true;
@ -1388,8 +1389,8 @@
//
this.MOLDNUMBER.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.MOLDNUMBER.DataPropertyName = "MOLDNUMBER";
dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 15.75F);
this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle26;
dataGridViewCellStyle56.Font = new System.Drawing.Font("宋体", 15.75F);
this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle56;
this.MOLDNUMBER.FillWeight = 380.7106F;
this.MOLDNUMBER.HeaderText = "模架号";
this.MOLDNUMBER.Name = "MOLDNUMBER";
@ -1400,8 +1401,8 @@
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.dataGridViewTextBoxColumn2.DataPropertyName = "OPERATESTATETEXT";
dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 15.75F);
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle27;
dataGridViewCellStyle57.Font = new System.Drawing.Font("宋体", 15.75F);
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle57;
this.dataGridViewTextBoxColumn2.FillWeight = 29.82234F;
this.dataGridViewTextBoxColumn2.HeaderText = "加工状态";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
@ -1412,8 +1413,8 @@
//
this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.Column5.DataPropertyName = "CREATEDATE";
dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 15.75F);
this.Column5.DefaultCellStyle = dataGridViewCellStyle28;
dataGridViewCellStyle58.Font = new System.Drawing.Font("宋体", 15.75F);
this.Column5.DefaultCellStyle = dataGridViewCellStyle58;
this.Column5.FillWeight = 29.82234F;
this.Column5.HeaderText = "加工时间";
this.Column5.Name = "Column5";
@ -1424,8 +1425,8 @@
//
this.OPERATEDDATE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.OPERATEDDATE.DataPropertyName = "OPERATEDDATE";
dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 15.75F);
this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle29;
dataGridViewCellStyle59.Font = new System.Drawing.Font("宋体", 15.75F);
this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle59;
this.OPERATEDDATE.FillWeight = 29.82234F;
this.OPERATEDDATE.HeaderText = "加工完成时间";
this.OPERATEDDATE.Name = "OPERATEDDATE";
@ -1615,6 +1616,6 @@
private System.Windows.Forms.CheckBox cBoxVAN;
private System.Windows.Forms.TextBox tBMat;
private System.Windows.Forms.ToolStripButton btnSignInfo;
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.ToolStripButton toolStripButton3;
}
}

1
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs

@ -3648,5 +3648,6 @@ namespace QMAPP.WinForm.Forms.Operation
frm.ShowDialog();
}
#endregion
}
}

175
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx

@ -505,89 +505,89 @@
<data name="tsbSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAA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CJs7KWzWk+ULU5Y/rTxyb4HHdhM/13TfiYP52W/vU+nfyM9f/O20
iKMOdil55HbyxFqlVdintAh6pZWaoCXZozQnAgor35Zr56uVNiE3t1zYmlvBnsi3se+ec7O6EFDYPJVw
3TewYPkcUv7ZRcoLLfecZAMPfuMQ7aUqleqC/ulGnrk428C+RKH0dRWHf1Ga2ZUUGlfkG9lXxRD5WMn5
tzDnuiOO6Ctk+QIpbJadUd4nvyoJ190nmP++M8v1pw6Iv0WWz5aUv/Msy6eU77vnn6VHP53ArJiwa8+y
/IfDRnrs0wsMrP7A8nm3IKS5IyG47pZ/qsPmw0glbBEpr7wFsN4OUl79/0b5JUuW/A8UFNW01ao+6gAA
AABJRU5ErkJggg==
</value>
</data>
<metadata name="dgcMListMaterialName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@ -599,6 +599,15 @@
<metadata name="dgcMListQty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListMaterialName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListMaterialCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListQty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcOrderNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

18
APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj

@ -283,6 +283,18 @@
<Compile Include="Forms\DisPatch\DPShipment.Designer.cs">
<DependentUpon>DPShipment.cs</DependentUpon>
</Compile>
<Compile Include="Forms\Injection\HintMassageForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Injection\HintMassageForm.designer.cs">
<DependentUpon>HintMassageForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\Injection\UpdatePasswordForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\Injection\UpdatePasswordForm.designer.cs">
<DependentUpon>UpdatePasswordForm.cs</DependentUpon>
</Compile>
<Compile Include="Forms\Injection\InjectionMoldingPasswordForm.cs">
<SubType>Form</SubType>
</Compile>
@ -1071,6 +1083,12 @@
<EmbeddedResource Include="Forms\DisPatch\DPShipment.resx">
<DependentUpon>DPShipment.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Injection\HintMassageForm.resx">
<DependentUpon>HintMassageForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Injection\UpdatePasswordForm.resx">
<DependentUpon>UpdatePasswordForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Injection\InjectionMoldingPasswordForm.resx">
<DependentUpon>InjectionMoldingPasswordForm.cs</DependentUpon>
</EmbeddedResource>

2
ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config

@ -66,7 +66,7 @@
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>

Loading…
Cancel
Save