dequan.zhang
3 years ago
34 changed files with 1892 additions and 487 deletions
Binary file not shown.
@ -0,0 +1,39 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<DataInfoMains> |
||||
|
<DataInfoMain InfoName="TJDoorPlankPlanImp" InfoTitle="门板发运计划信息" TemplateFile="TJDoorPlankPlanImp.xlsx" RecordCount="n"> |
||||
|
<DataInfoItems> |
||||
|
|
||||
|
<DataInfoItem ColumnName="PLAN_DATE" ColumnTitle="计划日期" XPosition="A" YPosition="3" > |
||||
|
<Observers> |
||||
|
<Observer name="Required" ></Observer> |
||||
|
</Observers> |
||||
|
</DataInfoItem> |
||||
|
|
||||
|
<DataInfoItem ColumnName="PLAN_SEQ" ColumnTitle="计划顺序号" XPosition="B" YPosition="3" > |
||||
|
<Observers> |
||||
|
<Observer name="Required" ></Observer> |
||||
|
</Observers> |
||||
|
</DataInfoItem> |
||||
|
|
||||
|
<DataInfoItem ColumnName="LINENO" ColumnTitle="车型" XPosition="C" YPosition="3" > |
||||
|
<Observers> |
||||
|
<Observer name="Required" ></Observer> |
||||
|
</Observers> |
||||
|
</DataInfoItem> |
||||
|
|
||||
|
<DataInfoItem ColumnName="MATERIAL_CODE" ColumnTitle="物料号" XPosition="D" YPosition="3" > |
||||
|
<Observers> |
||||
|
<Observer name="Required" ></Observer> |
||||
|
</Observers> |
||||
|
</DataInfoItem> |
||||
|
|
||||
|
<DataInfoItem ColumnName="QTY" ColumnTitle="计划数量" XPosition="E" YPosition="3" > |
||||
|
<Observers> |
||||
|
<Observer name="Required" ></Observer> |
||||
|
</Observers> |
||||
|
</DataInfoItem> |
||||
|
|
||||
|
|
||||
|
</DataInfoItems> |
||||
|
</DataInfoMain> |
||||
|
</DataInfoMains> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,512 @@ |
|||||
|
namespace QMAPP.WinForm.Forms.TianJin |
||||
|
{ |
||||
|
partial class TJPrintPlanLabel |
||||
|
{ |
||||
|
/// <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.components = new System.ComponentModel.Container(); |
||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TJPrintPlanLabel)); |
||||
|
this.dgvPlan = new System.Windows.Forms.DataGridView(); |
||||
|
this.dgcOrderNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcSeq = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcMaterialCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcMaterialName = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcState = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcPlanDate = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dgcShift = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
||||
|
this.tpContent = new System.Windows.Forms.TabControl(); |
||||
|
this.tpPlanList = new System.Windows.Forms.TabPage(); |
||||
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
||||
|
this.tsbPrint = new System.Windows.Forms.ToolStripButton(); |
||||
|
this.tsbOrderOperation = new System.Windows.Forms.ToolStripDropDownButton(); |
||||
|
this.tsmiSuspendOrder = new System.Windows.Forms.ToolStripMenuItem(); |
||||
|
this.tsmiCancelSuspend = new System.Windows.Forms.ToolStripMenuItem(); |
||||
|
this.tsmiDeleteOrder = new System.Windows.Forms.ToolStripMenuItem(); |
||||
|
this.tslblOrderCount = new System.Windows.Forms.ToolStripLabel(); |
||||
|
this.label1 = new System.Windows.Forms.Label(); |
||||
|
this.cbRoutes = new System.Windows.Forms.ComboBox(); |
||||
|
this.cbPlanFilter = new System.Windows.Forms.ComboBox(); |
||||
|
this.label10 = new System.Windows.Forms.Label(); |
||||
|
this.cbListRowcount = new System.Windows.Forms.ComboBox(); |
||||
|
this.cbRefreshRate = new System.Windows.Forms.ComboBox(); |
||||
|
this.label8 = new System.Windows.Forms.Label(); |
||||
|
this.label6 = new System.Windows.Forms.Label(); |
||||
|
this.timer1 = new System.Windows.Forms.Timer(this.components); |
||||
|
((System.ComponentModel.ISupportInitialize)(this.dgvPlan)).BeginInit(); |
||||
|
this.tpContent.SuspendLayout(); |
||||
|
this.tpPlanList.SuspendLayout(); |
||||
|
this.toolStrip1.SuspendLayout(); |
||||
|
this.SuspendLayout(); |
||||
|
//
|
||||
|
// dgvPlan
|
||||
|
//
|
||||
|
this.dgvPlan.AllowUserToAddRows = false; |
||||
|
this.dgvPlan.AllowUserToDeleteRows = false; |
||||
|
this.dgvPlan.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
||||
|
| System.Windows.Forms.AnchorStyles.Left) |
||||
|
| System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.dgvPlan.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; |
||||
|
this.dgvPlan.BackgroundColor = System.Drawing.SystemColors.ButtonFace; |
||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |
||||
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 14F, 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.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
||||
|
this.dgvPlan.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
||||
|
this.dgvPlan.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
||||
|
this.dgcOrderNo, |
||||
|
this.dgcSeq, |
||||
|
this.dgcMaterialCode, |
||||
|
this.dgcMaterialName, |
||||
|
this.dgcState, |
||||
|
this.dgcPlanDate, |
||||
|
this.dgcShift, |
||||
|
this.dataGridViewTextBoxColumn8, |
||||
|
this.dataGridViewTextBoxColumn9, |
||||
|
this.dataGridViewTextBoxColumn10, |
||||
|
this.dataGridViewTextBoxColumn11}); |
||||
|
this.dgvPlan.Location = new System.Drawing.Point(6, 6); |
||||
|
this.dgvPlan.Name = "dgvPlan"; |
||||
|
this.dgvPlan.ReadOnly = true; |
||||
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |
||||
|
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; |
||||
|
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; |
||||
|
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
||||
|
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
||||
|
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
||||
|
this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; |
||||
|
dataGridViewCellStyle10.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0); |
||||
|
this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle10; |
||||
|
this.dgvPlan.RowTemplate.Height = 23; |
||||
|
this.dgvPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
||||
|
this.dgvPlan.Size = new System.Drawing.Size(852, 183); |
||||
|
this.dgvPlan.TabIndex = 7; |
||||
|
this.dgvPlan.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.dgvPlan_RowPrePaint); |
||||
|
this.dgvPlan.SelectionChanged += new System.EventHandler(this.dgvPlan_SelectionChanged); |
||||
|
//
|
||||
|
// dgcOrderNo
|
||||
|
//
|
||||
|
this.dgcOrderNo.DataPropertyName = "ORDERPLAN_NO"; |
||||
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle2; |
||||
|
this.dgcOrderNo.HeaderText = "订单号"; |
||||
|
this.dgcOrderNo.Name = "dgcOrderNo"; |
||||
|
this.dgcOrderNo.ReadOnly = true; |
||||
|
this.dgcOrderNo.Width = 94; |
||||
|
//
|
||||
|
// dgcSeq
|
||||
|
//
|
||||
|
this.dgcSeq.DataPropertyName = "SEQ"; |
||||
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15.75F); |
||||
|
this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle3; |
||||
|
this.dgcSeq.HeaderText = "顺序号"; |
||||
|
this.dgcSeq.Name = "dgcSeq"; |
||||
|
this.dgcSeq.ReadOnly = true; |
||||
|
this.dgcSeq.Width = 94; |
||||
|
//
|
||||
|
// dgcMaterialCode
|
||||
|
//
|
||||
|
this.dgcMaterialCode.DataPropertyName = "MATERIAL_CODE"; |
||||
|
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F); |
||||
|
this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle4; |
||||
|
this.dgcMaterialCode.HeaderText = "零件号"; |
||||
|
this.dgcMaterialCode.Name = "dgcMaterialCode"; |
||||
|
this.dgcMaterialCode.ReadOnly = true; |
||||
|
this.dgcMaterialCode.Width = 94; |
||||
|
//
|
||||
|
// dgcMaterialName
|
||||
|
//
|
||||
|
this.dgcMaterialName.DataPropertyName = "MATERIAL_NAME"; |
||||
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F); |
||||
|
this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle5; |
||||
|
this.dgcMaterialName.HeaderText = "零件描述"; |
||||
|
this.dgcMaterialName.Name = "dgcMaterialName"; |
||||
|
this.dgcMaterialName.ReadOnly = true; |
||||
|
this.dgcMaterialName.Width = 113; |
||||
|
//
|
||||
|
// dgcState
|
||||
|
//
|
||||
|
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.dgcState.DefaultCellStyle = dataGridViewCellStyle6; |
||||
|
this.dgcState.HeaderText = "工单状态"; |
||||
|
this.dgcState.MinimumWidth = 80; |
||||
|
this.dgcState.Name = "dgcState"; |
||||
|
this.dgcState.ReadOnly = true; |
||||
|
this.dgcState.Width = 113; |
||||
|
//
|
||||
|
// dgcPlanDate
|
||||
|
//
|
||||
|
this.dgcPlanDate.DataPropertyName = "PLAN_DATE"; |
||||
|
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F); |
||||
|
this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle7; |
||||
|
this.dgcPlanDate.HeaderText = "计划日期"; |
||||
|
this.dgcPlanDate.Name = "dgcPlanDate"; |
||||
|
this.dgcPlanDate.ReadOnly = true; |
||||
|
this.dgcPlanDate.Width = 113; |
||||
|
//
|
||||
|
// dgcShift
|
||||
|
//
|
||||
|
this.dgcShift.DataPropertyName = "SHIFT_CODE"; |
||||
|
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 15.75F); |
||||
|
this.dgcShift.DefaultCellStyle = dataGridViewCellStyle8; |
||||
|
this.dgcShift.HeaderText = "计划类型"; |
||||
|
this.dgcShift.Name = "dgcShift"; |
||||
|
this.dgcShift.ReadOnly = true; |
||||
|
this.dgcShift.Width = 113; |
||||
|
//
|
||||
|
// dataGridViewTextBoxColumn8
|
||||
|
//
|
||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "PID"; |
||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "Pid"; |
||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; |
||||
|
this.dataGridViewTextBoxColumn8.ReadOnly = true; |
||||
|
this.dataGridViewTextBoxColumn8.Visible = false; |
||||
|
this.dataGridViewTextBoxColumn8.Width = 66; |
||||
|
//
|
||||
|
// dataGridViewTextBoxColumn9
|
||||
|
//
|
||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "PDID"; |
||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "PROID"; |
||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; |
||||
|
this.dataGridViewTextBoxColumn9.ReadOnly = true; |
||||
|
this.dataGridViewTextBoxColumn9.Visible = false; |
||||
|
this.dataGridViewTextBoxColumn9.Width = 96; |
||||
|
//
|
||||
|
// dataGridViewTextBoxColumn10
|
||||
|
//
|
||||
|
this.dataGridViewTextBoxColumn10.DataPropertyName = "PRODUCTTYPE"; |
||||
|
this.dataGridViewTextBoxColumn10.HeaderText = "PType"; |
||||
|
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; |
||||
|
this.dataGridViewTextBoxColumn10.ReadOnly = true; |
||||
|
this.dataGridViewTextBoxColumn10.Visible = false; |
||||
|
this.dataGridViewTextBoxColumn10.Width = 93; |
||||
|
//
|
||||
|
// dataGridViewTextBoxColumn11
|
||||
|
//
|
||||
|
this.dataGridViewTextBoxColumn11.DataPropertyName = "OPERATESTATE"; |
||||
|
this.dataGridViewTextBoxColumn11.HeaderText = "OPERATESTATE"; |
||||
|
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; |
||||
|
this.dataGridViewTextBoxColumn11.ReadOnly = true; |
||||
|
this.dataGridViewTextBoxColumn11.Visible = false; |
||||
|
this.dataGridViewTextBoxColumn11.Width = 176; |
||||
|
//
|
||||
|
// tpContent
|
||||
|
//
|
||||
|
this.tpContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
||||
|
| System.Windows.Forms.AnchorStyles.Left) |
||||
|
| System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.tpContent.Controls.Add(this.tpPlanList); |
||||
|
this.tpContent.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.tpContent.ItemSize = new System.Drawing.Size(120, 45); |
||||
|
this.tpContent.Location = new System.Drawing.Point(5, 55); |
||||
|
this.tpContent.Name = "tpContent"; |
||||
|
this.tpContent.SelectedIndex = 0; |
||||
|
this.tpContent.Size = new System.Drawing.Size(872, 323); |
||||
|
this.tpContent.TabIndex = 0; |
||||
|
//
|
||||
|
// tpPlanList
|
||||
|
//
|
||||
|
this.tpPlanList.Controls.Add(this.toolStrip1); |
||||
|
this.tpPlanList.Controls.Add(this.dgvPlan); |
||||
|
this.tpPlanList.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.tpPlanList.Location = new System.Drawing.Point(4, 49); |
||||
|
this.tpPlanList.Name = "tpPlanList"; |
||||
|
this.tpPlanList.Padding = new System.Windows.Forms.Padding(3); |
||||
|
this.tpPlanList.Size = new System.Drawing.Size(864, 270); |
||||
|
this.tpPlanList.TabIndex = 0; |
||||
|
this.tpPlanList.Text = "计划列表"; |
||||
|
this.tpPlanList.UseVisualStyleBackColor = true; |
||||
|
//
|
||||
|
// toolStrip1
|
||||
|
//
|
||||
|
this.toolStrip1.AutoSize = false; |
||||
|
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; |
||||
|
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); |
||||
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
|
this.tsbPrint, |
||||
|
this.tsbOrderOperation, |
||||
|
this.tslblOrderCount}); |
||||
|
this.toolStrip1.Location = new System.Drawing.Point(3, 197); |
||||
|
this.toolStrip1.Name = "toolStrip1"; |
||||
|
this.toolStrip1.Size = new System.Drawing.Size(858, 70); |
||||
|
this.toolStrip1.Stretch = true; |
||||
|
this.toolStrip1.TabIndex = 0; |
||||
|
this.toolStrip1.Text = "toolStrip1"; |
||||
|
//
|
||||
|
// tsbPrint
|
||||
|
//
|
||||
|
this.tsbPrint.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
||||
|
this.tsbPrint.Font = new System.Drawing.Font("微软雅黑", 12F); |
||||
|
this.tsbPrint.Image = ((System.Drawing.Image)(resources.GetObject("tsbPrint.Image"))); |
||||
|
this.tsbPrint.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
||||
|
this.tsbPrint.ImageTransparentColor = System.Drawing.Color.White; |
||||
|
this.tsbPrint.Name = "tsbPrint"; |
||||
|
this.tsbPrint.Size = new System.Drawing.Size(114, 67); |
||||
|
this.tsbPrint.Text = "打印(&P)"; |
||||
|
this.tsbPrint.Click += new System.EventHandler(this.tsbPrint_Click); |
||||
|
//
|
||||
|
// tsbOrderOperation
|
||||
|
//
|
||||
|
this.tsbOrderOperation.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
||||
|
this.tsbOrderOperation.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
|
this.tsmiSuspendOrder, |
||||
|
this.tsmiCancelSuspend, |
||||
|
this.tsmiDeleteOrder}); |
||||
|
this.tsbOrderOperation.Font = new System.Drawing.Font("微软雅黑", 12F); |
||||
|
this.tsbOrderOperation.Image = global::QMAPP.WinForm.Resource1.edit; |
||||
|
this.tsbOrderOperation.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
||||
|
this.tsbOrderOperation.ImageTransparentColor = System.Drawing.Color.White; |
||||
|
this.tsbOrderOperation.Name = "tsbOrderOperation"; |
||||
|
this.tsbOrderOperation.Size = new System.Drawing.Size(135, 67); |
||||
|
this.tsbOrderOperation.Text = "工单操作"; |
||||
|
//
|
||||
|
// tsmiSuspendOrder
|
||||
|
//
|
||||
|
this.tsmiSuspendOrder.Image = global::QMAPP.WinForm.Resource1.stop; |
||||
|
this.tsmiSuspendOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); |
||||
|
this.tsmiSuspendOrder.Name = "tsmiSuspendOrder"; |
||||
|
this.tsmiSuspendOrder.Size = new System.Drawing.Size(144, 26); |
||||
|
this.tsmiSuspendOrder.Text = "挂起工单"; |
||||
|
this.tsmiSuspendOrder.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
||||
|
this.tsmiSuspendOrder.Click += new System.EventHandler(this.tsmiSuspendOrder_Click); |
||||
|
//
|
||||
|
// tsmiCancelSuspend
|
||||
|
//
|
||||
|
this.tsmiCancelSuspend.Image = global::QMAPP.WinForm.Resource1.back; |
||||
|
this.tsmiCancelSuspend.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); |
||||
|
this.tsmiCancelSuspend.Name = "tsmiCancelSuspend"; |
||||
|
this.tsmiCancelSuspend.Size = new System.Drawing.Size(144, 26); |
||||
|
this.tsmiCancelSuspend.Text = "取消挂起"; |
||||
|
this.tsmiCancelSuspend.Click += new System.EventHandler(this.tsmiCancelSuspend_Click); |
||||
|
//
|
||||
|
// tsmiDeleteOrder
|
||||
|
//
|
||||
|
this.tsmiDeleteOrder.Image = global::QMAPP.WinForm.Resource1.delete; |
||||
|
this.tsmiDeleteOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); |
||||
|
this.tsmiDeleteOrder.Name = "tsmiDeleteOrder"; |
||||
|
this.tsmiDeleteOrder.Size = new System.Drawing.Size(144, 26); |
||||
|
this.tsmiDeleteOrder.Text = "删除工单"; |
||||
|
this.tsmiDeleteOrder.Click += new System.EventHandler(this.tsmiDeleteOrder_Click); |
||||
|
//
|
||||
|
// tslblOrderCount
|
||||
|
//
|
||||
|
this.tslblOrderCount.Font = new System.Drawing.Font("微软雅黑", 14F); |
||||
|
this.tslblOrderCount.Name = "tslblOrderCount"; |
||||
|
this.tslblOrderCount.Size = new System.Drawing.Size(140, 67); |
||||
|
this.tslblOrderCount.Text = "计划总数:100"; |
||||
|
this.tslblOrderCount.Visible = false; |
||||
|
//
|
||||
|
// label1
|
||||
|
//
|
||||
|
this.label1.AutoSize = true; |
||||
|
this.label1.Location = new System.Drawing.Point(12, 13); |
||||
|
this.label1.Name = "label1"; |
||||
|
this.label1.Size = new System.Drawing.Size(69, 25); |
||||
|
this.label1.TabIndex = 10; |
||||
|
this.label1.Text = "生产线"; |
||||
|
//
|
||||
|
// cbRoutes
|
||||
|
//
|
||||
|
this.cbRoutes.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
||||
|
this.cbRoutes.FormattingEnabled = true; |
||||
|
this.cbRoutes.Location = new System.Drawing.Point(87, 10); |
||||
|
this.cbRoutes.Name = "cbRoutes"; |
||||
|
this.cbRoutes.Size = new System.Drawing.Size(359, 33); |
||||
|
this.cbRoutes.TabIndex = 1; |
||||
|
//
|
||||
|
// cbPlanFilter
|
||||
|
//
|
||||
|
this.cbPlanFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.cbPlanFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
||||
|
this.cbPlanFilter.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.cbPlanFilter.FormattingEnabled = true; |
||||
|
this.cbPlanFilter.Items.AddRange(new object[] { |
||||
|
"显示全部工单", |
||||
|
"隐藏挂起工单", |
||||
|
"只看挂起工单"}); |
||||
|
this.cbPlanFilter.Location = new System.Drawing.Point(351, 66); |
||||
|
this.cbPlanFilter.Name = "cbPlanFilter"; |
||||
|
this.cbPlanFilter.Size = new System.Drawing.Size(175, 33); |
||||
|
this.cbPlanFilter.TabIndex = 2; |
||||
|
//
|
||||
|
// label10
|
||||
|
//
|
||||
|
this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.label10.AutoSize = true; |
||||
|
this.label10.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.label10.Location = new System.Drawing.Point(283, 72); |
||||
|
this.label10.Name = "label10"; |
||||
|
this.label10.Size = new System.Drawing.Size(65, 20); |
||||
|
this.label10.TabIndex = 16; |
||||
|
this.label10.Text = "工单过滤"; |
||||
|
//
|
||||
|
// cbListRowcount
|
||||
|
//
|
||||
|
this.cbListRowcount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.cbListRowcount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
||||
|
this.cbListRowcount.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.cbListRowcount.FormattingEnabled = true; |
||||
|
this.cbListRowcount.Items.AddRange(new object[] { |
||||
|
"20", |
||||
|
"30", |
||||
|
"40", |
||||
|
"50", |
||||
|
"100"}); |
||||
|
this.cbListRowcount.Location = new System.Drawing.Point(625, 66); |
||||
|
this.cbListRowcount.Name = "cbListRowcount"; |
||||
|
this.cbListRowcount.Size = new System.Drawing.Size(78, 33); |
||||
|
this.cbListRowcount.TabIndex = 3; |
||||
|
//
|
||||
|
// cbRefreshRate
|
||||
|
//
|
||||
|
this.cbRefreshRate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.cbRefreshRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
||||
|
this.cbRefreshRate.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.cbRefreshRate.FormattingEnabled = true; |
||||
|
this.cbRefreshRate.Items.AddRange(new object[] { |
||||
|
"1s", |
||||
|
"2s", |
||||
|
"5s", |
||||
|
"10s", |
||||
|
"15s", |
||||
|
"20s"}); |
||||
|
this.cbRefreshRate.Location = new System.Drawing.Point(802, 66); |
||||
|
this.cbRefreshRate.Name = "cbRefreshRate"; |
||||
|
this.cbRefreshRate.Size = new System.Drawing.Size(66, 33); |
||||
|
this.cbRefreshRate.TabIndex = 4; |
||||
|
//
|
||||
|
// label8
|
||||
|
//
|
||||
|
this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.label8.AutoSize = true; |
||||
|
this.label8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.label8.Location = new System.Drawing.Point(529, 72); |
||||
|
this.label8.Name = "label8"; |
||||
|
this.label8.Size = new System.Drawing.Size(93, 20); |
||||
|
this.label8.TabIndex = 12; |
||||
|
this.label8.Text = "列表显示行数"; |
||||
|
//
|
||||
|
// label6
|
||||
|
//
|
||||
|
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
|
this.label6.AutoSize = true; |
||||
|
this.label6.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.label6.Location = new System.Drawing.Point(706, 72); |
||||
|
this.label6.Name = "label6"; |
||||
|
this.label6.Size = new System.Drawing.Size(93, 20); |
||||
|
this.label6.TabIndex = 13; |
||||
|
this.label6.Text = "计划刷新频率"; |
||||
|
//
|
||||
|
// timer1
|
||||
|
//
|
||||
|
this.timer1.Enabled = true; |
||||
|
this.timer1.Interval = 1000; |
||||
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
||||
|
//
|
||||
|
// PrintPlanLabel
|
||||
|
//
|
||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 25F); |
||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
|
this.ClientSize = new System.Drawing.Size(880, 382); |
||||
|
this.Controls.Add(this.cbPlanFilter); |
||||
|
this.Controls.Add(this.label10); |
||||
|
this.Controls.Add(this.cbListRowcount); |
||||
|
this.Controls.Add(this.cbRefreshRate); |
||||
|
this.Controls.Add(this.label8); |
||||
|
this.Controls.Add(this.label6); |
||||
|
this.Controls.Add(this.cbRoutes); |
||||
|
this.Controls.Add(this.label1); |
||||
|
this.Controls.Add(this.tpContent); |
||||
|
this.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
||||
|
this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6); |
||||
|
this.Name = "PrintPlanLabel"; |
||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
||||
|
this.Text = "门板计划标签打印"; |
||||
|
this.Load += new System.EventHandler(this.PrintPlanLabel_Load); |
||||
|
((System.ComponentModel.ISupportInitialize)(this.dgvPlan)).EndInit(); |
||||
|
this.tpContent.ResumeLayout(false); |
||||
|
this.tpPlanList.ResumeLayout(false); |
||||
|
this.toolStrip1.ResumeLayout(false); |
||||
|
this.toolStrip1.PerformLayout(); |
||||
|
this.ResumeLayout(false); |
||||
|
this.PerformLayout(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
private System.Windows.Forms.DataGridView dgvPlan; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcOrderNo; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcSeq; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcMaterialCode; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcMaterialName; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcState; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcPlanDate; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dgcShift; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; |
||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; |
||||
|
private System.Windows.Forms.TabControl tpContent; |
||||
|
private System.Windows.Forms.TabPage tpPlanList; |
||||
|
private System.Windows.Forms.Label label1; |
||||
|
private System.Windows.Forms.ComboBox cbRoutes; |
||||
|
private System.Windows.Forms.ToolStrip toolStrip1; |
||||
|
private System.Windows.Forms.ToolStripButton tsbPrint; |
||||
|
private System.Windows.Forms.ToolStripDropDownButton tsbOrderOperation; |
||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiSuspendOrder; |
||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiCancelSuspend; |
||||
|
private System.Windows.Forms.ToolStripMenuItem tsmiDeleteOrder; |
||||
|
private System.Windows.Forms.ToolStripLabel tslblOrderCount; |
||||
|
private System.Windows.Forms.ComboBox cbPlanFilter; |
||||
|
private System.Windows.Forms.Label label10; |
||||
|
private System.Windows.Forms.ComboBox cbListRowcount; |
||||
|
private System.Windows.Forms.ComboBox cbRefreshRate; |
||||
|
private System.Windows.Forms.Label label8; |
||||
|
private System.Windows.Forms.Label label6; |
||||
|
private System.Windows.Forms.Timer timer1; |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,513 @@ |
|||||
|
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.Basic; |
||||
|
using QMAPP.FJC.Entity.Operation; |
||||
|
using QMAPP.ServicesAgent; |
||||
|
using QMAPP.MD.Entity; |
||||
|
using QMAPP.Entity; |
||||
|
using QMFrameWork.Data; |
||||
|
using System.Configuration; |
||||
|
|
||||
|
namespace QMAPP.WinForm.Forms.TianJin |
||||
|
{ |
||||
|
public partial class TJPrintPlanLabel : Form |
||||
|
{ |
||||
|
QMAPP.ServicesAgent.ServiceAgent _agent = ClientContext.GetServiceAgent(); |
||||
|
List<QMAPP.FJC.Entity.Basic.ProcessRoute> cbsource = null; |
||||
|
|
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
public TJPrintPlanLabel() |
||||
|
{ |
||||
|
InitializeComponent(); |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 加载工艺路线
|
||||
|
/// </summary>
|
||||
|
private void LoadProcessRoute() |
||||
|
{ |
||||
|
var routes = _agent.InvokeServiceFunction<DataResult<List<QMAPP.FJC.Entity.Basic.ProcessRoute>>> |
||||
|
("ProcessRouteBLL_GetProcessRouteList", new QMAPP.FJC.Entity.Basic.ProcessRoute { }).Result; |
||||
|
routes = routes.OrderBy(p => p.ROUTE_CODE).ToList(); |
||||
|
|
||||
|
cbsource = routes; |
||||
|
cbsource.Insert(0, new QMAPP.FJC.Entity.Basic.ProcessRoute { ROUTE_NAME = "", ROUTE_CODE = "" }); |
||||
|
cbRoutes.DisplayMember = "ROUTE_NAME"; |
||||
|
cbRoutes.ValueMember = "ROUTE_CODE"; |
||||
|
cbRoutes.DataSource = cbsource; |
||||
|
} |
||||
|
|
||||
|
#region 加载列表显示设置
|
||||
|
/// <summary>
|
||||
|
/// 加载列表显示设置
|
||||
|
/// </summary>
|
||||
|
private void LoadViewSetting() |
||||
|
{ |
||||
|
#region 加载列表显示设置
|
||||
|
string filepath = ConfigurationManager.AppSettings["SaveFilePath"]; |
||||
|
filepath = string.Format("{0}ViewSetting.cfg", filepath); |
||||
|
|
||||
|
var setting = new { ListRowcount = 20, RefreshRate = 5 }; |
||||
|
if (System.IO.File.Exists(filepath)) |
||||
|
{ |
||||
|
string settingstring = System.IO.File.ReadAllText(filepath); |
||||
|
setting = Newtonsoft.Json.JsonConvert.DeserializeAnonymousType(settingstring, setting); |
||||
|
} |
||||
|
cbListRowcount.Text = setting.ListRowcount.ToString(); |
||||
|
cbRefreshRate.Text = string.Format("{0}s", setting.RefreshRate); |
||||
|
cbPlanFilter.SelectedIndex = 1; |
||||
|
|
||||
|
cbListRowcount.SelectedIndexChanged += new EventHandler(cbListRowcount_SelectedIndexChanged); |
||||
|
cbRefreshRate.SelectedIndexChanged += new EventHandler(cbRefreshRate_SelectedIndexChanged); |
||||
|
cbPlanFilter.TextChanged += new EventHandler(cbPlanFilter_SelectedIndexChanged); |
||||
|
|
||||
|
#endregion
|
||||
|
} |
||||
|
#endregion
|
||||
|
#region 列表定时刷新
|
||||
|
private void cbListRowcount_SelectedIndexChanged(object sender, EventArgs e) |
||||
|
{ |
||||
|
SaveSetting(); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
/// <summary>
|
||||
|
/// 发送指令或者接受完成指令刷新列表
|
||||
|
/// </summary>
|
||||
|
public void BindPlanView() |
||||
|
{ |
||||
|
#region 刷新生产计划
|
||||
|
dgvPlan.AutoGenerateColumns = false; |
||||
|
this.dgvPlan.DataSource = new List<FJC.Entity.ProductionPlan.WorkOrder>(); |
||||
|
|
||||
|
|
||||
|
try |
||||
|
{ |
||||
|
DataPage dataPage = new DataPage(); |
||||
|
dataPage.PageSize = int.Parse(cbListRowcount.Text); |
||||
|
dataPage.PageIndex = 1; |
||||
|
dataPage.SortExpression = " ROWVALUE ASC"; |
||||
|
#region 服务查询
|
||||
|
var orderlist = _agent.InvokeServiceFunction<List<FJC.Entity.ProductionPlan.WorkOrder>>("WorkOrderBLL_GetOrderUnPrinted", cbRoutes.SelectedValue.ToString(), cbPlanFilter.SelectedIndex, dataPage); |
||||
|
#endregion
|
||||
|
this.dgvPlan.DataSource = orderlist; |
||||
|
} |
||||
|
catch (Exception ex) |
||||
|
{ |
||||
|
WriteLog.WriteError(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + " " + ex.Message); |
||||
|
} |
||||
|
finally |
||||
|
{ |
||||
|
timecounter = 0; |
||||
|
} |
||||
|
#endregion
|
||||
|
} |
||||
|
private void cbRefreshRate_SelectedIndexChanged(object sender, EventArgs e) |
||||
|
{ |
||||
|
SaveSetting(); |
||||
|
} |
||||
|
private void cbPlanFilter_SelectedIndexChanged(object sender, EventArgs e) |
||||
|
{ |
||||
|
BindPlanView(); |
||||
|
SaveSetting(); |
||||
|
} |
||||
|
|
||||
|
private void SaveSetting() |
||||
|
{ |
||||
|
string filepath = ConfigurationManager.AppSettings["SaveFilePath"]; |
||||
|
filepath = string.Format("{0}ViewSetting.cfg", filepath); |
||||
|
var setting = new |
||||
|
{ |
||||
|
ListRowcount = int.Parse(cbListRowcount.Text), |
||||
|
RefreshRate = int.Parse(cbRefreshRate.Text.Trim('s')), |
||||
|
//PlanFilter = cbPlanFilter.SelectedIndex
|
||||
|
}; |
||||
|
string settingstring = Newtonsoft.Json.JsonConvert.SerializeObject(setting); |
||||
|
System.IO.File.WriteAllText(filepath, settingstring); |
||||
|
} |
||||
|
int timecounter = 0; |
||||
|
private void timer1_Tick(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (!tsbOrderOperation.DropDown.Visible) |
||||
|
{ |
||||
|
timecounter += 1; |
||||
|
if (timecounter > int.Parse(cbRefreshRate.Text.Trim('s')))//计时达到刷新时间
|
||||
|
{ |
||||
|
|
||||
|
BindPlanView(); |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
private void PrintLabel(List<LabelData> labeldata) |
||||
|
{ |
||||
|
#region 计划标签打印
|
||||
|
//string xmlPath = System.Configuration.ConfigurationSettings.AppSettings["XmlName"].ToString(); ;
|
||||
|
//BarcodeLib.BarCodeGenerate g = new BarcodeLib.BarCodeGenerate( xmlPath);
|
||||
|
//bool b = g.PrintBarCode(_operationServiceParam.main.MAINCODE);
|
||||
|
QM.Assist.LabelInfo ll = new QM.Assist.LabelInfo(); |
||||
|
StringBuilder dataline=new StringBuilder(); |
||||
|
foreach (var label in labeldata) |
||||
|
{ |
||||
|
string[] texts = new string[6]; |
||||
|
|
||||
|
var sourcetext = label.Description.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries); |
||||
|
|
||||
|
for (int i = 0; i < texts.Length && i < sourcetext.Length; i++) |
||||
|
{ |
||||
|
texts[i] = sourcetext[i]; |
||||
|
} |
||||
|
|
||||
|
//OrderNo,OrderType,PlanDate,Name,Class,CarModel,Text1,Text2,Text3,Text4,Text5,Text6
|
||||
|
dataline.AppendFormat("\"{0}\",\"{1}\",\"{2:yyyy-MM-dd HH:mm:ss}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\",\"{7}\",\"{8}\",\"{9}\",\"{10}\",\"{11}\"\r\n", |
||||
|
label.OrderNo,//计划号
|
||||
|
label.OrderType,//计划类型(0:FIS,1:STOCK,2:INSERT)
|
||||
|
label.PlanDate,//计划日期
|
||||
|
label.MaterialName,//总成物料名称
|
||||
|
label.Class,//
|
||||
|
label.CarModel,//车型
|
||||
|
texts[0],//装配详细信息
|
||||
|
texts[1],//装配详细信息
|
||||
|
texts[2],//装配详细信息
|
||||
|
texts[3],//装配详细信息
|
||||
|
texts[4],//装配详细信息
|
||||
|
texts[5]//装配详细信息
|
||||
|
); |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
ll.BarCode=dataline.ToString().TrimEnd('\r','\n'); |
||||
|
ll.PrinterName = ""; |
||||
|
QM.Assist.PrintUtil.LabelList2.Add(ll); |
||||
|
QM.Assist.PrintUtil pu = new QM.Assist.PrintUtil(); |
||||
|
pu.PrintLabel2(System.Configuration.ConfigurationManager.AppSettings["proPath"].ToString |
||||
|
(), System.Configuration.ConfigurationManager.AppSettings["PlanLabelTMPPath"].ToString |
||||
|
(), System.Configuration.ConfigurationManager.AppSettings["PlanLabelDATPath"].ToString |
||||
|
()); |
||||
|
|
||||
|
#endregion
|
||||
|
} |
||||
|
|
||||
|
private void PrintPlanLabel_Load(object sender, EventArgs e) |
||||
|
{ |
||||
|
LoadViewSetting(); |
||||
|
LoadProcessRoute(); |
||||
|
//如果工位已设定
|
||||
|
if (ClientContext.MachineInfo != null && !string.IsNullOrEmpty(ClientContext.MachineInfo.PID)) |
||||
|
{ |
||||
|
//this.comMachine.SelectedValue = ClientContext.MachineInfo.MACHINECODDE;
|
||||
|
var route = _agent.InvokeServiceFunction<QMAPP.FJC.Entity.Basic.ProcessRoute> |
||||
|
("ProcessRouteBLL_GetRouteByMachine", ClientContext.MachineInfo.MACHINECODDE); |
||||
|
if (route != null) |
||||
|
{ |
||||
|
this.cbRoutes.SelectedValue = route.ROUTE_CODE; |
||||
|
this.cbRoutes.Enabled = false; |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
this.cbRoutes.Enabled = true; |
||||
|
} |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
this.cbRoutes.Enabled = true; |
||||
|
} |
||||
|
BindPlanView(); |
||||
|
cbRoutes.SelectedIndexChanged += new EventHandler(cbRoutes_SelectedIndexChanged); |
||||
|
} |
||||
|
|
||||
|
void cbRoutes_SelectedIndexChanged(object sender, EventArgs e) |
||||
|
{ |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#region 工单操作
|
||||
|
|
||||
|
#region 取消挂起
|
||||
|
/// <summary>
|
||||
|
/// 取消挂起
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void tsmiCancelSuspend_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.SelectedRows.Count <= 0) |
||||
|
{ |
||||
|
MessageBox.Show("请选择一条工单进行取消挂起操作!"); |
||||
|
return; |
||||
|
} |
||||
|
List<string> ids = new List<string>(); |
||||
|
foreach (System.Windows.Forms.DataGridViewRow row in dgvPlan.SelectedRows) |
||||
|
{ |
||||
|
var order = (QMAPP.FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (!int.Equals(order.STATE, 4)) |
||||
|
{ |
||||
|
MessageBox.Show("只可取消状态为挂起的工单!"); |
||||
|
return; |
||||
|
} |
||||
|
ids.Add(order.PID); |
||||
|
} |
||||
|
_agent.InvokeServiceFunction<int>(B9IPCService.WorkOrderBLL_CancelSuspend.ToString(), ids); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#region 删除工单
|
||||
|
/// <summary>
|
||||
|
/// 删除工单
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void tsmiDeleteOrder_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.SelectedRows.Count <= 0) |
||||
|
{ |
||||
|
MessageBox.Show("请选择一条工单进行删除操作!"); |
||||
|
return; |
||||
|
} |
||||
|
List<string> ids = new List<string>(); |
||||
|
foreach (System.Windows.Forms.DataGridViewRow row in dgvPlan.SelectedRows) |
||||
|
{ |
||||
|
var order = (QMAPP.FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (!int.Equals(order.STATE, 4)) |
||||
|
{ |
||||
|
MessageBox.Show("只可删除状态为挂起的工单!"); |
||||
|
return; |
||||
|
} |
||||
|
ids.Add(order.PID); |
||||
|
} |
||||
|
_agent.InvokeServiceFunction<int>(B9IPCService.WorkOrderBLL_DeleteOrder.ToString(), ids); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#region 重置工单
|
||||
|
/// <summary>
|
||||
|
/// 重置工单
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void tsmiResetOrder_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.SelectedRows.Count <= 0) |
||||
|
{ |
||||
|
MessageBox.Show("请选择一条工单进行重置操作!"); |
||||
|
return; |
||||
|
} |
||||
|
List<string> ids = new List<string>(); |
||||
|
foreach (System.Windows.Forms.DataGridViewRow row in dgvPlan.SelectedRows) |
||||
|
{ |
||||
|
var order = (QMAPP.FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (!int.Equals(order.STATE, 4)) |
||||
|
{ |
||||
|
MessageBox.Show("只可重置状态为挂起的工单!"); |
||||
|
return; |
||||
|
} |
||||
|
ids.Add(order.PID); |
||||
|
} |
||||
|
_agent.InvokeServiceFunction<int>(B9IPCService.WorkOrderBLL_ResetOrder.ToString(), ids); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#region 挂起工单
|
||||
|
/// <summary>
|
||||
|
/// 挂起工单
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void tsmiSuspendOrder_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.SelectedRows.Count <= 0) |
||||
|
{ |
||||
|
MessageBox.Show("请选择一条工单进行挂起操作!"); |
||||
|
return; |
||||
|
} |
||||
|
List<string> ids = new List<string>(); |
||||
|
foreach (System.Windows.Forms.DataGridViewRow row in dgvPlan.SelectedRows) |
||||
|
{ |
||||
|
var order = (QMAPP.FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (int.Equals(order.STATE, 2)) |
||||
|
{ |
||||
|
MessageBox.Show("不能挂起正在执行的工单!"); |
||||
|
return; |
||||
|
} |
||||
|
ids.Add(order.PID); |
||||
|
} |
||||
|
_agent.InvokeServiceFunction<int>(B9IPCService.WorkOrderBLL_SuspendOrder.ToString(), ids); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#region 回收工单
|
||||
|
/// <summary>
|
||||
|
/// 回收工单
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void tsmiTakebackOrder_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.SelectedRows.Count <= 0) |
||||
|
{ |
||||
|
MessageBox.Show("请选择一条工单进行回收操作!"); |
||||
|
return; |
||||
|
} |
||||
|
List<string> ids = new List<string>(); |
||||
|
foreach (System.Windows.Forms.DataGridViewRow row in dgvPlan.SelectedRows) |
||||
|
{ |
||||
|
var order = (QMAPP.FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (!int.Equals(order.STATE, 4)) |
||||
|
{ |
||||
|
MessageBox.Show("只可回收状态为挂起的工单!"); |
||||
|
return; |
||||
|
} |
||||
|
ids.Add(order.PID); |
||||
|
} |
||||
|
_agent.InvokeServiceFunction<int>(B9IPCService.WorkOrderBLL_TakeBack.ToString(), ids); |
||||
|
BindPlanView(); |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
#region 工单列表选择发送变化时延时自动刷新
|
||||
|
/// <summary>
|
||||
|
/// 工单列表选择发送变化时延时自动刷新
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void dgvPlan_SelectionChanged(object sender, EventArgs e) |
||||
|
{ |
||||
|
timecounter = -10; |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
#region 设置计划工单列状态、颜色
|
||||
|
/// <summary>
|
||||
|
/// 设置计划工单列状态、颜色
|
||||
|
/// </summary>
|
||||
|
/// <param name="sender"></param>
|
||||
|
/// <param name="e"></param>
|
||||
|
private void dgvPlan_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) |
||||
|
{ |
||||
|
var WORKORDER_STATE_TEXT = new string[] { "初始", "确认", "执行中", "完成", "挂起" }; |
||||
|
var row = dgvPlan.Rows[e.RowIndex]; |
||||
|
var order = (FJC.Entity.ProductionPlan.WorkOrder)row.DataBoundItem; |
||||
|
if (order.STATE >= 0 && order.STATE < WORKORDER_STATE_TEXT.Length) |
||||
|
{ |
||||
|
row.Cells[dgcState.Name].Value = WORKORDER_STATE_TEXT[order.STATE]; |
||||
|
} |
||||
|
if (order.STATE == FJC.Entity.EnumGeter.WorkOrderState.Suspended.GetHashCode()) |
||||
|
{ |
||||
|
row.DefaultCellStyle.BackColor = Color.LightGray; |
||||
|
row.DefaultCellStyle.ForeColor = Color.Gray; |
||||
|
} |
||||
|
if (order.STATE == FJC.Entity.EnumGeter.WorkOrderState.Executing.GetHashCode()) |
||||
|
{ |
||||
|
row.DefaultCellStyle.BackColor = Color.YellowGreen; |
||||
|
dgvPlan.ClearSelection(); |
||||
|
} |
||||
|
} |
||||
|
#endregion
|
||||
|
|
||||
|
private void tsbPrint_Click(object sender, EventArgs e) |
||||
|
{ |
||||
|
if (dgvPlan.Rows.Count == 0) |
||||
|
{ |
||||
|
MessageBox.Show("当前生产线没有未打印标签的计划工单!"); |
||||
|
} |
||||
|
tsbPrint.Enabled = false; |
||||
|
var order1 = (FJC.Entity.ProductionPlan.WorkOrder)dgvPlan.Rows[0].DataBoundItem; |
||||
|
var order2 = (FJC.Entity.ProductionPlan.WorkOrder)dgvPlan.Rows[1].DataBoundItem; |
||||
|
|
||||
|
var orders = new List<FJC.Entity.ProductionPlan.WorkOrder>(); |
||||
|
orders.Add(order1); |
||||
|
//if (string.Equals(order1.SEQ, order2.SEQ))
|
||||
|
//{
|
||||
|
// orders.Add(order2);
|
||||
|
//}
|
||||
|
|
||||
|
List<LabelData> labels = new List<LabelData>(); |
||||
|
|
||||
|
foreach (var order in orders) |
||||
|
{ |
||||
|
var data = DateTime.Now.ToString("yyyyMMddHHmmssfff"); |
||||
|
//var codematch = System.Text.RegularExpressions.Regex.Match(order.PBOM_CODE, "_[LR][FR]_");
|
||||
|
string positioncode = GetNameCode(order.MATERIAL_NAME); |
||||
|
var book = _agent.InvokeServiceFunction<FJC.Entity.FIS.FISPhraseBook>("FISPhraseBLL_GetFisPhraseBook", order.MATERIAL_CODE + "", positioncode); |
||||
|
|
||||
|
LabelData labeldata = new LabelData(); |
||||
|
|
||||
|
|
||||
|
labeldata.PlanDate = order.PLAN_DATE; |
||||
|
if (book != null) |
||||
|
{ |
||||
|
labeldata.Class = " " + book.Class.Substring(0, 2); |
||||
|
labeldata.Description = book.Text; |
||||
|
labeldata.OrderNo = book.CarModel+ positioncode+ data; |
||||
|
} |
||||
|
var mcresult = _agent.InvokeServiceFunction<DataResult<Material>>("MaterialBLL_Get", new Material { MATERIAL_CODE = order.MATERIAL_CODE }); |
||||
|
var material = mcresult.IsSuccess ? mcresult.Result : null; |
||||
|
if (material != null) |
||||
|
{ |
||||
|
labeldata.MaterialName = material.MATERIAL_SHORT; |
||||
|
labeldata.CarModel = material.PROJECTCODE; |
||||
|
} |
||||
|
labels.Add(labeldata); |
||||
|
} |
||||
|
PrintLabel(labels); |
||||
|
|
||||
|
//变更打印状态 0=>1
|
||||
|
foreach (var order in orders) |
||||
|
{ |
||||
|
//agent.InvokeServiceFunction<int>("WorkOrderBLL_SetOrderPrinted", order.PID);
|
||||
|
} |
||||
|
BindPlanView(); |
||||
|
tsbPrint.Enabled = true; |
||||
|
} |
||||
|
public string GetNameCode(string Name) |
||||
|
{ |
||||
|
var Code = ""; |
||||
|
if (!string.IsNullOrEmpty(Name)) |
||||
|
{ |
||||
|
if(Name.Contains("左前")) |
||||
|
Code = "FL"; |
||||
|
else if(Name.Contains("左后")) |
||||
|
Code = "RL"; |
||||
|
else if (Name.Contains("右前")) |
||||
|
Code = "FR"; |
||||
|
else if (Name.Contains("右后")) |
||||
|
Code = "RR"; |
||||
|
return Code; |
||||
|
} |
||||
|
else |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
class LabelData |
||||
|
{ |
||||
|
public string OrderNo { get; set; } |
||||
|
|
||||
|
public DateTime PlanDate { get; set; } |
||||
|
|
||||
|
public string Class { get; set; } |
||||
|
|
||||
|
public string Description { get; set; } |
||||
|
|
||||
|
public string MaterialName { get; set; } |
||||
|
|
||||
|
public string CarModel { get; set; } |
||||
|
|
||||
|
public object[] OrderType { get; set; } |
||||
|
} |
||||
|
} |
@ -0,0 +1,234 @@ |
|||||
|
<?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> |
||||
|
<metadata name="dgcOrderNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcSeq.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcMaterialCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcMaterialName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcState.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcPlanDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dgcShift.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>True</value> |
||||
|
</metadata> |
||||
|
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
|
<value>17, 17</value> |
||||
|
</metadata> |
||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
||||
|
<data name="tsbPrint.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
|
<value> |
||||
|
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
||||
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA8SSURBVGhDzZlJcJvnecfppm3SptMm05l4Jqf2oFvdprn0 |
||||
|
0lOnPTTuTC89dKbLxGkST2xXlpTYY8exKzlyRYkECVILF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1Yzbkti0iU2HA/UYbFsybEBXvSzX8aajjIPE4b+ytbmBU78ZOyvDjN0XEd0UO |
||||
|
jS8GWVl+y4Y/D+TZ1xJHTSdB0rN854uo4ly+KyIi7iecVjnS75/LxY79yP8B7rHGaeJC7ocAAAAASUVO |
||||
|
RK5CYII= |
||||
|
</value> |
||||
|
</data> |
||||
|
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
|
<value>127, 17</value> |
||||
|
</metadata> |
||||
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
|
<value>63</value> |
||||
|
</metadata> |
||||
|
</root> |
Loading…
Reference in new issue