소스 검색

修改取数

章政 8 년 전
부모
커밋
278eaca78c
2개의 변경된 파일17개의 추가작업 그리고 17개의 파일을 삭제
  1. 14 14
      UAS_KanBan/Process.Designer.cs
  2. 3 3
      UAS_KanBan/Process.cs

+ 14 - 14
UAS_KanBan/Process.Designer.cs

@@ -51,7 +51,7 @@
             this.收益率 = new CCWin.SkinControl.SkinLabel();
             this.故障数 = new CCWin.SkinControl.SkinLabel();
             this.直通率 = new CCWin.SkinControl.SkinLabel();
-            this.班 = new CCWin.SkinControl.SkinLabel();
+            this.班 = new CCWin.SkinControl.SkinLabel();
             this.Line = new CCWin.SkinControl.SkinLabel();
             this.Title2 = new CCWin.SkinControl.SkinLabel();
             this.Refresh = new System.Windows.Forms.Timer(this.components);
@@ -369,18 +369,18 @@
             this.直通率.TabIndex = 20;
             this.直通率.Tag = "AutoFont";
             // 
-            // 班
+            // 班
             // 
-            this.班.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
-            this.班.AutoSize = true;
-            this.班.BackColor = System.Drawing.Color.Transparent;
-            this.班.BorderColor = System.Drawing.Color.Red;
-            this.班.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.班.ForeColor = System.Drawing.Color.Red;
-            this.班.Location = new System.Drawing.Point(909, 88);
-            this.班制.Name = "班制";
-            this.班.Size = new System.Drawing.Size(0, 40);
-            this.班.TabIndex = 24;
+            this.班.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+            this.班.AutoSize = true;
+            this.班.BackColor = System.Drawing.Color.Transparent;
+            this.班.BorderColor = System.Drawing.Color.Red;
+            this.班.Font = new System.Drawing.Font("宋体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.班.ForeColor = System.Drawing.Color.Red;
+            this.班.Location = new System.Drawing.Point(909, 88);
+            this.班次.Name = "班次";
+            this.班.Size = new System.Drawing.Size(0, 40);
+            this.班.TabIndex = 24;
             // 
             // Line
             // 
@@ -429,7 +429,7 @@
             this.BackColor = System.Drawing.Color.Black;
             this.ClientSize = new System.Drawing.Size(1036, 687);
             this.Controls.Add(this.Title2);
-            this.Controls.Add(this.班);
+            this.Controls.Add(this.班);
             this.Controls.Add(this.Line);
             this.Controls.Add(this.收益率);
             this.Controls.Add(this.故障数);
@@ -493,7 +493,7 @@
         private CCWin.SkinControl.SkinLabel 收益率;
         private CCWin.SkinControl.SkinLabel 故障数;
         private CCWin.SkinControl.SkinLabel 直通率;
-        private CCWin.SkinControl.SkinLabel 班;
+        private CCWin.SkinControl.SkinLabel 班;
         private CCWin.SkinControl.SkinLabel Line;
         private CCWin.SkinControl.SkinLabel Title2;
         private System.Windows.Forms.Timer Refresh;

+ 3 - 3
UAS_KanBan/Process.cs

@@ -22,7 +22,7 @@ namespace UAS_KanBan
         {
             InitializeComponent();
             Line.Text = LineCode;
-            班.Text = WcCode;
+            班.Text = WcCode;
             int WorkHeight = Screen.PrimaryScreen.Bounds.Width;
             if (WorkHeight <= 1024)
             {
@@ -51,7 +51,7 @@ namespace UAS_KanBan
 
         private void Refresh_Tick(object sender, EventArgs e)
         {
-            DataTable dt = (DataTable)dh.ExecuteSql("select KBI_LINE_ZTL('" + Line.Text + "','" + 班.Text + "') from dual", "select");
+            DataTable dt = (DataTable)dh.ExecuteSql("select KBI_LINE_ZTL('" + Line.Text + "','" + 班.Text + "') from dual", "select");
             string Data = dt.Rows[0][0].ToString();
             string[] Item = Data.Split(':');
             string[] ItemName = new string[Item.Length];
@@ -85,7 +85,7 @@ namespace UAS_KanBan
             WorkShift_label.Location = new Point(Line2.Location.X + (Line3.Location.X - Line2.Location.X - WorkShift_label.Size.Width) / 2, MidLine.Location.Y + (BottomLine.Location.Y - MidLine.Location.Y - WorkShift_label.Size.Height) / 2);
             LineCode_label.Location = new Point(Line2.Location.X + (Line3.Location.X - Line2.Location.X - LineCode_label.Size.Width) / 2, TopLine.Location.Y + (MidLine.Location.Y - TopLine.Location.Y - LineCode_label.Size.Height) / 2);
             Line.Location = new Point(Line.Location.X, TopLine.Location.Y + (MidLine.Location.Y - TopLine.Location.Y - LineCode_label.Size.Height) / 2);
-            班制.Location = new Point(班制.Location.X, MidLine.Location.Y + (BottomLine.Location.Y - MidLine.Location.Y - WorkShift_label.Size.Height) / 2);
+            班次.Location = new Point(班次.Location.X, MidLine.Location.Y + (BottomLine.Location.Y - MidLine.Location.Y - WorkShift_label.Size.Height) / 2);
             Logo.Size = new Size(Line1.Location.X - 20, BottomLine.Location.Y - TopLine.Location.Y - 20);
             机型.Location = new Point(机型_label.Location.X + 机型_label.Width + 30, 机型_label.Location.Y);
             投入.Location = new Point(投入_label.Location.X + 机型_label.Width + 30, 投入_label.Location.Y);