修改语言
This commit is contained in:
172
CleanMachineHMI/FrmUserControl/frmDayReport.Designer.cs
generated
172
CleanMachineHMI/FrmUserControl/frmDayReport.Designer.cs
generated
@@ -32,6 +32,14 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
|
||||
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
|
||||
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
|
||||
this.colDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColDayOfWeek = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColCleaned = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
|
||||
this.ColScrap = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
|
||||
this.ColMachineHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
||||
@@ -41,14 +49,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
||||
this.colDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColDayOfWeek = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColCleaned = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
|
||||
this.ColScrap = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
|
||||
this.ColMachineHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||
this.kryptonPanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox3)).BeginInit();
|
||||
@@ -118,6 +118,82 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonDataGridView1.Size = new System.Drawing.Size(1020, 500);
|
||||
this.kryptonDataGridView1.TabIndex = 3;
|
||||
//
|
||||
// colDate
|
||||
//
|
||||
this.colDate.DataPropertyName = "Date";
|
||||
this.colDate.HeaderText = "Date";
|
||||
this.colDate.Name = "colDate";
|
||||
this.colDate.ReadOnly = true;
|
||||
this.colDate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.colDate.Width = 41;
|
||||
//
|
||||
// ColDayOfWeek
|
||||
//
|
||||
this.ColDayOfWeek.DataPropertyName = "DayOfWeek";
|
||||
this.ColDayOfWeek.HeaderText = "DayOfWeek";
|
||||
this.ColDayOfWeek.Name = "ColDayOfWeek";
|
||||
this.ColDayOfWeek.ReadOnly = true;
|
||||
this.ColDayOfWeek.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColDayOfWeek.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColDayOfWeek.Width = 79;
|
||||
//
|
||||
// ColCleaned
|
||||
//
|
||||
this.ColCleaned.AllowDecimals = false;
|
||||
this.ColCleaned.DataPropertyName = "Cleaned";
|
||||
this.ColCleaned.HeaderText = "Cleaned";
|
||||
this.ColCleaned.Name = "ColCleaned";
|
||||
this.ColCleaned.ReadOnly = true;
|
||||
this.ColCleaned.Width = 60;
|
||||
//
|
||||
// ColScrap
|
||||
//
|
||||
this.ColScrap.AllowDecimals = false;
|
||||
this.ColScrap.DataPropertyName = "Scrap";
|
||||
this.ColScrap.HeaderText = "Scrap";
|
||||
this.ColScrap.Name = "ColScrap";
|
||||
this.ColScrap.ReadOnly = true;
|
||||
this.ColScrap.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColScrap.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.ColScrap.Width = 65;
|
||||
//
|
||||
// ColMachineHours
|
||||
//
|
||||
this.ColMachineHours.DataPropertyName = "MachineHours";
|
||||
this.ColMachineHours.HeaderText = "MachineRunHours";
|
||||
this.ColMachineHours.Name = "ColMachineHours";
|
||||
this.ColMachineHours.ReadOnly = true;
|
||||
this.ColMachineHours.Width = 135;
|
||||
//
|
||||
// ColStartTime
|
||||
//
|
||||
this.ColStartTime.DataPropertyName = "StartTime";
|
||||
this.ColStartTime.HeaderText = "StartTime";
|
||||
this.ColStartTime.Name = "ColStartTime";
|
||||
this.ColStartTime.ReadOnly = true;
|
||||
this.ColStartTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColStartTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColStartTime.Width = 67;
|
||||
//
|
||||
// ColEndTime
|
||||
//
|
||||
this.ColEndTime.DataPropertyName = "EndTime";
|
||||
this.ColEndTime.HeaderText = "EndTime";
|
||||
this.ColEndTime.Name = "ColEndTime";
|
||||
this.ColEndTime.ReadOnly = true;
|
||||
this.ColEndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColEndTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColEndTime.Width = 63;
|
||||
//
|
||||
// colOperators
|
||||
//
|
||||
this.colOperators.DataPropertyName = "Operators";
|
||||
this.colOperators.HeaderText = "Operators";
|
||||
this.colOperators.Name = "colOperators";
|
||||
this.colOperators.ReadOnly = true;
|
||||
this.colOperators.Width = 88;
|
||||
//
|
||||
// kryptonGroupBox4
|
||||
//
|
||||
this.kryptonGroupBox4.CaptionOverlap = 0D;
|
||||
@@ -210,7 +286,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// kdtp_CreateStartTime
|
||||
//
|
||||
this.kdtp_CreateStartTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd";
|
||||
this.kdtp_CreateStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.kdtp_CreateStartTime.Location = new System.Drawing.Point(192, 10);
|
||||
this.kdtp_CreateStartTime.Name = "kdtp_CreateStartTime";
|
||||
@@ -230,7 +306,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// kdtp_CreateEndTime
|
||||
//
|
||||
this.kdtp_CreateEndTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd";
|
||||
this.kdtp_CreateEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.kdtp_CreateEndTime.Location = new System.Drawing.Point(702, 10);
|
||||
this.kdtp_CreateEndTime.Name = "kdtp_CreateEndTime";
|
||||
@@ -238,82 +314,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kdtp_CreateEndTime.Size = new System.Drawing.Size(246, 21);
|
||||
this.kdtp_CreateEndTime.TabIndex = 7;
|
||||
//
|
||||
// colDate
|
||||
//
|
||||
this.colDate.DataPropertyName = "Date";
|
||||
this.colDate.HeaderText = "Date";
|
||||
this.colDate.Name = "colDate";
|
||||
this.colDate.ReadOnly = true;
|
||||
this.colDate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.colDate.Width = 41;
|
||||
//
|
||||
// ColDayOfWeek
|
||||
//
|
||||
this.ColDayOfWeek.DataPropertyName = "DayOfWeek";
|
||||
this.ColDayOfWeek.HeaderText = "DayOfWeek";
|
||||
this.ColDayOfWeek.Name = "ColDayOfWeek";
|
||||
this.ColDayOfWeek.ReadOnly = true;
|
||||
this.ColDayOfWeek.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColDayOfWeek.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColDayOfWeek.Width = 79;
|
||||
//
|
||||
// ColCleaned
|
||||
//
|
||||
this.ColCleaned.AllowDecimals = false;
|
||||
this.ColCleaned.DataPropertyName = "Cleaned";
|
||||
this.ColCleaned.HeaderText = "Cleaned";
|
||||
this.ColCleaned.Name = "ColCleaned";
|
||||
this.ColCleaned.ReadOnly = true;
|
||||
this.ColCleaned.Width = 60;
|
||||
//
|
||||
// ColScrap
|
||||
//
|
||||
this.ColScrap.AllowDecimals = false;
|
||||
this.ColScrap.DataPropertyName = "Scrap";
|
||||
this.ColScrap.HeaderText = "Scrap";
|
||||
this.ColScrap.Name = "ColScrap";
|
||||
this.ColScrap.ReadOnly = true;
|
||||
this.ColScrap.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColScrap.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.ColScrap.Width = 65;
|
||||
//
|
||||
// ColMachineHours
|
||||
//
|
||||
this.ColMachineHours.DataPropertyName = "MachineHours";
|
||||
this.ColMachineHours.HeaderText = "MachineHours";
|
||||
this.ColMachineHours.Name = "ColMachineHours";
|
||||
this.ColMachineHours.ReadOnly = true;
|
||||
this.ColMachineHours.Width = 114;
|
||||
//
|
||||
// ColStartTime
|
||||
//
|
||||
this.ColStartTime.DataPropertyName = "StartTime";
|
||||
this.ColStartTime.HeaderText = "StartTime";
|
||||
this.ColStartTime.Name = "ColStartTime";
|
||||
this.ColStartTime.ReadOnly = true;
|
||||
this.ColStartTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColStartTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColStartTime.Width = 67;
|
||||
//
|
||||
// ColEndTime
|
||||
//
|
||||
this.ColEndTime.DataPropertyName = "EndTime";
|
||||
this.ColEndTime.HeaderText = "EndTime";
|
||||
this.ColEndTime.Name = "ColEndTime";
|
||||
this.ColEndTime.ReadOnly = true;
|
||||
this.ColEndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.ColEndTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.ColEndTime.Width = 63;
|
||||
//
|
||||
// colOperators
|
||||
//
|
||||
this.colOperators.DataPropertyName = "Operators";
|
||||
this.colOperators.HeaderText = "Operators";
|
||||
this.colOperators.Name = "colOperators";
|
||||
this.colOperators.ReadOnly = true;
|
||||
this.colOperators.Width = 88;
|
||||
//
|
||||
// frmDayReport
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
|
||||
@@ -25,12 +25,21 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
public frmDayReport()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.SetFormControlText();
|
||||
this.kryptonDataGridView1.AutoGenerateColumns = false;
|
||||
this.kdtp_CreateEndTime.Value = DateTime.Today;
|
||||
this.kdtp_CreateStartTime.Value = DateTime.Today;
|
||||
}
|
||||
|
||||
|
||||
public void Init()
|
||||
{
|
||||
|
||||
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetReport(this.kdtp_CreateEndTime.Value, this.kdtp_CreateStartTime.Value);
|
||||
this.kryptonDataGridView1.DataSource = list;
|
||||
|
||||
|
||||
//var sql = $@"select PARAMETER_ID 序号,PARAMETER_CODE 参数编码,PARAMETER_NAME 参数名称,PARAMETER_VALUE 参数值,CREATE_TIME 创建时间 from SYS_PARAMETER where USED_FLAG=1 and DEL_FLAG=0 ";
|
||||
|
||||
//if (kdtp_CreateStartTime.Checked)
|
||||
@@ -67,8 +76,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
{
|
||||
try
|
||||
{
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetReport("");
|
||||
this.kryptonDataGridView1.DataSource = list;
|
||||
this.Init();
|
||||
|
||||
|
||||
}
|
||||
@@ -94,7 +102,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
private void kbt_Reset_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
|
||||
kdtp_CreateStartTime.Checked = false;
|
||||
kdtp_CreateEndTime.Checked = false;
|
||||
}
|
||||
|
||||
594
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
594
CleanMachineHMI/FrmUserControl/frmMainDetail.Designer.cs
generated
@@ -50,31 +50,14 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
|
||||
this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox();
|
||||
this.kryptonGroupBox7 = new Krypton.Toolkit.KryptonGroupBox();
|
||||
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.cbt_fpalletmod = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_staticbar = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_fullPalletMod = new CleanMachineHMI.LSwitchButton();
|
||||
this.swtbtn_staticBar = new CleanMachineHMI.LSwitchButton();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.swtbtn_nozzle1 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_RunStatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_NozzleStatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_ResetSys = new CleanMachineHMI.CircleButton();
|
||||
this.kryptonLabel7 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.cbt_StopTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_brush3 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_StartTran = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_Brush3StatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_brush1 = new CleanMachineHMI.LSwitchButton();
|
||||
this.kryptonLabel8 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.cbt_Brush1StatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.kryptonLabel9 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.swtbtn_brush2 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_Brush2StatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.circleButton1 = new CleanMachineHMI.CircleButton();
|
||||
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
|
||||
this.kryptonLabel13 = new Krypton.Toolkit.KryptonLabel();
|
||||
@@ -204,6 +187,23 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.btnIO = new Krypton.Toolkit.KryptonButton();
|
||||
this.btnManual = new Krypton.Toolkit.KryptonButton();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.cbt_fpalletmod = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_fullPalletMod = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_NozzleStatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_nozzle1 = new CleanMachineHMI.LSwitchButton();
|
||||
this.circleButton1 = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_staticbar = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_staticBar = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_ResetSys = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_RunStatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_StopTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_brush3 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_StartTran = new CleanMachineHMI.CircleButton();
|
||||
this.cbt_Brush3StatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_brush1 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_Brush1StatusTran = new CleanMachineHMI.CircleButton();
|
||||
this.swtbtn_brush2 = new CleanMachineHMI.LSwitchButton();
|
||||
this.cbt_Brush2StatusTran = new CleanMachineHMI.CircleButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox8.Panel)).BeginInit();
|
||||
this.kryptonGroupBox8.Panel.SuspendLayout();
|
||||
@@ -523,15 +523,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonGroupBox7.TabIndex = 5;
|
||||
this.kryptonGroupBox7.Values.Heading = "";
|
||||
//
|
||||
// kryptonLabel12
|
||||
//
|
||||
this.kryptonLabel12.Location = new System.Drawing.Point(4, 221);
|
||||
this.kryptonLabel12.Name = "kryptonLabel12";
|
||||
this.kryptonLabel12.Size = new System.Drawing.Size(62, 20);
|
||||
this.kryptonLabel12.TabIndex = 51;
|
||||
this.kryptonLabel12.Values.Text = "满料方式";
|
||||
this.kryptonLabel12.Visible = false;
|
||||
//
|
||||
// kryptonLabel11
|
||||
//
|
||||
this.kryptonLabel11.Location = new System.Drawing.Point(20, 306);
|
||||
@@ -540,62 +531,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonLabel11.TabIndex = 50;
|
||||
this.kryptonLabel11.Values.Text = "静电棒";
|
||||
//
|
||||
// cbt_fpalletmod
|
||||
//
|
||||
this.cbt_fpalletmod.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_fpalletmod.Location = new System.Drawing.Point(186, 219);
|
||||
this.cbt_fpalletmod.Name = "cbt_fpalletmod";
|
||||
this.cbt_fpalletmod.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_fpalletmod.TabIndex = 49;
|
||||
this.cbt_fpalletmod.UseVisualStyleBackColor = false;
|
||||
this.cbt_fpalletmod.Visible = false;
|
||||
//
|
||||
// cbt_staticbar
|
||||
//
|
||||
this.cbt_staticbar.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_staticbar.Location = new System.Drawing.Point(203, 304);
|
||||
this.cbt_staticbar.Name = "cbt_staticbar";
|
||||
this.cbt_staticbar.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_staticbar.TabIndex = 48;
|
||||
this.cbt_staticbar.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// swtbtn_fullPalletMod
|
||||
//
|
||||
this.swtbtn_fullPalletMod.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_fullPalletMod.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_fullPalletMod.L_BarHight = 24;
|
||||
this.swtbtn_fullPalletMod.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_fullPalletMod.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_fullPalletMod.L_DotHight = 20;
|
||||
this.swtbtn_fullPalletMod.L_IsOpen = false;
|
||||
this.swtbtn_fullPalletMod.L_Margin = 2;
|
||||
this.swtbtn_fullPalletMod.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_fullPalletMod.Location = new System.Drawing.Point(89, 219);
|
||||
this.swtbtn_fullPalletMod.Name = "swtbtn_fullPalletMod";
|
||||
this.swtbtn_fullPalletMod.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_fullPalletMod.TabIndex = 47;
|
||||
this.swtbtn_fullPalletMod.Text = "lSwitchButton4";
|
||||
this.swtbtn_fullPalletMod.Visible = false;
|
||||
this.swtbtn_fullPalletMod.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_fullPalletMod_LSwitched);
|
||||
//
|
||||
// swtbtn_staticBar
|
||||
//
|
||||
this.swtbtn_staticBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_staticBar.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_staticBar.L_BarHight = 24;
|
||||
this.swtbtn_staticBar.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_staticBar.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_staticBar.L_DotHight = 20;
|
||||
this.swtbtn_staticBar.L_IsOpen = false;
|
||||
this.swtbtn_staticBar.L_Margin = 2;
|
||||
this.swtbtn_staticBar.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_staticBar.Location = new System.Drawing.Point(105, 304);
|
||||
this.swtbtn_staticBar.Name = "swtbtn_staticBar";
|
||||
this.swtbtn_staticBar.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_staticBar.TabIndex = 46;
|
||||
this.swtbtn_staticBar.Text = "lSwitchButton4";
|
||||
this.swtbtn_staticBar.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_staticBar_LSwitched);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
@@ -608,15 +543,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.label2.TabIndex = 8;
|
||||
this.label2.Text = "功能选择";
|
||||
//
|
||||
// kryptonLabel6
|
||||
//
|
||||
this.kryptonLabel6.Location = new System.Drawing.Point(4, 192);
|
||||
this.kryptonLabel6.Name = "kryptonLabel6";
|
||||
this.kryptonLabel6.Size = new System.Drawing.Size(36, 20);
|
||||
this.kryptonLabel6.TabIndex = 44;
|
||||
this.kryptonLabel6.Values.Text = "喷头";
|
||||
this.kryptonLabel6.Visible = false;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
@@ -629,58 +555,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.label1.TabIndex = 8;
|
||||
this.label1.Text = "系统运行";
|
||||
//
|
||||
// swtbtn_nozzle1
|
||||
//
|
||||
this.swtbtn_nozzle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_nozzle1.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_nozzle1.L_BarHight = 24;
|
||||
this.swtbtn_nozzle1.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_nozzle1.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_nozzle1.L_DotHight = 20;
|
||||
this.swtbtn_nozzle1.L_IsOpen = false;
|
||||
this.swtbtn_nozzle1.L_Margin = 2;
|
||||
this.swtbtn_nozzle1.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_nozzle1.Location = new System.Drawing.Point(89, 190);
|
||||
this.swtbtn_nozzle1.Name = "swtbtn_nozzle1";
|
||||
this.swtbtn_nozzle1.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_nozzle1.TabIndex = 43;
|
||||
this.swtbtn_nozzle1.Text = "lSwitchButton4";
|
||||
this.swtbtn_nozzle1.Visible = false;
|
||||
this.swtbtn_nozzle1.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_nozzle1_LSwitched);
|
||||
//
|
||||
// cbt_RunStatusTran
|
||||
//
|
||||
this.cbt_RunStatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_RunStatusTran.Location = new System.Drawing.Point(203, 5);
|
||||
this.cbt_RunStatusTran.Name = "cbt_RunStatusTran";
|
||||
this.cbt_RunStatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_RunStatusTran.TabIndex = 7;
|
||||
this.cbt_RunStatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// cbt_NozzleStatusTran
|
||||
//
|
||||
this.cbt_NozzleStatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_NozzleStatusTran.Location = new System.Drawing.Point(186, 191);
|
||||
this.cbt_NozzleStatusTran.Name = "cbt_NozzleStatusTran";
|
||||
this.cbt_NozzleStatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_NozzleStatusTran.TabIndex = 42;
|
||||
this.cbt_NozzleStatusTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_NozzleStatusTran.Visible = false;
|
||||
//
|
||||
// cbt_ResetSys
|
||||
//
|
||||
this.cbt_ResetSys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))));
|
||||
this.cbt_ResetSys.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_ResetSys.ForeColor = System.Drawing.Color.White;
|
||||
this.cbt_ResetSys.Location = new System.Drawing.Point(30, 107);
|
||||
this.cbt_ResetSys.Name = "cbt_ResetSys";
|
||||
this.cbt_ResetSys.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_ResetSys.TabIndex = 5;
|
||||
this.cbt_ResetSys.Text = "RESET";
|
||||
this.cbt_ResetSys.UseVisualStyleBackColor = false;
|
||||
this.cbt_ResetSys.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_ResetSys_MouseDown);
|
||||
this.cbt_ResetSys.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_ResetSys_MouseUp);
|
||||
//
|
||||
// kryptonLabel7
|
||||
//
|
||||
this.kryptonLabel7.Location = new System.Drawing.Point(20, 276);
|
||||
@@ -689,80 +563,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonLabel7.TabIndex = 41;
|
||||
this.kryptonLabel7.Values.Text = "毛刷3";
|
||||
//
|
||||
// cbt_StopTran
|
||||
//
|
||||
this.cbt_StopTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.cbt_StopTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_StopTran.ForeColor = System.Drawing.Color.White;
|
||||
this.cbt_StopTran.Location = new System.Drawing.Point(105, 41);
|
||||
this.cbt_StopTran.Name = "cbt_StopTran";
|
||||
this.cbt_StopTran.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_StopTran.TabIndex = 5;
|
||||
this.cbt_StopTran.Text = "STOP";
|
||||
this.cbt_StopTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_StopTran.Click += new System.EventHandler(this.cbt_StopTran_Click);
|
||||
this.cbt_StopTran.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_StopTran_MouseDown);
|
||||
this.cbt_StopTran.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_StopTran_MouseUp);
|
||||
//
|
||||
// swtbtn_brush3
|
||||
//
|
||||
this.swtbtn_brush3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush3.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush3.L_BarHight = 24;
|
||||
this.swtbtn_brush3.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush3.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush3.L_DotHight = 20;
|
||||
this.swtbtn_brush3.L_IsOpen = false;
|
||||
this.swtbtn_brush3.L_Margin = 2;
|
||||
this.swtbtn_brush3.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush3.Location = new System.Drawing.Point(105, 274);
|
||||
this.swtbtn_brush3.Name = "swtbtn_brush3";
|
||||
this.swtbtn_brush3.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush3.TabIndex = 40;
|
||||
this.swtbtn_brush3.Text = "lSwitchButton3";
|
||||
this.swtbtn_brush3.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush3_LSwitched);
|
||||
//
|
||||
// cbt_StartTran
|
||||
//
|
||||
this.cbt_StartTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(190)))), ((int)(((byte)(107)))));
|
||||
this.cbt_StartTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_StartTran.Location = new System.Drawing.Point(30, 41);
|
||||
this.cbt_StartTran.Name = "cbt_StartTran";
|
||||
this.cbt_StartTran.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_StartTran.TabIndex = 5;
|
||||
this.cbt_StartTran.Text = "START";
|
||||
this.cbt_StartTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_StartTran.Click += new System.EventHandler(this.cbt_StartTran_Click);
|
||||
this.cbt_StartTran.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_StartTran_MouseDown);
|
||||
this.cbt_StartTran.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_StartTran_MouseUp);
|
||||
//
|
||||
// cbt_Brush3StatusTran
|
||||
//
|
||||
this.cbt_Brush3StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush3StatusTran.Location = new System.Drawing.Point(203, 273);
|
||||
this.cbt_Brush3StatusTran.Name = "cbt_Brush3StatusTran";
|
||||
this.cbt_Brush3StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush3StatusTran.TabIndex = 39;
|
||||
this.cbt_Brush3StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// swtbtn_brush1
|
||||
//
|
||||
this.swtbtn_brush1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush1.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush1.L_BarHight = 24;
|
||||
this.swtbtn_brush1.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush1.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush1.L_DotHight = 20;
|
||||
this.swtbtn_brush1.L_IsOpen = false;
|
||||
this.swtbtn_brush1.L_Margin = 2;
|
||||
this.swtbtn_brush1.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush1.Location = new System.Drawing.Point(105, 216);
|
||||
this.swtbtn_brush1.Name = "swtbtn_brush1";
|
||||
this.swtbtn_brush1.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush1.TabIndex = 35;
|
||||
this.swtbtn_brush1.Text = "lSwitchButton1";
|
||||
this.swtbtn_brush1.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush1_LSwitched);
|
||||
//
|
||||
// kryptonLabel8
|
||||
//
|
||||
this.kryptonLabel8.Location = new System.Drawing.Point(20, 247);
|
||||
@@ -771,15 +571,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonLabel8.TabIndex = 38;
|
||||
this.kryptonLabel8.Values.Text = "毛刷2";
|
||||
//
|
||||
// cbt_Brush1StatusTran
|
||||
//
|
||||
this.cbt_Brush1StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush1StatusTran.Location = new System.Drawing.Point(203, 213);
|
||||
this.cbt_Brush1StatusTran.Name = "cbt_Brush1StatusTran";
|
||||
this.cbt_Brush1StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush1StatusTran.TabIndex = 33;
|
||||
this.cbt_Brush1StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// kryptonLabel9
|
||||
//
|
||||
this.kryptonLabel9.Location = new System.Drawing.Point(20, 218);
|
||||
@@ -788,47 +579,23 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonLabel9.TabIndex = 34;
|
||||
this.kryptonLabel9.Values.Text = "毛刷1";
|
||||
//
|
||||
// swtbtn_brush2
|
||||
// kryptonLabel12
|
||||
//
|
||||
this.swtbtn_brush2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush2.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush2.L_BarHight = 24;
|
||||
this.swtbtn_brush2.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush2.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush2.L_DotHight = 20;
|
||||
this.swtbtn_brush2.L_IsOpen = false;
|
||||
this.swtbtn_brush2.L_Margin = 2;
|
||||
this.swtbtn_brush2.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush2.Location = new System.Drawing.Point(105, 245);
|
||||
this.swtbtn_brush2.Name = "swtbtn_brush2";
|
||||
this.swtbtn_brush2.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush2.TabIndex = 37;
|
||||
this.swtbtn_brush2.Text = "lSwitchButton2";
|
||||
this.swtbtn_brush2.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush2_LSwitched);
|
||||
this.kryptonLabel12.Location = new System.Drawing.Point(4, 221);
|
||||
this.kryptonLabel12.Name = "kryptonLabel12";
|
||||
this.kryptonLabel12.Size = new System.Drawing.Size(62, 20);
|
||||
this.kryptonLabel12.TabIndex = 51;
|
||||
this.kryptonLabel12.Values.Text = "满料方式";
|
||||
this.kryptonLabel12.Visible = false;
|
||||
//
|
||||
// cbt_Brush2StatusTran
|
||||
// kryptonLabel6
|
||||
//
|
||||
this.cbt_Brush2StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush2StatusTran.Location = new System.Drawing.Point(203, 243);
|
||||
this.cbt_Brush2StatusTran.Name = "cbt_Brush2StatusTran";
|
||||
this.cbt_Brush2StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush2StatusTran.TabIndex = 36;
|
||||
this.cbt_Brush2StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// circleButton1
|
||||
//
|
||||
this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.circleButton1.ForeColor = System.Drawing.Color.White;
|
||||
this.circleButton1.Location = new System.Drawing.Point(171, 41);
|
||||
this.circleButton1.Name = "circleButton1";
|
||||
this.circleButton1.Size = new System.Drawing.Size(60, 60);
|
||||
this.circleButton1.TabIndex = 53;
|
||||
this.circleButton1.Text = "Auto Stop";
|
||||
this.circleButton1.UseVisualStyleBackColor = false;
|
||||
this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
|
||||
this.circleButton1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.circleButton1_MouseDown_1);
|
||||
this.circleButton1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.circleButton1_MouseUp);
|
||||
this.kryptonLabel6.Location = new System.Drawing.Point(4, 192);
|
||||
this.kryptonLabel6.Name = "kryptonLabel6";
|
||||
this.kryptonLabel6.Size = new System.Drawing.Size(36, 20);
|
||||
this.kryptonLabel6.TabIndex = 44;
|
||||
this.kryptonLabel6.Values.Text = "喷头";
|
||||
this.kryptonLabel6.Visible = false;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
@@ -923,7 +690,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kbtn_Scrap_1.StateCommon.Content.ShortText.Color1 = System.Drawing.Color.White;
|
||||
this.kbtn_Scrap_1.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.kbtn_Scrap_1.TabIndex = 2;
|
||||
this.kbtn_Scrap_1.Values.Text = "SCRAP\r\n - 1";
|
||||
this.kbtn_Scrap_1.Values.Text = "SCRAP \r\n -1";
|
||||
this.kbtn_Scrap_1.Click += new System.EventHandler(this.kbtn_Scrap_1_Click);
|
||||
//
|
||||
// kbtn_Scrap
|
||||
@@ -2366,14 +2133,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// kryptonButton9
|
||||
//
|
||||
this.kryptonButton9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.kryptonButton9.Location = new System.Drawing.Point(831, 6);
|
||||
this.kryptonButton9.Location = new System.Drawing.Point(783, 6);
|
||||
this.kryptonButton9.Name = "kryptonButton9";
|
||||
this.kryptonButton9.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.kryptonButton9.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.kryptonButton9.Size = new System.Drawing.Size(80, 47);
|
||||
this.kryptonButton9.Size = new System.Drawing.Size(128, 47);
|
||||
this.kryptonButton9.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.kryptonButton9.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.kryptonButton9.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.kryptonButton9.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.kryptonButton9.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.kryptonButton9.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.kryptonButton9.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.kryptonButton9.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2400,20 +2168,21 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kryptonButton9.StateTracking.Border.Rounding = 3F;
|
||||
this.kryptonButton9.TabIndex = 22;
|
||||
this.kryptonButton9.Tag = "frmPrinterMain";
|
||||
this.kryptonButton9.Values.Text = "个人报";
|
||||
this.kryptonButton9.Values.Text = "周报";
|
||||
this.kryptonButton9.Click += new System.EventHandler(this.kryptonButton9_Click);
|
||||
//
|
||||
// btnShiftCount
|
||||
//
|
||||
this.btnShiftCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnShiftCount.Location = new System.Drawing.Point(741, 6);
|
||||
this.btnShiftCount.Location = new System.Drawing.Point(697, 6);
|
||||
this.btnShiftCount.Name = "btnShiftCount";
|
||||
this.btnShiftCount.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnShiftCount.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnShiftCount.Size = new System.Drawing.Size(80, 47);
|
||||
this.btnShiftCount.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnShiftCount.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnShiftCount.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnShiftCount.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnShiftCount.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnShiftCount.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnShiftCount.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnShiftCount.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2446,14 +2215,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnParamater
|
||||
//
|
||||
this.btnParamater.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnParamater.Location = new System.Drawing.Point(133, 6);
|
||||
this.btnParamater.Location = new System.Drawing.Point(129, 6);
|
||||
this.btnParamater.Name = "btnParamater";
|
||||
this.btnParamater.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnParamater.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnParamater.Size = new System.Drawing.Size(87, 47);
|
||||
this.btnParamater.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnParamater.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnParamater.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnParamater.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnParamater.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnParamater.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnParamater.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnParamater.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2486,14 +2256,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnLogin
|
||||
//
|
||||
this.btnLogin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnLogin.Location = new System.Drawing.Point(921, 6);
|
||||
this.btnLogin.Location = new System.Drawing.Point(924, 6);
|
||||
this.btnLogin.Name = "btnLogin";
|
||||
this.btnLogin.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnLogin.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnLogin.Size = new System.Drawing.Size(64, 47);
|
||||
this.btnLogin.Size = new System.Drawing.Size(73, 47);
|
||||
this.btnLogin.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnLogin.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnLogin.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnLogin.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnLogin.StateCommon.Content.ShortText.Trim = Krypton.Toolkit.PaletteTextTrim.EllipsisPath;
|
||||
this.btnLogin.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnLogin.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnLogin.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2533,7 +2304,8 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.btnBase.Size = new System.Drawing.Size(116, 47);
|
||||
this.btnBase.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnBase.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnBase.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnBase.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnBase.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnBase.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnBase.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnBase.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2566,14 +2338,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnWarningLog
|
||||
//
|
||||
this.btnWarningLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnWarningLog.Location = new System.Drawing.Point(487, 6);
|
||||
this.btnWarningLog.Location = new System.Drawing.Point(467, 6);
|
||||
this.btnWarningLog.Name = "btnWarningLog";
|
||||
this.btnWarningLog.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnWarningLog.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnWarningLog.Size = new System.Drawing.Size(68, 47);
|
||||
this.btnWarningLog.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnWarningLog.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnWarningLog.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnWarningLog.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnWarningLog.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnWarningLog.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnWarningLog.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnWarningLog.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2606,14 +2379,14 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnPrinter
|
||||
//
|
||||
this.btnPrinter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnPrinter.Location = new System.Drawing.Point(636, 6);
|
||||
this.btnPrinter.Location = new System.Drawing.Point(608, 6);
|
||||
this.btnPrinter.Name = "btnPrinter";
|
||||
this.btnPrinter.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnPrinter.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnPrinter.Size = new System.Drawing.Size(95, 47);
|
||||
this.btnPrinter.Size = new System.Drawing.Size(81, 47);
|
||||
this.btnPrinter.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnPrinter.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnPrinter.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPrinter.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPrinter.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnPrinter.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnPrinter.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2646,14 +2419,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnIR
|
||||
//
|
||||
this.btnIR.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnIR.Location = new System.Drawing.Point(565, 6);
|
||||
this.btnIR.Location = new System.Drawing.Point(541, 6);
|
||||
this.btnIR.Name = "btnIR";
|
||||
this.btnIR.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnIR.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnIR.Size = new System.Drawing.Size(61, 47);
|
||||
this.btnIR.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnIR.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnIR.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnIR.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnIR.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnIR.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnIR.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2686,14 +2460,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnPLCConfig
|
||||
//
|
||||
this.btnPLCConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnPLCConfig.Location = new System.Drawing.Point(230, 6);
|
||||
this.btnPLCConfig.Location = new System.Drawing.Point(222, 6);
|
||||
this.btnPLCConfig.Name = "btnPLCConfig";
|
||||
this.btnPLCConfig.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnPLCConfig.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnPLCConfig.Size = new System.Drawing.Size(96, 47);
|
||||
this.btnPLCConfig.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnPLCConfig.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnPLCConfig.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPLCConfig.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnPLCConfig.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnPLCConfig.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnPLCConfig.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnPLCConfig.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2726,14 +2501,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnIO
|
||||
//
|
||||
this.btnIO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnIO.Location = new System.Drawing.Point(417, 6);
|
||||
this.btnIO.Location = new System.Drawing.Point(401, 6);
|
||||
this.btnIO.Name = "btnIO";
|
||||
this.btnIO.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnIO.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnIO.Size = new System.Drawing.Size(60, 47);
|
||||
this.btnIO.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnIO.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnIO.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnIO.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnIO.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnIO.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnIO.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnIO.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2766,14 +2542,15 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// btnManual
|
||||
//
|
||||
this.btnManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.btnManual.Location = new System.Drawing.Point(336, 6);
|
||||
this.btnManual.Location = new System.Drawing.Point(324, 6);
|
||||
this.btnManual.Name = "btnManual";
|
||||
this.btnManual.OverrideDefault.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnManual.OverrideDefault.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnManual.Size = new System.Drawing.Size(71, 47);
|
||||
this.btnManual.StateCommon.Content.LongText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnManual.StateCommon.Content.LongText.MultiLineH = Krypton.Toolkit.PaletteRelativeAlign.Center;
|
||||
this.btnManual.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnManual.StateCommon.Content.ShortText.Font = new System.Drawing.Font("微软雅黑", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnManual.StateCommon.Content.ShortText.MultiLine = Krypton.Toolkit.InheritBool.True;
|
||||
this.btnManual.StateNormal.Back.Color1 = System.Drawing.Color.WhiteSmoke;
|
||||
this.btnManual.StateNormal.Back.Color2 = System.Drawing.Color.LightSteelBlue;
|
||||
this.btnManual.StateNormal.Back.ColorStyle = Krypton.Toolkit.PaletteColorStyle.HalfCut;
|
||||
@@ -2809,6 +2586,239 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
|
||||
//
|
||||
// cbt_fpalletmod
|
||||
//
|
||||
this.cbt_fpalletmod.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_fpalletmod.Location = new System.Drawing.Point(186, 219);
|
||||
this.cbt_fpalletmod.Name = "cbt_fpalletmod";
|
||||
this.cbt_fpalletmod.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_fpalletmod.TabIndex = 49;
|
||||
this.cbt_fpalletmod.UseVisualStyleBackColor = false;
|
||||
this.cbt_fpalletmod.Visible = false;
|
||||
//
|
||||
// swtbtn_fullPalletMod
|
||||
//
|
||||
this.swtbtn_fullPalletMod.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_fullPalletMod.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_fullPalletMod.L_BarHight = 24;
|
||||
this.swtbtn_fullPalletMod.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_fullPalletMod.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_fullPalletMod.L_DotHight = 20;
|
||||
this.swtbtn_fullPalletMod.L_IsOpen = false;
|
||||
this.swtbtn_fullPalletMod.L_Margin = 2;
|
||||
this.swtbtn_fullPalletMod.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_fullPalletMod.Location = new System.Drawing.Point(89, 219);
|
||||
this.swtbtn_fullPalletMod.Name = "swtbtn_fullPalletMod";
|
||||
this.swtbtn_fullPalletMod.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_fullPalletMod.TabIndex = 47;
|
||||
this.swtbtn_fullPalletMod.Text = "lSwitchButton4";
|
||||
this.swtbtn_fullPalletMod.Visible = false;
|
||||
this.swtbtn_fullPalletMod.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_fullPalletMod_LSwitched);
|
||||
//
|
||||
// cbt_NozzleStatusTran
|
||||
//
|
||||
this.cbt_NozzleStatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_NozzleStatusTran.Location = new System.Drawing.Point(186, 191);
|
||||
this.cbt_NozzleStatusTran.Name = "cbt_NozzleStatusTran";
|
||||
this.cbt_NozzleStatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_NozzleStatusTran.TabIndex = 42;
|
||||
this.cbt_NozzleStatusTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_NozzleStatusTran.Visible = false;
|
||||
//
|
||||
// swtbtn_nozzle1
|
||||
//
|
||||
this.swtbtn_nozzle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_nozzle1.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_nozzle1.L_BarHight = 24;
|
||||
this.swtbtn_nozzle1.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_nozzle1.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_nozzle1.L_DotHight = 20;
|
||||
this.swtbtn_nozzle1.L_IsOpen = false;
|
||||
this.swtbtn_nozzle1.L_Margin = 2;
|
||||
this.swtbtn_nozzle1.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_nozzle1.Location = new System.Drawing.Point(89, 190);
|
||||
this.swtbtn_nozzle1.Name = "swtbtn_nozzle1";
|
||||
this.swtbtn_nozzle1.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_nozzle1.TabIndex = 43;
|
||||
this.swtbtn_nozzle1.Text = "lSwitchButton4";
|
||||
this.swtbtn_nozzle1.Visible = false;
|
||||
this.swtbtn_nozzle1.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_nozzle1_LSwitched);
|
||||
//
|
||||
// circleButton1
|
||||
//
|
||||
this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.circleButton1.ForeColor = System.Drawing.Color.White;
|
||||
this.circleButton1.Location = new System.Drawing.Point(171, 41);
|
||||
this.circleButton1.Name = "circleButton1";
|
||||
this.circleButton1.Size = new System.Drawing.Size(60, 60);
|
||||
this.circleButton1.TabIndex = 53;
|
||||
this.circleButton1.Text = "Auto Stop";
|
||||
this.circleButton1.UseVisualStyleBackColor = false;
|
||||
this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
|
||||
this.circleButton1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.circleButton1_MouseDown_1);
|
||||
this.circleButton1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.circleButton1_MouseUp);
|
||||
//
|
||||
// cbt_staticbar
|
||||
//
|
||||
this.cbt_staticbar.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_staticbar.Location = new System.Drawing.Point(203, 304);
|
||||
this.cbt_staticbar.Name = "cbt_staticbar";
|
||||
this.cbt_staticbar.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_staticbar.TabIndex = 48;
|
||||
this.cbt_staticbar.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// swtbtn_staticBar
|
||||
//
|
||||
this.swtbtn_staticBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_staticBar.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_staticBar.L_BarHight = 24;
|
||||
this.swtbtn_staticBar.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_staticBar.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_staticBar.L_DotHight = 20;
|
||||
this.swtbtn_staticBar.L_IsOpen = false;
|
||||
this.swtbtn_staticBar.L_Margin = 2;
|
||||
this.swtbtn_staticBar.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_staticBar.Location = new System.Drawing.Point(105, 304);
|
||||
this.swtbtn_staticBar.Name = "swtbtn_staticBar";
|
||||
this.swtbtn_staticBar.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_staticBar.TabIndex = 46;
|
||||
this.swtbtn_staticBar.Text = "lSwitchButton4";
|
||||
this.swtbtn_staticBar.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_staticBar_LSwitched);
|
||||
//
|
||||
// cbt_ResetSys
|
||||
//
|
||||
this.cbt_ResetSys.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(153)))), ((int)(((byte)(0)))));
|
||||
this.cbt_ResetSys.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_ResetSys.ForeColor = System.Drawing.Color.White;
|
||||
this.cbt_ResetSys.Location = new System.Drawing.Point(30, 107);
|
||||
this.cbt_ResetSys.Name = "cbt_ResetSys";
|
||||
this.cbt_ResetSys.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_ResetSys.TabIndex = 5;
|
||||
this.cbt_ResetSys.Text = "RESET";
|
||||
this.cbt_ResetSys.UseVisualStyleBackColor = false;
|
||||
this.cbt_ResetSys.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_ResetSys_MouseDown);
|
||||
this.cbt_ResetSys.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_ResetSys_MouseUp);
|
||||
//
|
||||
// cbt_RunStatusTran
|
||||
//
|
||||
this.cbt_RunStatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_RunStatusTran.Location = new System.Drawing.Point(203, 5);
|
||||
this.cbt_RunStatusTran.Name = "cbt_RunStatusTran";
|
||||
this.cbt_RunStatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_RunStatusTran.TabIndex = 7;
|
||||
this.cbt_RunStatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// cbt_StopTran
|
||||
//
|
||||
this.cbt_StopTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.cbt_StopTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_StopTran.ForeColor = System.Drawing.Color.White;
|
||||
this.cbt_StopTran.Location = new System.Drawing.Point(105, 41);
|
||||
this.cbt_StopTran.Name = "cbt_StopTran";
|
||||
this.cbt_StopTran.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_StopTran.TabIndex = 5;
|
||||
this.cbt_StopTran.Text = "STOP";
|
||||
this.cbt_StopTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_StopTran.Click += new System.EventHandler(this.cbt_StopTran_Click);
|
||||
this.cbt_StopTran.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_StopTran_MouseDown);
|
||||
this.cbt_StopTran.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_StopTran_MouseUp);
|
||||
//
|
||||
// swtbtn_brush3
|
||||
//
|
||||
this.swtbtn_brush3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush3.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush3.L_BarHight = 24;
|
||||
this.swtbtn_brush3.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush3.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush3.L_DotHight = 20;
|
||||
this.swtbtn_brush3.L_IsOpen = false;
|
||||
this.swtbtn_brush3.L_Margin = 2;
|
||||
this.swtbtn_brush3.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush3.Location = new System.Drawing.Point(105, 274);
|
||||
this.swtbtn_brush3.Name = "swtbtn_brush3";
|
||||
this.swtbtn_brush3.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush3.TabIndex = 40;
|
||||
this.swtbtn_brush3.Text = "lSwitchButton3";
|
||||
this.swtbtn_brush3.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush3_LSwitched);
|
||||
//
|
||||
// cbt_StartTran
|
||||
//
|
||||
this.cbt_StartTran.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(190)))), ((int)(((byte)(107)))));
|
||||
this.cbt_StartTran.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbt_StartTran.Location = new System.Drawing.Point(30, 41);
|
||||
this.cbt_StartTran.Name = "cbt_StartTran";
|
||||
this.cbt_StartTran.Size = new System.Drawing.Size(60, 60);
|
||||
this.cbt_StartTran.TabIndex = 5;
|
||||
this.cbt_StartTran.Text = "START";
|
||||
this.cbt_StartTran.UseVisualStyleBackColor = false;
|
||||
this.cbt_StartTran.Click += new System.EventHandler(this.cbt_StartTran_Click);
|
||||
this.cbt_StartTran.MouseDown += new System.Windows.Forms.MouseEventHandler(this.cbt_StartTran_MouseDown);
|
||||
this.cbt_StartTran.MouseUp += new System.Windows.Forms.MouseEventHandler(this.cbt_StartTran_MouseUp);
|
||||
//
|
||||
// cbt_Brush3StatusTran
|
||||
//
|
||||
this.cbt_Brush3StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush3StatusTran.Location = new System.Drawing.Point(203, 273);
|
||||
this.cbt_Brush3StatusTran.Name = "cbt_Brush3StatusTran";
|
||||
this.cbt_Brush3StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush3StatusTran.TabIndex = 39;
|
||||
this.cbt_Brush3StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// swtbtn_brush1
|
||||
//
|
||||
this.swtbtn_brush1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush1.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush1.L_BarHight = 24;
|
||||
this.swtbtn_brush1.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush1.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush1.L_DotHight = 20;
|
||||
this.swtbtn_brush1.L_IsOpen = false;
|
||||
this.swtbtn_brush1.L_Margin = 2;
|
||||
this.swtbtn_brush1.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush1.Location = new System.Drawing.Point(105, 216);
|
||||
this.swtbtn_brush1.Name = "swtbtn_brush1";
|
||||
this.swtbtn_brush1.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush1.TabIndex = 35;
|
||||
this.swtbtn_brush1.Text = "lSwitchButton1";
|
||||
this.swtbtn_brush1.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush1_LSwitched);
|
||||
//
|
||||
// cbt_Brush1StatusTran
|
||||
//
|
||||
this.cbt_Brush1StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush1StatusTran.Location = new System.Drawing.Point(203, 213);
|
||||
this.cbt_Brush1StatusTran.Name = "cbt_Brush1StatusTran";
|
||||
this.cbt_Brush1StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush1StatusTran.TabIndex = 33;
|
||||
this.cbt_Brush1StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// swtbtn_brush2
|
||||
//
|
||||
this.swtbtn_brush2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(225)))));
|
||||
this.swtbtn_brush2.L_AnimateType = LEase.LEaseType.Quartic;
|
||||
this.swtbtn_brush2.L_BarHight = 24;
|
||||
this.swtbtn_brush2.L_CloseColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
|
||||
this.swtbtn_brush2.L_DotColor = System.Drawing.Color.White;
|
||||
this.swtbtn_brush2.L_DotHight = 20;
|
||||
this.swtbtn_brush2.L_IsOpen = false;
|
||||
this.swtbtn_brush2.L_Margin = 2;
|
||||
this.swtbtn_brush2.L_OpenColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
|
||||
this.swtbtn_brush2.Location = new System.Drawing.Point(105, 245);
|
||||
this.swtbtn_brush2.Name = "swtbtn_brush2";
|
||||
this.swtbtn_brush2.Size = new System.Drawing.Size(58, 25);
|
||||
this.swtbtn_brush2.TabIndex = 37;
|
||||
this.swtbtn_brush2.Text = "lSwitchButton2";
|
||||
this.swtbtn_brush2.LSwitched += new CleanMachineHMI.LSwitchButton.LSwitchedEventHandler(this.swtbtn_brush2_LSwitched);
|
||||
//
|
||||
// cbt_Brush2StatusTran
|
||||
//
|
||||
this.cbt_Brush2StatusTran.BackColor = System.Drawing.Color.Gray;
|
||||
this.cbt_Brush2StatusTran.Location = new System.Drawing.Point(203, 243);
|
||||
this.cbt_Brush2StatusTran.Name = "cbt_Brush2StatusTran";
|
||||
this.cbt_Brush2StatusTran.Size = new System.Drawing.Size(30, 30);
|
||||
this.cbt_Brush2StatusTran.TabIndex = 36;
|
||||
this.cbt_Brush2StatusTran.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// frmMainDetail
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
|
||||
@@ -211,8 +211,8 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
|
||||
private void kbtn_Pass_Yes_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
//try
|
||||
//{
|
||||
//自检结束后发送停止检测信号
|
||||
PlcOperationHelper.Instance.WritePlcItem("SelfCheckFlag", "False", PlcItemTypeDesc.M);
|
||||
//自检通过后,发送检测通过信号
|
||||
@@ -225,11 +225,11 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
//frmMainNew.SwitchFrmMenu(EnumFormType.IoMonitor, false);
|
||||
Global.CanOperate = true;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
KryptonMessageBox.Show(ex.Message);
|
||||
}
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// KryptonMessageBox.Show(ex.Message);
|
||||
//}
|
||||
}
|
||||
|
||||
private void kbtn_Pass_No_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
||||
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
|
||||
this.kbt_Query = new Krypton.Toolkit.KryptonButton();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
@@ -49,7 +50,6 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
||||
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
||||
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
|
||||
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
|
||||
this.kryptonPanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox3)).BeginInit();
|
||||
@@ -158,10 +158,10 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// ColMachineHours
|
||||
//
|
||||
this.ColMachineHours.DataPropertyName = "MachineHours";
|
||||
this.ColMachineHours.HeaderText = "MachineHours";
|
||||
this.ColMachineHours.HeaderText = "MachineRunHours";
|
||||
this.ColMachineHours.Name = "ColMachineHours";
|
||||
this.ColMachineHours.ReadOnly = true;
|
||||
this.ColMachineHours.Width = 114;
|
||||
this.ColMachineHours.Width = 135;
|
||||
//
|
||||
// ColCleaned
|
||||
//
|
||||
@@ -225,6 +225,19 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
this.tableLayoutPanel2.Size = new System.Drawing.Size(292, 41);
|
||||
this.tableLayoutPanel2.TabIndex = 6;
|
||||
//
|
||||
// kryptonButton1
|
||||
//
|
||||
this.kryptonButton1.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.kryptonButton1.Location = new System.Drawing.Point(3, 3);
|
||||
this.kryptonButton1.Name = "kryptonButton1";
|
||||
this.kryptonButton1.Size = new System.Drawing.Size(91, 35);
|
||||
this.kryptonButton1.TabIndex = 1;
|
||||
this.kryptonButton1.Tag = "show";
|
||||
this.kryptonButton1.Values.Text = "打印";
|
||||
this.kryptonButton1.Click += new System.EventHandler(this.kryptonButton1_Click);
|
||||
//
|
||||
// kbt_Reset
|
||||
//
|
||||
this.kbt_Reset.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -284,7 +297,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// kdtp_CreateStartTime
|
||||
//
|
||||
this.kdtp_CreateStartTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd";
|
||||
this.kdtp_CreateStartTime.Location = new System.Drawing.Point(192, 10);
|
||||
this.kdtp_CreateStartTime.Name = "kdtp_CreateStartTime";
|
||||
this.kdtp_CreateStartTime.ShowCheckBox = true;
|
||||
@@ -303,26 +316,13 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
// kdtp_CreateEndTime
|
||||
//
|
||||
this.kdtp_CreateEndTime.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
|
||||
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd";
|
||||
this.kdtp_CreateEndTime.Location = new System.Drawing.Point(702, 10);
|
||||
this.kdtp_CreateEndTime.Name = "kdtp_CreateEndTime";
|
||||
this.kdtp_CreateEndTime.ShowCheckBox = true;
|
||||
this.kdtp_CreateEndTime.Size = new System.Drawing.Size(246, 21);
|
||||
this.kdtp_CreateEndTime.TabIndex = 7;
|
||||
//
|
||||
// kryptonButton1
|
||||
//
|
||||
this.kryptonButton1.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.kryptonButton1.Location = new System.Drawing.Point(3, 3);
|
||||
this.kryptonButton1.Name = "kryptonButton1";
|
||||
this.kryptonButton1.Size = new System.Drawing.Size(91, 35);
|
||||
this.kryptonButton1.TabIndex = 1;
|
||||
this.kryptonButton1.Tag = "show";
|
||||
this.kryptonButton1.Values.Text = "打印";
|
||||
this.kryptonButton1.Click += new System.EventHandler(this.kryptonButton1_Click);
|
||||
//
|
||||
// frmOperatorReport
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@@ -364,6 +364,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
private Krypton.Toolkit.KryptonDateTimePicker kdtp_CreateStartTime;
|
||||
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
||||
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colDate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ColDayOfWeek;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ColStartTime;
|
||||
@@ -372,6 +373,5 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
private Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn ColCleaned;
|
||||
private Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn ColScrap;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colOperators;
|
||||
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,12 +25,17 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
public frmOperatorReport()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.SetFormControlText();
|
||||
this.kryptonDataGridView1.AutoGenerateColumns = false;
|
||||
this.kdtp_CreateEndTime.Value = DateTime.Today;
|
||||
this.kdtp_CreateStartTime.Value = DateTime.Today;
|
||||
}
|
||||
|
||||
|
||||
public void Init()
|
||||
{
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetOPReport(this.kdtp_CreateStartTime.Value, this.kdtp_CreateEndTime.Value);
|
||||
this.kryptonDataGridView1.DataSource = list;
|
||||
//var sql = $@"select PARAMETER_ID 序号,PARAMETER_CODE 参数编码,PARAMETER_NAME 参数名称,PARAMETER_VALUE 参数值,CREATE_TIME 创建时间 from SYS_PARAMETER where USED_FLAG=1 and DEL_FLAG=0 ";
|
||||
|
||||
//if (kdtp_CreateStartTime.Checked)
|
||||
@@ -70,8 +75,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
{
|
||||
try
|
||||
{
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetOPReport("");
|
||||
this.kryptonDataGridView1.DataSource = list;
|
||||
this.Init();
|
||||
|
||||
|
||||
}
|
||||
@@ -104,7 +108,7 @@ namespace CleanMachineHMI.FrmUserControl
|
||||
|
||||
private void kryptonButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetOPReport("");
|
||||
var list = new CleanMachine.BLL.ZBK.DayReportBLL().GetOPReport(this.kdtp_CreateStartTime.Value, this.kdtp_CreateEndTime.Value);
|
||||
FastReport.Report report = new FastReport.Report();
|
||||
report.Load("ReportMd\\operatorReport.frx");
|
||||
report.RegisterData(list, "datas");
|
||||
|
||||
@@ -129,16 +129,4 @@
|
||||
<metadata name="colOperators.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ColStartTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ColEndTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ColMachineHours.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colOperators.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -336,7 +336,7 @@
|
||||
},
|
||||
{
|
||||
"formCode": "frmWarning",
|
||||
"controlCode": "报警编码",
|
||||
"controlCode": "Alarm code",
|
||||
"controlName": "Alarm Code"
|
||||
},
|
||||
{
|
||||
@@ -456,7 +456,7 @@
|
||||
},
|
||||
{
|
||||
"formCode": "frmUser",
|
||||
"controlCode": "序号",
|
||||
"controlCode": "Serial Number",
|
||||
"controlName": "Serial Number"
|
||||
},
|
||||
{
|
||||
@@ -3823,5 +3823,102 @@
|
||||
"formCode": "frmManual",
|
||||
"controlCode": "kbtn_AlarmDelayedTime",
|
||||
"controlName": "Alarm delayed time"
|
||||
},
|
||||
{
|
||||
"formCode": "frmParamater",
|
||||
"controlCode": "btnRestmaintenance",
|
||||
"controlName": "Maintain time reset"
|
||||
},
|
||||
{
|
||||
"formCode": "frmMainNew",
|
||||
"controlCode": "DayReport",
|
||||
"controlName": "Day report" //Daily report
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmMainDetail",
|
||||
"controlCode": "btnShiftCount",
|
||||
"controlName": "Day report"
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmMainDetail",
|
||||
"controlCode": "kryptonButton9",
|
||||
"controlName": "Operator report"
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kryptonGroupBox3",
|
||||
"controlName": "Data:"
|
||||
},
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kryptonGroupBox4",
|
||||
"controlName": "Query operation:"
|
||||
},
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kbt_Reset",
|
||||
"controlName": "Reset item"
|
||||
},
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kbt_Query",
|
||||
"controlName": "Query"
|
||||
},
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kryptonLabel2",
|
||||
"controlName": "Time reset"
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmDayReport",
|
||||
"controlCode": "kryptonLabel5",
|
||||
"controlName": "TO"
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmMainNew",
|
||||
"controlCode": "OperatorReport",
|
||||
"controlName": "Operator report" //Operator report
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kryptonGroupBox3",
|
||||
"controlName": "Data:"
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kryptonGroupBox4",
|
||||
"controlName": "Query operation:"
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kryptonButton1",
|
||||
"controlName": "Print"
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kbt_Reset",
|
||||
"controlName": "Reset item"
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kbt_Query",
|
||||
"controlName": "Query"
|
||||
},
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kryptonLabel2",
|
||||
"controlName": "Time reset"
|
||||
},
|
||||
|
||||
{
|
||||
"formCode": "frmOperatorReport",
|
||||
"controlCode": "kryptonLabel5",
|
||||
"controlName": "To"
|
||||
}
|
||||
|
||||
]
|
||||
@@ -505,7 +505,7 @@ namespace CleanMachineHMI
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
lastAlarm[i] = tmpReadAlarmBytArr_D[i];
|
||||
@@ -1195,6 +1195,7 @@ namespace CleanMachineHMI
|
||||
try
|
||||
{
|
||||
#endif
|
||||
if (!this.IsConn) return false;
|
||||
switch (itemType)
|
||||
{
|
||||
case PlcItemTypeDesc.M:
|
||||
@@ -1322,18 +1323,18 @@ namespace CleanMachineHMI
|
||||
#if UseHeartbeat
|
||||
|
||||
|
||||
if (DateTime.Now > HeartbeatTime.AddSeconds(10))//心跳超时
|
||||
if (DateTime.Now > HeartbeatTime.AddSeconds(10))//心跳超时
|
||||
{
|
||||
IsConn = false;
|
||||
//报警处理。
|
||||
frmMainNew.Show_Plc_Alarm("PLC heartbeat data is abnormal, PLC loses connection!");
|
||||
if (ReConnNum % 5 == 0)
|
||||
{
|
||||
IsConn = false;
|
||||
//报警处理。
|
||||
frmMainNew.Show_Plc_Alarm("PLC heartbeat data is abnormal, PLC loses connection!");
|
||||
if (ReConnNum % 5 == 0)
|
||||
{
|
||||
ClosePlcConn();
|
||||
PlcInit();
|
||||
}
|
||||
ReConnNum++;
|
||||
ClosePlcConn();
|
||||
PlcInit();
|
||||
}
|
||||
ReConnNum++;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if RELEASE
|
||||
|
||||
@@ -151,36 +151,38 @@ namespace CleanMachineHMI.Utils
|
||||
/// <param name="languageCode">语言编码</param>
|
||||
public static void SetFormControlText(this Control form)
|
||||
{
|
||||
try
|
||||
//try
|
||||
//{
|
||||
var lstControls = GetAllControls(form);
|
||||
lstControls.Add(form);
|
||||
foreach (Control item in lstControls)
|
||||
{
|
||||
var lstControls = GetAllControls(form);
|
||||
lstControls.Add(form);
|
||||
foreach (Control item in lstControls)
|
||||
|
||||
var key = form.Name + "|" + item.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
var key = form.Name + "|" + item.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
#if DEBUG
|
||||
|
||||
AddzhCN(key, item.Text, "");
|
||||
#endif
|
||||
if (item is KryptonGroupBox)
|
||||
{
|
||||
((KryptonGroupBox)item).Values.Heading = Global.ThemeLanguage[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
item.Text = Global.ThemeLanguage[key];
|
||||
}
|
||||
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (item is KryptonGroupBox)
|
||||
{
|
||||
((KryptonGroupBox)item).Values.Heading = Global.ThemeLanguage[key];
|
||||
}
|
||||
else
|
||||
{
|
||||
item.Text = Global.ThemeLanguage[key];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||
}
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// LogHelper.WriteLog(ex.Message, LogTypeEum.Err);
|
||||
//}
|
||||
}
|
||||
|
||||
public static void SetSingleControlText(this Control form, Control control)
|
||||
@@ -193,13 +195,14 @@ namespace CleanMachineHMI.Utils
|
||||
var key = form.Name + "|" + control.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
AddzhCN(key, control.Text, "");
|
||||
control.Text = control.Name;
|
||||
}
|
||||
else
|
||||
{
|
||||
control.Text = Global.ThemeLanguage[key];
|
||||
}
|
||||
AddzhCN(key, control.Text, "");
|
||||
|
||||
|
||||
#if RELEASE
|
||||
}
|
||||
@@ -225,9 +228,10 @@ namespace CleanMachineHMI.Utils
|
||||
var key = formName + "|" + item.Name;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
AddzhCN(key, item.HeaderText, "");
|
||||
continue;
|
||||
}
|
||||
AddzhCN(key, item.HeaderText, "");
|
||||
|
||||
item.HeaderText = Global.ThemeLanguage[key];
|
||||
}
|
||||
}
|
||||
@@ -251,11 +255,12 @@ namespace CleanMachineHMI.Utils
|
||||
var key = form.Name + "|" + infoCode;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
AddzhCN(key, defaultValue, "");
|
||||
return defaultValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
AddzhCN(key, defaultValue, "");
|
||||
|
||||
return Global.ThemeLanguage[key];
|
||||
}
|
||||
}
|
||||
@@ -273,6 +278,14 @@ namespace CleanMachineHMI.Utils
|
||||
var key = form.Name + "|" + controlCode;
|
||||
if (!Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
var control = (KryptonComboBox)form.Controls.Find(controlCode, true)[0];
|
||||
var str = "";
|
||||
foreach (var item in control.Items)
|
||||
{
|
||||
str += $"{item},";
|
||||
}
|
||||
|
||||
AddzhCN(key, "", string.IsNullOrEmpty(str) ? Global.ThemeLanguage[key] : str.TrimEnd(new char[] { ',' }));
|
||||
return new List<string>();
|
||||
}
|
||||
else
|
||||
@@ -355,12 +368,19 @@ namespace CleanMachineHMI.Utils
|
||||
|
||||
private static void AddzhCN(string key, string name, string options)
|
||||
{
|
||||
|
||||
#if DEBUG
|
||||
|
||||
if (string.IsNullOrEmpty(name) && string.IsNullOrEmpty(options))
|
||||
{
|
||||
Console.WriteLine(key + "空");
|
||||
return;
|
||||
}
|
||||
var codes = key.Split(new string[] { "|" }, StringSplitOptions.RemoveEmptyEntries);
|
||||
if (codes.Length != 2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (Global.ThemeLanguage.ContainsKey(key))
|
||||
{
|
||||
return;
|
||||
@@ -375,6 +395,7 @@ namespace CleanMachineHMI.Utils
|
||||
var str1 = Newtonsoft.Json.JsonConvert.SerializeObject(_newlyLang);
|
||||
WriteLangFile("newly.json", str1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
public class ThemeLanguage
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachineHMI
|
||||
|
||||
private void btnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace CleanMachineHMI
|
||||
KryptonMessageBox.Show(this.T("用户已被停用!", "UserStop"), "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (_user.Password.ToLower() != _user.Password.ToLower())
|
||||
if (_user.Password.ToLower() != txtPs.Text.ToLower())
|
||||
{
|
||||
KryptonMessageBox.Show(this.T("输入密码错误!", "PasswordFail"));
|
||||
return;
|
||||
@@ -100,7 +100,7 @@ namespace CleanMachineHMI
|
||||
if (Global.MainFormNew == null)
|
||||
{
|
||||
Global.MainFormNew = new frmMainNew();
|
||||
|
||||
|
||||
}
|
||||
Global.MainFormNew.Show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user