|
|
using System.Windows.Forms;
|
|
|
|
|
|
namespace HighWayIot.Winform.UserControlPages.SysConfigPages
|
|
|
{
|
|
|
partial class ShiftTimePage
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 必需的设计器变量。
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 清理所有正在使用的资源。
|
|
|
/// </summary>
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
{
|
|
|
components.Dispose();
|
|
|
}
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.ShiftTimeDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
this.UpdateShiftTimeButton = new System.Windows.Forms.Button();
|
|
|
this.ButtonPanel = new System.Windows.Forms.Panel();
|
|
|
this.RefreshShiftTime = new System.Windows.Forms.Button();
|
|
|
this.ShiftId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ShiftName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ShiftStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ShiftEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ShiftClass = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ShiftTimeDataGridView)).BeginInit();
|
|
|
this.ButtonPanel.SuspendLayout();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// ShiftTimeDataGridView
|
|
|
//
|
|
|
this.ShiftTimeDataGridView.AllowUserToAddRows = false;
|
|
|
this.ShiftTimeDataGridView.AllowUserToDeleteRows = false;
|
|
|
this.ShiftTimeDataGridView.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.ShiftTimeDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
this.ShiftTimeDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.ShiftId,
|
|
|
this.ShiftName,
|
|
|
this.ShiftStartTime,
|
|
|
this.ShiftEndTime,
|
|
|
this.ShiftClass});
|
|
|
this.ShiftTimeDataGridView.Location = new System.Drawing.Point(0, 65);
|
|
|
this.ShiftTimeDataGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.ShiftTimeDataGridView.Name = "ShiftTimeDataGridView";
|
|
|
this.ShiftTimeDataGridView.RowHeadersVisible = false;
|
|
|
this.ShiftTimeDataGridView.RowTemplate.Height = 25;
|
|
|
this.ShiftTimeDataGridView.Size = new System.Drawing.Size(1164, 772);
|
|
|
this.ShiftTimeDataGridView.TabIndex = 0;
|
|
|
//
|
|
|
// UpdateShiftTimeButton
|
|
|
//
|
|
|
this.UpdateShiftTimeButton.Location = new System.Drawing.Point(11, 11);
|
|
|
this.UpdateShiftTimeButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.UpdateShiftTimeButton.Name = "UpdateShiftTimeButton";
|
|
|
this.UpdateShiftTimeButton.Size = new System.Drawing.Size(103, 39);
|
|
|
this.UpdateShiftTimeButton.TabIndex = 1;
|
|
|
this.UpdateShiftTimeButton.Text = "更改班次信息";
|
|
|
this.UpdateShiftTimeButton.UseVisualStyleBackColor = true;
|
|
|
this.UpdateShiftTimeButton.Click += new System.EventHandler(this.UpdateShiftTimeButton_Click);
|
|
|
//
|
|
|
// ButtonPanel
|
|
|
//
|
|
|
this.ButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.ButtonPanel.Controls.Add(this.RefreshShiftTime);
|
|
|
this.ButtonPanel.Controls.Add(this.UpdateShiftTimeButton);
|
|
|
this.ButtonPanel.Location = new System.Drawing.Point(0, 0);
|
|
|
this.ButtonPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.ButtonPanel.Name = "ButtonPanel";
|
|
|
this.ButtonPanel.Size = new System.Drawing.Size(1164, 61);
|
|
|
this.ButtonPanel.TabIndex = 4;
|
|
|
this.ButtonPanel.Tag = "报警日志";
|
|
|
//
|
|
|
// RefreshShiftTime
|
|
|
//
|
|
|
this.RefreshShiftTime.Location = new System.Drawing.Point(122, 11);
|
|
|
this.RefreshShiftTime.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.RefreshShiftTime.Name = "RefreshShiftTime";
|
|
|
this.RefreshShiftTime.Size = new System.Drawing.Size(103, 39);
|
|
|
this.RefreshShiftTime.TabIndex = 2;
|
|
|
this.RefreshShiftTime.Text = "刷新班次信息";
|
|
|
this.RefreshShiftTime.UseVisualStyleBackColor = true;
|
|
|
this.RefreshShiftTime.Click += new System.EventHandler(this.RefreshShiftTime_Click);
|
|
|
//
|
|
|
// ShiftId
|
|
|
//
|
|
|
this.ShiftId.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.ShiftId.DataPropertyName = "ShiftId";
|
|
|
this.ShiftId.HeaderText = "班次代号";
|
|
|
this.ShiftId.Name = "ShiftId";
|
|
|
this.ShiftId.ReadOnly = true;
|
|
|
this.ShiftId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
this.ShiftId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
//
|
|
|
// ShiftName
|
|
|
//
|
|
|
this.ShiftName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.ShiftName.DataPropertyName = "ShiftName";
|
|
|
this.ShiftName.HeaderText = "班次名称";
|
|
|
this.ShiftName.Name = "ShiftName";
|
|
|
this.ShiftName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
this.ShiftName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
//
|
|
|
// ShiftStartTime
|
|
|
//
|
|
|
this.ShiftStartTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.ShiftStartTime.DataPropertyName = "ShiftStartTime";
|
|
|
this.ShiftStartTime.HeaderText = "班次开始时间";
|
|
|
this.ShiftStartTime.Name = "ShiftStartTime";
|
|
|
this.ShiftStartTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
this.ShiftStartTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
this.ShiftStartTime.ToolTipText = "格式为:hh:mm:ss";
|
|
|
//
|
|
|
// ShiftEndTime
|
|
|
//
|
|
|
this.ShiftEndTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.ShiftEndTime.DataPropertyName = "ShiftEndTime";
|
|
|
this.ShiftEndTime.HeaderText = "班次结束时间";
|
|
|
this.ShiftEndTime.Name = "ShiftEndTime";
|
|
|
this.ShiftEndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
this.ShiftEndTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
this.ShiftEndTime.ToolTipText = "格式为:hh:mm:ss";
|
|
|
//
|
|
|
// ShiftClass
|
|
|
//
|
|
|
this.ShiftClass.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
this.ShiftClass.DataPropertyName = "ShiftClass";
|
|
|
this.ShiftClass.HeaderText = "班次类型";
|
|
|
this.ShiftClass.Name = "ShiftClass";
|
|
|
this.ShiftClass.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
this.ShiftClass.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
|
//
|
|
|
// ShiftTimePage
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.SystemColors.ControlLight;
|
|
|
this.Controls.Add(this.ButtonPanel);
|
|
|
this.Controls.Add(this.ShiftTimeDataGridView);
|
|
|
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
this.Name = "ShiftTimePage";
|
|
|
this.Size = new System.Drawing.Size(1164, 837);
|
|
|
this.Tag = "";
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ShiftTimeDataGridView)).EndInit();
|
|
|
this.ButtonPanel.ResumeLayout(false);
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
private DataGridView ShiftTimeDataGridView;
|
|
|
private Button UpdateShiftTimeButton;
|
|
|
private Panel ButtonPanel;
|
|
|
private Button RefreshShiftTime;
|
|
|
private DataGridViewTextBoxColumn ShiftId;
|
|
|
private DataGridViewTextBoxColumn ShiftName;
|
|
|
private DataGridViewTextBoxColumn ShiftStartTime;
|
|
|
private DataGridViewTextBoxColumn ShiftEndTime;
|
|
|
private DataGridViewTextBoxColumn ShiftClass;
|
|
|
}
|
|
|
}
|