|
@@ -0,0 +1,195 @@
|
|
|
+namespace UAS_CheckWork
|
|
|
+{
|
|
|
+ partial class Form2
|
|
|
+ {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows Form Designer generated code
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.lblState = new System.Windows.Forms.Label();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.txtPort = new System.Windows.Forms.TextBox();
|
|
|
+ this.txtIP = new System.Windows.Forms.TextBox();
|
|
|
+ this.btnConnect = new System.Windows.Forms.Button();
|
|
|
+ this.startListening = new System.Windows.Forms.Button();
|
|
|
+ this.logInfo = new System.Windows.Forms.DataGridView();
|
|
|
+ this.UserID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.AttState = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.VerifyMethod = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.Time = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.WorkCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.logInfo)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.lblState.AutoSize = true;
|
|
|
+ this.lblState.ForeColor = System.Drawing.Color.Crimson;
|
|
|
+ this.lblState.Location = new System.Drawing.Point(540, 35);
|
|
|
+ this.lblState.Name = "lblState";
|
|
|
+ this.lblState.Size = new System.Drawing.Size(107, 18);
|
|
|
+ this.lblState.TabIndex = 21;
|
|
|
+ this.lblState.Text = "状态:未连接";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label2.Location = new System.Drawing.Point(252, 28);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(62, 31);
|
|
|
+ this.label2.TabIndex = 20;
|
|
|
+ this.label2.Text = "Port";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label1.Location = new System.Drawing.Point(38, 26);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(36, 31);
|
|
|
+ this.label1.TabIndex = 19;
|
|
|
+ this.label1.Text = "IP";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.txtPort.Location = new System.Drawing.Point(324, 28);
|
|
|
+ this.txtPort.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.txtPort.Name = "txtPort";
|
|
|
+ this.txtPort.Size = new System.Drawing.Size(54, 28);
|
|
|
+ this.txtPort.TabIndex = 18;
|
|
|
+ this.txtPort.Text = "4370";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.txtIP.Location = new System.Drawing.Point(89, 28);
|
|
|
+ this.txtIP.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.txtIP.Name = "txtIP";
|
|
|
+ this.txtIP.Size = new System.Drawing.Size(146, 28);
|
|
|
+ this.txtIP.TabIndex = 17;
|
|
|
+ this.txtIP.Text = "192.168.253.201";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.btnConnect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.btnConnect.Location = new System.Drawing.Point(420, 24);
|
|
|
+ this.btnConnect.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.btnConnect.Name = "btnConnect";
|
|
|
+ this.btnConnect.Size = new System.Drawing.Size(75, 38);
|
|
|
+ this.btnConnect.TabIndex = 16;
|
|
|
+ this.btnConnect.Text = "连接";
|
|
|
+ this.btnConnect.UseVisualStyleBackColor = true;
|
|
|
+ this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.startListening.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
+ this.startListening.Location = new System.Drawing.Point(677, 27);
|
|
|
+ this.startListening.Name = "startListening";
|
|
|
+ this.startListening.Size = new System.Drawing.Size(127, 36);
|
|
|
+ this.startListening.TabIndex = 22;
|
|
|
+ this.startListening.Text = "开始实时事件";
|
|
|
+ this.startListening.UseVisualStyleBackColor = false;
|
|
|
+ this.startListening.Click += new System.EventHandler(this.startListening_Click);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.logInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
+ this.logInfo.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
+ this.UserID,
|
|
|
+ this.AttState,
|
|
|
+ this.VerifyMethod,
|
|
|
+ this.Time,
|
|
|
+ this.WorkCode});
|
|
|
+ this.logInfo.Location = new System.Drawing.Point(44, 98);
|
|
|
+ this.logInfo.Name = "logInfo";
|
|
|
+ this.logInfo.RowTemplate.Height = 30;
|
|
|
+ this.logInfo.Size = new System.Drawing.Size(760, 381);
|
|
|
+ this.logInfo.TabIndex = 23;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.UserID.HeaderText = "用户ID";
|
|
|
+ this.UserID.Name = "UserID";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.AttState.HeaderText = "考勤状态";
|
|
|
+ this.AttState.Name = "AttState";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.VerifyMethod.HeaderText = "验证方式";
|
|
|
+ this.VerifyMethod.Name = "VerifyMethod";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.Time.HeaderText = "考勤时间";
|
|
|
+ this.Time.Name = "Time";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.WorkCode.HeaderText = "WorkCode";
|
|
|
+ this.WorkCode.Name = "WorkCode";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(846, 507);
|
|
|
+ this.Controls.Add(this.logInfo);
|
|
|
+ this.Controls.Add(this.startListening);
|
|
|
+ this.Controls.Add(this.lblState);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.txtPort);
|
|
|
+ this.Controls.Add(this.txtIP);
|
|
|
+ this.Controls.Add(this.btnConnect);
|
|
|
+ this.Name = "Form2";
|
|
|
+ this.Text = "实时获取考勤";
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.logInfo)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.Label lblState;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private System.Windows.Forms.TextBox txtPort;
|
|
|
+ private System.Windows.Forms.TextBox txtIP;
|
|
|
+ private System.Windows.Forms.Button btnConnect;
|
|
|
+ private System.Windows.Forms.Button startListening;
|
|
|
+ private System.Windows.Forms.DataGridView logInfo;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn UserID;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn AttState;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn VerifyMethod;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn Time;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn WorkCode;
|
|
|
+ }
|
|
|
+}
|