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?^-9PUlz?DPfpWpfKB_*d?)#d#?_A`z
zdBB!0d!nt1U*m;xDK@A#tlvR71rMe#8L+K{7>1pn
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.listView1 = new System.Windows.Forms.ListView();
+ this.SuspendLayout();
+ //
+ // listView1
+ //
+ this.listView1.GridLines = true;
+ this.listView1.HideSelection = false;
+ this.listView1.Location = new System.Drawing.Point(12, 12);
+ this.listView1.Name = "listView1";
+ this.listView1.Size = new System.Drawing.Size(881, 508);
+ this.listView1.TabIndex = 0;
+ this.listView1.UseCompatibleStateImageBehavior = false;
+ //
+ // Alarm_Record
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(905, 532);
+ this.Controls.Add(this.listView1);
+ this.Name = "Alarm_Record";
+ this.Text = "Alarm_Record";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ListView listView1;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/Alarm_Record.cs b/WindowsFormsApp2/Alarm_Record.cs
new file mode 100644
index 0000000..f84ddb3
--- /dev/null
+++ b/WindowsFormsApp2/Alarm_Record.cs
@@ -0,0 +1,61 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.IO;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement;
+using System.Net.NetworkInformation;
+
+namespace WindowsFormsApp2
+{
+ public partial class Alarm_Record : Form
+ {
+ public Alarm_Record()
+ {
+ InitializeComponent();
+ }
+ public void UpdateDialog()
+ {
+ this.listView1.BeginUpdate(); //数据更新,UI暂时挂起,直到EndUpdate绘制控件,可以有效避免闪烁并大大提高加载速度
+
+ this.listView1.View = View.Details; //显示方式(注意View是Details详细显示)
+ this.listView1.GridLines = true; //行和列是否显示网格线
+ this.listView1.LabelEdit = true; //是否可编辑
+ this.listView1.Scrollable = true; //没有足够的空间显示时,是否添加滚动条
+ this.listView1.HeaderStyle = ColumnHeaderStyle.Clickable; //对表头进行设置
+ this.listView1.FullRowSelect = true; //是否可以选择行
+ this.listView1.MultiSelect = false; //禁止多选
+ this.listView1.Columns[3].Width = 0; //用于隐藏第四列的指令标号 不让用户看见
+
+ this.listView1.Clear(); //从控件中移除所有项和列(包括列表头)
+ this.listView1.Columns.Add("报警开始时间", 120, HorizontalAlignment.Left);
+ this.listView1.Columns.Add("报警处理时间", 120, HorizontalAlignment.Left);
+ this.listView1.Columns.Add("报警信息", 120, HorizontalAlignment.Left);
+ this.listView1.Columns.Add("报警代码", 120, HorizontalAlignment.Left);
+
+ string path = @"alarm.txt";
+ if (File.Exists(path))
+ {
+ foreach (string text in System.IO.File.ReadLines(path))
+ {
+ if (text.IndexOf('_') != -1)
+ {
+ string[] str = text.Split(new char[] { '_' }, StringSplitOptions.RemoveEmptyEntries);
+ ListViewItem list = new ListViewItem(); //新建ListViewItem对象:list
+ list.SubItems.Add(str[0]);
+ list.SubItems.Add(str[1]);
+ list.SubItems.Add(str[2]);
+ list.SubItems.Add(str[3]);
+ this.listView1.Items.Add(list);
+ }
+ }
+ }
+ this.listView1.EndUpdate(); //结束数据处理,UI界面一次性绘制。
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Alarm_Record.resx b/WindowsFormsApp2/Alarm_Record.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/Alarm_Record.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/App.config b/WindowsFormsApp2/App.config
new file mode 100644
index 0000000..4bfa005
--- /dev/null
+++ b/WindowsFormsApp2/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/WindowsFormsApp2/Camera_glue.Designer.cs b/WindowsFormsApp2/Camera_glue.Designer.cs
new file mode 100644
index 0000000..8c986c5
--- /dev/null
+++ b/WindowsFormsApp2/Camera_glue.Designer.cs
@@ -0,0 +1,546 @@
+namespace WindowsFormsApp2
+{
+ partial class Camera_glue
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label_pic1 = new System.Windows.Forms.Label();
+ this.label_pic2 = new System.Windows.Forms.Label();
+ this.label_pic3 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label_tips = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.numericUpDown11 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown31 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown23 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown22 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown21 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown13 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown12 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown33 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown32 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown41 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown43 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown42 = new System.Windows.Forms.NumericUpDown();
+ this.button1 = new System.Windows.Forms.Button();
+ this.numericUpDown52 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown53 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown51 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown62 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown63 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown61 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown72 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown73 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown71 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown82 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown83 = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown81 = new System.Windows.Forms.NumericUpDown();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown31)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown23)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown22)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown21)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown33)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown32)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown41)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown43)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown42)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown52)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown53)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown51)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown62)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown63)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown61)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown72)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown73)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown71)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown82)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown83)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown81)).BeginInit();
+ this.SuspendLayout();
+ //
+ // label_pic1
+ //
+ this.label_pic1.AutoSize = true;
+ this.label_pic1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label_pic1.Location = new System.Drawing.Point(20, 60);
+ this.label_pic1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_pic1.Name = "label_pic1";
+ this.label_pic1.Size = new System.Drawing.Size(72, 20);
+ this.label_pic1.TabIndex = 0;
+ this.label_pic1.Text = "第一张";
+ //
+ // label_pic2
+ //
+ this.label_pic2.AutoSize = true;
+ this.label_pic2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label_pic2.Location = new System.Drawing.Point(20, 103);
+ this.label_pic2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_pic2.Name = "label_pic2";
+ this.label_pic2.Size = new System.Drawing.Size(72, 20);
+ this.label_pic2.TabIndex = 1;
+ this.label_pic2.Text = "第二张";
+ //
+ // label_pic3
+ //
+ this.label_pic3.AutoSize = true;
+ this.label_pic3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label_pic3.Location = new System.Drawing.Point(20, 146);
+ this.label_pic3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_pic3.Name = "label_pic3";
+ this.label_pic3.Size = new System.Drawing.Size(72, 20);
+ this.label_pic3.TabIndex = 2;
+ this.label_pic3.Text = "第三张";
+ //
+ // label_expo1
+ //
+ this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label1.Location = new System.Drawing.Point(90, 16);
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Name = "label_expo1";
+ this.label1.Size = new System.Drawing.Size(83, 20);
+ this.label1.TabIndex = 3;
+ this.label1.Text = "1号相机";
+ //
+ // numericUpDown11
+ //
+ this.numericUpDown11.Location = new System.Drawing.Point(95, 60);
+ this.numericUpDown11.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown11.Name = "numericUpDown11";
+ this.numericUpDown11.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown11.TabIndex = 4;
+ //
+ // numericUpDown12
+ //
+ this.numericUpDown12.Location = new System.Drawing.Point(95, 103);
+ this.numericUpDown12.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown12.Name = "numericUpDown12";
+ this.numericUpDown12.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown12.TabIndex = 5;
+ //
+ // numericUpDown13
+ //
+ this.numericUpDown13.Location = new System.Drawing.Point(95, 146);
+ this.numericUpDown13.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown13.Name = "numericUpDown13";
+ this.numericUpDown13.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown13.TabIndex = 6;
+ //
+ // label_expo2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label2.Location = new System.Drawing.Point(188, 16);
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Name = "label_expo2";
+ this.label2.Size = new System.Drawing.Size(83, 20);
+ this.label2.TabIndex = 7;
+ this.label2.Text = "2号相机";
+ //
+ // numericUpDown21
+ //
+ this.numericUpDown21.Location = new System.Drawing.Point(193, 60);
+ this.numericUpDown21.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown21.Name = "numericUpDown21";
+ this.numericUpDown21.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown21.TabIndex = 8;
+ //
+ // numericUpDown22
+ //
+ this.numericUpDown22.Location = new System.Drawing.Point(193, 103);
+ this.numericUpDown22.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown22.Name = "numericUpDown22";
+ this.numericUpDown22.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown22.TabIndex = 9;
+ //
+ // numericUpDown23
+ //
+ this.numericUpDown23.Location = new System.Drawing.Point(193, 146);
+ this.numericUpDown23.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown23.Name = "numericUpDown23";
+ this.numericUpDown23.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown23.TabIndex = 10;
+ //
+ // label_expo3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label3.Location = new System.Drawing.Point(287, 16);
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Name = "label_expo3";
+ this.label3.Size = new System.Drawing.Size(83, 20);
+ this.label3.TabIndex = 11;
+ this.label3.Text = "3号相机";
+ //
+ // numericUpDown31
+ //
+ this.numericUpDown31.Location = new System.Drawing.Point(291, 60);
+ this.numericUpDown31.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown31.Name = "numericUpDown31";
+ this.numericUpDown31.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown31.TabIndex = 12;
+ //
+ // numericUpDown32
+ //
+ this.numericUpDown32.Location = new System.Drawing.Point(291, 103);
+ this.numericUpDown32.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown32.Name = "numericUpDown32";
+ this.numericUpDown32.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown32.TabIndex = 13;
+ //
+ // numericUpDown33
+ //
+ this.numericUpDown33.Location = new System.Drawing.Point(291, 146);
+ this.numericUpDown33.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown33.Name = "numericUpDown33";
+ this.numericUpDown33.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown33.TabIndex = 14;
+ //
+ // label_expo4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label4.Location = new System.Drawing.Point(384, 16);
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label4.Name = "label_expo4";
+ this.label4.Size = new System.Drawing.Size(83, 20);
+ this.label4.TabIndex = 15;
+ this.label4.Text = "4号相机";
+ //
+ // numericUpDown41
+ //
+ this.numericUpDown41.Location = new System.Drawing.Point(389, 60);
+ this.numericUpDown41.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown41.Name = "numericUpDown41";
+ this.numericUpDown41.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown41.TabIndex = 16;
+ //
+ // numericUpDown42
+ //
+ this.numericUpDown42.Location = new System.Drawing.Point(389, 103);
+ this.numericUpDown42.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown42.Name = "numericUpDown42";
+ this.numericUpDown42.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown42.TabIndex = 17;
+ //
+ // numericUpDown43
+ //
+ this.numericUpDown43.Location = new System.Drawing.Point(389, 146);
+ this.numericUpDown43.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown43.Name = "numericUpDown43";
+ this.numericUpDown43.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown43.TabIndex = 18;
+ //
+ // label_gain1
+ //
+ this.label5.AutoSize = true;
+ this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label5.Location = new System.Drawing.Point(483, 16);
+ this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label5.Name = "label_gain1";
+ this.label5.Size = new System.Drawing.Size(83, 20);
+ this.label5.TabIndex = 19;
+ this.label5.Text = "5号相机";
+ //
+ // numericUpDown51
+ //
+ this.numericUpDown51.Location = new System.Drawing.Point(487, 60);
+ this.numericUpDown51.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown51.Name = "numericUpDown51";
+ this.numericUpDown51.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown51.TabIndex = 20;
+ //
+ // numericUpDown52
+ //
+ this.numericUpDown52.Location = new System.Drawing.Point(487, 103);
+ this.numericUpDown52.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown52.Name = "numericUpDown52";
+ this.numericUpDown52.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown52.TabIndex = 21;
+ //
+ // numericUpDown53
+ //
+ this.numericUpDown53.Location = new System.Drawing.Point(487, 146);
+ this.numericUpDown53.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown53.Name = "numericUpDown53";
+ this.numericUpDown53.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown53.TabIndex = 22;
+ //
+ // label_gain2
+ //
+ this.label6.AutoSize = true;
+ this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label6.Location = new System.Drawing.Point(581, 16);
+ this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label6.Name = "label_gain2";
+ this.label6.Size = new System.Drawing.Size(83, 20);
+ this.label6.TabIndex = 23;
+ this.label6.Text = "6号相机";
+ //
+ // numericUpDown61
+ //
+ this.numericUpDown61.Location = new System.Drawing.Point(585, 60);
+ this.numericUpDown61.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown61.Name = "numericUpDown61";
+ this.numericUpDown61.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown61.TabIndex = 24;
+ //
+ // numericUpDown62
+ //
+ this.numericUpDown62.Location = new System.Drawing.Point(585, 103);
+ this.numericUpDown62.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown62.Name = "numericUpDown62";
+ this.numericUpDown62.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown62.TabIndex = 25;
+ //
+ // numericUpDown63
+ //
+ this.numericUpDown63.Location = new System.Drawing.Point(585, 146);
+ this.numericUpDown63.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown63.Name = "numericUpDown63";
+ this.numericUpDown63.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown63.TabIndex = 26;
+
+ //
+ // label_gain3
+ //
+ this.label7.AutoSize = true;
+ this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label7.Location = new System.Drawing.Point(679, 16);
+ this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label7.Name = "label_gain3";
+ this.label7.Size = new System.Drawing.Size(83, 20);
+ this.label7.TabIndex = 27;
+ this.label7.Text = "7号相机";
+ //
+ // numericUpDown71
+ //
+ this.numericUpDown71.Location = new System.Drawing.Point(683, 60);
+ this.numericUpDown71.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown71.Name = "numericUpDown71";
+ this.numericUpDown71.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown71.TabIndex = 28;
+ //
+ // numericUpDown72
+ //
+ this.numericUpDown72.Location = new System.Drawing.Point(683, 103);
+ this.numericUpDown72.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown72.Name = "numericUpDown72";
+ this.numericUpDown72.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown72.TabIndex = 29;
+ //
+ // numericUpDown73
+ //
+ this.numericUpDown73.Location = new System.Drawing.Point(683, 146);
+ this.numericUpDown73.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown73.Name = "numericUpDown73";
+ this.numericUpDown73.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown73.TabIndex = 30;
+ //
+ // label_gain4
+ //
+ this.label8.AutoSize = true;
+ this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label8.Location = new System.Drawing.Point(776, 16);
+ this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label8.Name = "label_gain4";
+ this.label8.Size = new System.Drawing.Size(83, 20);
+ this.label8.TabIndex = 31;
+ this.label8.Text = "8号相机";
+ //
+ // numericUpDown81
+ //
+ this.numericUpDown81.Location = new System.Drawing.Point(781, 60);
+ this.numericUpDown81.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown81.Name = "numericUpDown81";
+ this.numericUpDown81.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown81.TabIndex = 32;
+ //
+ // numericUpDown82
+ //
+ this.numericUpDown82.Location = new System.Drawing.Point(781, 103);
+ this.numericUpDown82.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown82.Name = "numericUpDown82";
+ this.numericUpDown82.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown82.TabIndex = 33;
+ //
+ // numericUpDown83
+ //
+ this.numericUpDown83.Location = new System.Drawing.Point(781, 146);
+ this.numericUpDown83.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown83.Name = "numericUpDown83";
+ this.numericUpDown83.Size = new System.Drawing.Size(78, 25);
+ this.numericUpDown83.TabIndex = 34;
+
+ //
+ // button_pwd_ok
+ //
+ this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.button1.Location = new System.Drawing.Point(416, 189);
+ this.button1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.button1.Name = "button_pwd_ok";
+ this.button1.Size = new System.Drawing.Size(124, 32);
+ this.button1.TabIndex = 35;
+ this.button1.Text = "应用";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+
+ //
+ // label_tips
+ //
+ this.label_tips.AutoSize = true;
+ this.label_tips.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label_tips.Location = new System.Drawing.Point(611, 198);
+ this.label_tips.Name = "label_tips";
+ this.label_tips.Size = new System.Drawing.Size(248, 18);
+ this.label_tips.TabIndex = 36;
+ this.label_tips.Text = "若要保存参数请返回上一层点击保存";
+ //
+ // Camera_glue
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(936, 230);
+ this.Controls.Add(this.numericUpDown82);
+ this.Controls.Add(this.numericUpDown83);
+ this.Controls.Add(this.numericUpDown81);
+ this.Controls.Add(this.label8);
+ this.Controls.Add(this.numericUpDown72);
+ this.Controls.Add(this.numericUpDown73);
+ this.Controls.Add(this.numericUpDown71);
+ this.Controls.Add(this.label7);
+ this.Controls.Add(this.numericUpDown62);
+ this.Controls.Add(this.numericUpDown63);
+ this.Controls.Add(this.numericUpDown61);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.numericUpDown52);
+ this.Controls.Add(this.numericUpDown53);
+ this.Controls.Add(this.numericUpDown51);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.label_tips);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.numericUpDown42);
+ this.Controls.Add(this.numericUpDown43);
+ this.Controls.Add(this.numericUpDown41);
+ this.Controls.Add(this.numericUpDown32);
+ this.Controls.Add(this.numericUpDown33);
+ this.Controls.Add(this.numericUpDown12);
+ this.Controls.Add(this.numericUpDown13);
+ this.Controls.Add(this.numericUpDown21);
+ this.Controls.Add(this.numericUpDown22);
+ this.Controls.Add(this.numericUpDown23);
+ this.Controls.Add(this.numericUpDown31);
+ this.Controls.Add(this.numericUpDown11);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.label_pic3);
+ this.Controls.Add(this.label_pic2);
+ this.Controls.Add(this.label_pic1);
+ this.Margin = new System.Windows.Forms.Padding(4);
+ this.Name = "Camera_glue";
+ this.Text = "配方设置";
+ this.Load += new System.EventHandler(this.Camera_glue_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown31)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown23)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown22)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown21)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown33)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown32)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown41)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown43)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown42)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown52)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown53)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown51)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown62)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown63)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown61)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown72)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown73)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown71)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown82)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown83)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown81)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label_pic1;
+ private System.Windows.Forms.Label label_pic2;
+ private System.Windows.Forms.Label label_pic3;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.NumericUpDown numericUpDown11;
+ private System.Windows.Forms.NumericUpDown numericUpDown31;
+ private System.Windows.Forms.NumericUpDown numericUpDown23;
+ private System.Windows.Forms.NumericUpDown numericUpDown22;
+ private System.Windows.Forms.NumericUpDown numericUpDown21;
+ private System.Windows.Forms.NumericUpDown numericUpDown13;
+ private System.Windows.Forms.NumericUpDown numericUpDown12;
+ private System.Windows.Forms.NumericUpDown numericUpDown33;
+ private System.Windows.Forms.NumericUpDown numericUpDown32;
+ private System.Windows.Forms.NumericUpDown numericUpDown41;
+ private System.Windows.Forms.NumericUpDown numericUpDown43;
+ private System.Windows.Forms.NumericUpDown numericUpDown42;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Label label_tips;
+ private System.Windows.Forms.NumericUpDown numericUpDown52;
+ private System.Windows.Forms.NumericUpDown numericUpDown53;
+ private System.Windows.Forms.NumericUpDown numericUpDown51;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.NumericUpDown numericUpDown62;
+ private System.Windows.Forms.NumericUpDown numericUpDown63;
+ private System.Windows.Forms.NumericUpDown numericUpDown61;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.NumericUpDown numericUpDown72;
+ private System.Windows.Forms.NumericUpDown numericUpDown73;
+ private System.Windows.Forms.NumericUpDown numericUpDown71;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.NumericUpDown numericUpDown82;
+ private System.Windows.Forms.NumericUpDown numericUpDown83;
+ private System.Windows.Forms.NumericUpDown numericUpDown81;
+ private System.Windows.Forms.Label label8;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/Camera_glue.cs b/WindowsFormsApp2/Camera_glue.cs
new file mode 100644
index 0000000..202a898
--- /dev/null
+++ b/WindowsFormsApp2/Camera_glue.cs
@@ -0,0 +1,95 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ public partial class Camera_glue : Form
+ {
+ public Camera_glue()
+ {
+ InitializeComponent();
+ }
+
+ private void Camera_glue_Load(object sender, EventArgs e)
+ {
+ this.numericUpDown11.Value = DialogSetup.cam_setting.Cameraglue[0].shoot[0];
+ this.numericUpDown12.Value = DialogSetup.cam_setting.Cameraglue[0].shoot[1];
+ this.numericUpDown13.Value = DialogSetup.cam_setting.Cameraglue[0].shoot[2];
+
+ this.numericUpDown21.Value = DialogSetup.cam_setting.Cameraglue[1].shoot[0];
+ this.numericUpDown22.Value = DialogSetup.cam_setting.Cameraglue[1].shoot[1];
+ this.numericUpDown23.Value = DialogSetup.cam_setting.Cameraglue[1].shoot[2];
+
+ this.numericUpDown31.Value = DialogSetup.cam_setting.Cameraglue[2].shoot[0];
+ this.numericUpDown32.Value = DialogSetup.cam_setting.Cameraglue[2].shoot[1];
+ this.numericUpDown33.Value = DialogSetup.cam_setting.Cameraglue[2].shoot[2];
+
+ this.numericUpDown41.Value = DialogSetup.cam_setting.Cameraglue[3].shoot[0];
+ this.numericUpDown42.Value = DialogSetup.cam_setting.Cameraglue[3].shoot[1];
+ this.numericUpDown43.Value = DialogSetup.cam_setting.Cameraglue[3].shoot[2];
+
+ this.numericUpDown51.Value = DialogSetup.cam_setting.Cameraglue[4].shoot[0];
+ this.numericUpDown52.Value = DialogSetup.cam_setting.Cameraglue[4].shoot[1];
+ this.numericUpDown53.Value = DialogSetup.cam_setting.Cameraglue[4].shoot[2];
+
+ this.numericUpDown61.Value = DialogSetup.cam_setting.Cameraglue[5].shoot[0];
+ this.numericUpDown62.Value = DialogSetup.cam_setting.Cameraglue[5].shoot[1];
+ this.numericUpDown63.Value = DialogSetup.cam_setting.Cameraglue[5].shoot[2];
+
+ this.numericUpDown71.Value = DialogSetup.cam_setting.Cameraglue[6].shoot[0];
+ this.numericUpDown72.Value = DialogSetup.cam_setting.Cameraglue[6].shoot[1];
+ this.numericUpDown73.Value = DialogSetup.cam_setting.Cameraglue[6].shoot[2];
+
+ this.numericUpDown81.Value = DialogSetup.cam_setting.Cameraglue[7].shoot[0];
+ this.numericUpDown82.Value = DialogSetup.cam_setting.Cameraglue[7].shoot[1];
+ this.numericUpDown83.Value = DialogSetup.cam_setting.Cameraglue[7].shoot[2];
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ DialogSetup.cam_setting.Cameraglue[0].shoot[0] = Convert.ToInt32(this.numericUpDown11.Value);
+ DialogSetup.cam_setting.Cameraglue[0].shoot[1] = Convert.ToInt32(this.numericUpDown12.Value);
+ DialogSetup.cam_setting.Cameraglue[0].shoot[2] = Convert.ToInt32(this.numericUpDown13.Value);
+
+ DialogSetup.cam_setting.Cameraglue[1].shoot[0] = Convert.ToInt32(this.numericUpDown21.Value);
+ DialogSetup.cam_setting.Cameraglue[1].shoot[1] = Convert.ToInt32(this.numericUpDown22.Value);
+ DialogSetup.cam_setting.Cameraglue[1].shoot[2] = Convert.ToInt32(this.numericUpDown23.Value);
+
+ DialogSetup.cam_setting.Cameraglue[2].shoot[0] = Convert.ToInt32(this.numericUpDown31.Value);
+ DialogSetup.cam_setting.Cameraglue[2].shoot[1] = Convert.ToInt32(this.numericUpDown32.Value);
+ DialogSetup.cam_setting.Cameraglue[2].shoot[2] = Convert.ToInt32(this.numericUpDown33.Value);
+
+ DialogSetup.cam_setting.Cameraglue[3].shoot[0] = Convert.ToInt32(this.numericUpDown41.Value);
+ DialogSetup.cam_setting.Cameraglue[3].shoot[1] = Convert.ToInt32(this.numericUpDown42.Value);
+ DialogSetup.cam_setting.Cameraglue[3].shoot[2] = Convert.ToInt32(this.numericUpDown43.Value);
+
+ DialogSetup.cam_setting.Cameraglue[4].shoot[0] = Convert.ToInt32(this.numericUpDown51.Value);
+ DialogSetup.cam_setting.Cameraglue[4].shoot[1] = Convert.ToInt32(this.numericUpDown52.Value);
+ DialogSetup.cam_setting.Cameraglue[4].shoot[2] = Convert.ToInt32(this.numericUpDown53.Value);
+
+ DialogSetup.cam_setting.Cameraglue[5].shoot[0] = Convert.ToInt32(this.numericUpDown61.Value);
+ DialogSetup.cam_setting.Cameraglue[5].shoot[1] = Convert.ToInt32(this.numericUpDown62.Value);
+ DialogSetup.cam_setting.Cameraglue[5].shoot[2] = Convert.ToInt32(this.numericUpDown63.Value);
+
+ DialogSetup.cam_setting.Cameraglue[6].shoot[0] = Convert.ToInt32(this.numericUpDown71.Value);
+ DialogSetup.cam_setting.Cameraglue[6].shoot[1] = Convert.ToInt32(this.numericUpDown72.Value);
+ DialogSetup.cam_setting.Cameraglue[6].shoot[2] = Convert.ToInt32(this.numericUpDown73.Value);
+
+ DialogSetup.cam_setting.Cameraglue[7].shoot[0] = Convert.ToInt32(this.numericUpDown81.Value);
+ DialogSetup.cam_setting.Cameraglue[7].shoot[1] = Convert.ToInt32(this.numericUpDown82.Value);
+ DialogSetup.cam_setting.Cameraglue[7].shoot[2] = Convert.ToInt32(this.numericUpDown83.Value);
+
+ ///
+ this.Close();
+ MessageBox.Show("请点击‘保存参数’按钮,进行保存设置", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly);
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Camera_glue.resx b/WindowsFormsApp2/Camera_glue.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/Camera_glue.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Change_shift.Designer.cs b/WindowsFormsApp2/Change_shift.Designer.cs
new file mode 100644
index 0000000..dfe000b
--- /dev/null
+++ b/WindowsFormsApp2/Change_shift.Designer.cs
@@ -0,0 +1,308 @@
+namespace WindowsFormsApp2
+{
+ partial class Change_shift
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.numericUpDown_A_hour = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown_A_minute = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown_B_minute = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown_B_hour = new System.Windows.Forms.NumericUpDown();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.numericUpDown_C_minute = new System.Windows.Forms.NumericUpDown();
+ this.numericUpDown_C_hour = new System.Windows.Forms.NumericUpDown();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.button_apply = new System.Windows.Forms.Button();
+ this.label10 = new System.Windows.Forms.Label();
+ this.radioButton_byhand = new System.Windows.Forms.RadioButton();
+ this.radioButton_time = new System.Windows.Forms.RadioButton();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_A_hour)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_A_minute)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_B_minute)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_B_hour)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_C_minute)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_C_hour)).BeginInit();
+ this.SuspendLayout();
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(43, 99);
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(30, 15);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "A班";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(159, 99);
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(22, 15);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "点";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(250, 98);
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(22, 15);
+ this.label3.TabIndex = 2;
+ this.label3.Text = "分";
+ //
+ // numericUpDown_A_hour
+ //
+ this.numericUpDown_A_hour.Location = new System.Drawing.Point(101, 95);
+ this.numericUpDown_A_hour.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_A_hour.Name = "numericUpDown_A_hour";
+ this.numericUpDown_A_hour.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_A_hour.TabIndex = 3;
+ //
+ // numericUpDown_A_minute
+ //
+ this.numericUpDown_A_minute.Location = new System.Drawing.Point(188, 96);
+ this.numericUpDown_A_minute.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_A_minute.Name = "numericUpDown_A_minute";
+ this.numericUpDown_A_minute.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_A_minute.TabIndex = 4;
+ //
+ // numericUpDown_B_minute
+ //
+ this.numericUpDown_B_minute.Location = new System.Drawing.Point(188, 149);
+ this.numericUpDown_B_minute.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_B_minute.Name = "numericUpDown_B_minute";
+ this.numericUpDown_B_minute.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_B_minute.TabIndex = 9;
+ //
+ // numericUpDown_B_hour
+ //
+ this.numericUpDown_B_hour.Location = new System.Drawing.Point(101, 148);
+ this.numericUpDown_B_hour.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_B_hour.Name = "numericUpDown_B_hour";
+ this.numericUpDown_B_hour.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_B_hour.TabIndex = 8;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(250, 150);
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(22, 15);
+ this.label4.TabIndex = 7;
+ this.label4.Text = "分";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(159, 152);
+ this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(22, 15);
+ this.label5.TabIndex = 6;
+ this.label5.Text = "点";
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(43, 152);
+ this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(30, 15);
+ this.label6.TabIndex = 5;
+ this.label6.Text = "B班";
+ //
+ // numericUpDown_C_minute
+ //
+ this.numericUpDown_C_minute.Location = new System.Drawing.Point(188, 199);
+ this.numericUpDown_C_minute.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_C_minute.Name = "numericUpDown_C_minute";
+ this.numericUpDown_C_minute.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_C_minute.TabIndex = 14;
+ //
+ // numericUpDown_C_hour
+ //
+ this.numericUpDown_C_hour.Location = new System.Drawing.Point(101, 197);
+ this.numericUpDown_C_hour.Margin = new System.Windows.Forms.Padding(4);
+ this.numericUpDown_C_hour.Name = "numericUpDown_C_hour";
+ this.numericUpDown_C_hour.Size = new System.Drawing.Size(57, 25);
+ this.numericUpDown_C_hour.TabIndex = 13;
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(250, 201);
+ this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(22, 15);
+ this.label7.TabIndex = 12;
+ this.label7.Text = "分";
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(159, 201);
+ this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(22, 15);
+ this.label8.TabIndex = 11;
+ this.label8.Text = "点";
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(43, 201);
+ this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(30, 15);
+ this.label9.TabIndex = 10;
+ this.label9.Text = "C班";
+ //
+ // button_apply
+ //
+ this.button_apply.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.button_apply.Location = new System.Drawing.Point(105, 267);
+ this.button_apply.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.button_apply.Name = "button_apply";
+ this.button_apply.Size = new System.Drawing.Size(109, 30);
+ this.button_apply.TabIndex = 15;
+ this.button_apply.Text = "应用";
+ this.button_apply.UseVisualStyleBackColor = true;
+ this.button_apply.Click += new System.EventHandler(this.button_apply_Click);
+ //
+ // label10
+ //
+ this.label10.AutoSize = true;
+ this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label10.Location = new System.Drawing.Point(40, 238);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(248, 18);
+ this.label10.TabIndex = 21;
+ this.label10.Text = "若要保存参数请返回上一层点击保存";
+ //
+ // radioButton_byhand
+ //
+ this.radioButton_byhand.AutoSize = true;
+ this.radioButton_byhand.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.radioButton_byhand.Location = new System.Drawing.Point(43, 36);
+ this.radioButton_byhand.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.radioButton_byhand.Name = "radioButton_byhand";
+ this.radioButton_byhand.Size = new System.Drawing.Size(99, 28);
+ this.radioButton_byhand.TabIndex = 22;
+ this.radioButton_time.TabStop = true;
+ this.radioButton_byhand.Text = "手动换班";
+ this.radioButton_byhand.UseVisualStyleBackColor = true;
+ this.radioButton_byhand.CheckedChanged += new System.EventHandler(this.radioButton_byhand_CheckedChanged);
+ //
+ // radioButton_time
+ //
+ this.radioButton_time.AutoSize = true;
+ this.radioButton_time.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.radioButton_time.Location = new System.Drawing.Point(189, 36);
+ this.radioButton_time.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.radioButton_time.Name = "radioButton_time";
+ this.radioButton_time.Size = new System.Drawing.Size(99, 28);
+ this.radioButton_time.TabIndex = 23;
+ this.radioButton_time.TabStop = true;
+ this.radioButton_time.Text = "定时换班";
+ this.radioButton_time.UseVisualStyleBackColor = true;
+ this.radioButton_time.CheckedChanged += new System.EventHandler(this.radioButton_time_CheckedChanged);
+ //
+ // Change_shift
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(325, 319);
+ this.Controls.Add(this.radioButton_time);
+ this.Controls.Add(this.radioButton_byhand);
+ this.Controls.Add(this.label10);
+ this.Controls.Add(this.button_apply);
+ this.Controls.Add(this.numericUpDown_C_minute);
+ this.Controls.Add(this.numericUpDown_C_hour);
+ this.Controls.Add(this.label7);
+ this.Controls.Add(this.label8);
+ this.Controls.Add(this.label9);
+ this.Controls.Add(this.numericUpDown_B_minute);
+ this.Controls.Add(this.numericUpDown_B_hour);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.numericUpDown_A_minute);
+ this.Controls.Add(this.numericUpDown_A_hour);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Margin = new System.Windows.Forms.Padding(4);
+ this.Name = "Change_shift";
+ this.Text = "换班设置";
+ this.Load += new System.EventHandler(this.Change_shift_Load);
+
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_A_hour)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_A_minute)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_B_minute)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_B_hour)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_C_minute)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_C_hour)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.NumericUpDown numericUpDown_A_hour;
+ private System.Windows.Forms.NumericUpDown numericUpDown_A_minute;
+ private System.Windows.Forms.NumericUpDown numericUpDown_B_minute;
+ private System.Windows.Forms.NumericUpDown numericUpDown_B_hour;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.NumericUpDown numericUpDown_C_minute;
+ private System.Windows.Forms.NumericUpDown numericUpDown_C_hour;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Button button_apply;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.RadioButton radioButton_byhand;
+ private System.Windows.Forms.RadioButton radioButton_time;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/Change_shift.cs b/WindowsFormsApp2/Change_shift.cs
new file mode 100644
index 0000000..c9795dc
--- /dev/null
+++ b/WindowsFormsApp2/Change_shift.cs
@@ -0,0 +1,102 @@
+using System;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ public partial class Change_shift : Form
+ {
+ public static Setting cam_setting = new Setting();
+
+ public Change_shift()
+ {
+ InitializeComponent();
+ if (DialogSetup.cam_setting.changeshift.shift_byhand == 1)
+ {
+ this.radioButton_byhand.Checked = true;
+ this.radioButton_time.Checked = false;
+ }
+ else if (DialogSetup.cam_setting.changeshift.shift_time == 1)
+ {
+ this.radioButton_time.Checked = true;
+ this.radioButton_byhand.Checked = false;
+ }
+ }
+
+ private void Change_shift_Load(object sender, EventArgs e)
+ {
+ //if (DialogSetup.cam_setting.changeshift.shift_byhand == 1)
+ //{
+ // this.radioButton_byhand.Checked = true;
+ // this.radioButton_time.Checked = false;
+ //}
+ //else if (DialogSetup.cam_setting.changeshift.shift_time == 1)
+ //{
+ // this.radioButton_time.Checked = true;
+ // this.radioButton_byhand.Checked = false;
+ //}
+ this.radioButton_byhand.Checked = DialogSetup.cam_setting.changeshift.shift_byhand == 1 ? true: false;
+ this.radioButton_time.Checked = DialogSetup.cam_setting.changeshift.shift_time == 1 ? true : false;
+
+ this.numericUpDown_A_hour.Value = DialogSetup.cam_setting.changeshift.Ah;
+ this.numericUpDown_A_minute.Value = DialogSetup.cam_setting.changeshift.Am;
+ this.numericUpDown_B_hour.Value = DialogSetup.cam_setting.changeshift.Bh;
+ this.numericUpDown_B_minute.Value = DialogSetup.cam_setting.changeshift.Bm;
+ this.numericUpDown_C_hour.Value = DialogSetup.cam_setting.changeshift.Ch;
+ this.numericUpDown_C_minute.Value = DialogSetup.cam_setting.changeshift.Cm;
+
+
+ }
+
+ private void button_apply_Click(object sender, EventArgs e)
+ {
+ if (this.radioButton_time.Checked) {
+ DialogSetup.cam_setting.changeshift.shift_byhand = Convert.ToInt32(this.radioButton_byhand.Checked);
+ DialogSetup.cam_setting.changeshift.shift_time = Convert.ToInt32(this.radioButton_time.Checked);
+ } else if (this.radioButton_byhand.Checked) {
+ DialogSetup.cam_setting.changeshift.shift_byhand = Convert.ToInt32(this.radioButton_byhand.Checked);
+ DialogSetup.cam_setting.changeshift.shift_time = Convert.ToInt32(this.radioButton_time.Checked);
+ }
+ DialogSetup.cam_setting.changeshift.Ah = Convert.ToInt32(this.numericUpDown_A_hour.Value);
+ DialogSetup.cam_setting.changeshift.Am = Convert.ToInt32(this.numericUpDown_A_minute.Value);
+ DialogSetup.cam_setting.changeshift.Bh = Convert.ToInt32(this.numericUpDown_B_hour.Value);
+ DialogSetup.cam_setting.changeshift.Bm = Convert.ToInt32(this.numericUpDown_B_minute.Value);
+ DialogSetup.cam_setting.changeshift.Ch = Convert.ToInt32(this.numericUpDown_C_hour.Value);
+ DialogSetup.cam_setting.changeshift.Cm = Convert.ToInt32(this.numericUpDown_C_minute.Value);
+ ///
+
+ MessageBox.Show("请点击‘保存参数’按钮,进行保存设置", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification);
+ this.Close();
+ }
+
+ private void radioButton_byhand_CheckedChanged(object sender, EventArgs e)
+ {
+ /// 选择“手动换班”按钮 -> A/B/C三班时间清0
+ ///
+ if (this.radioButton_byhand.Checked) {
+ DialogSetup.cam_setting.changeshift.shift_byhand = Convert.ToInt32(this.radioButton_byhand.Checked);
+ DialogSetup.cam_setting.changeshift.shift_time = Convert.ToInt32(this.radioButton_time.Checked);
+ }
+
+ DialogSetup.cam_setting.changeshift.Ah = Convert.ToInt32(this.numericUpDown_A_hour.Minimum);
+ DialogSetup.cam_setting.changeshift.Am = Convert.ToInt32(this.numericUpDown_A_minute.Minimum);
+ DialogSetup.cam_setting.changeshift.Bh = Convert.ToInt32(this.numericUpDown_B_hour.Minimum);
+ DialogSetup.cam_setting.changeshift.Bm = Convert.ToInt32(this.numericUpDown_B_minute.Minimum);
+ DialogSetup.cam_setting.changeshift.Ch = Convert.ToInt32(this.numericUpDown_C_hour.Minimum);
+ DialogSetup.cam_setting.changeshift.Cm = Convert.ToInt32(this.numericUpDown_C_minute.Minimum);
+ //this.Close();
+ //MessageBox.Show("请点击‘保存参数’按钮,进行保存设置", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification);
+ }
+
+ private void radioButton_time_CheckedChanged(object sender, EventArgs e)
+ { /// 定时换班
+ if (this.radioButton_time.Checked)
+ {
+ DialogSetup.cam_setting.changeshift.shift_byhand = Convert.ToInt32(this.radioButton_byhand.Checked);
+ DialogSetup.cam_setting.changeshift.shift_time = Convert.ToInt32(this.radioButton_time.Checked);
+ }
+ //DialogSetup.cam_setting.changeshift.shift_time = 1;
+ //DialogSetup.cam_setting.changeshift.shift_byhand = 0;
+
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Change_shift.resx b/WindowsFormsApp2/Change_shift.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/Change_shift.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Client.cs b/WindowsFormsApp2/Client.cs
new file mode 100644
index 0000000..27b8164
--- /dev/null
+++ b/WindowsFormsApp2/Client.cs
@@ -0,0 +1,364 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Drawing;
+using System.Drawing.Imaging;
+using System.IO;
+using System.Net;
+using System.Net.Sockets;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Threading;
+using System.Windows.Forms;
+using System.Linq;
+namespace WindowsFormsApp2
+{
+ public delegate void callback(string msg);
+
+ public class Client
+ {
+ //显示端
+ //显示端
+ public static byte[] clientIP = new byte[] { 192, 168, 31, 243 };
+ public static byte[] localIP = new byte[] { 192, 168, 31, 226 };
+
+ public static int dataPort = 2999;
+ public static int imagePort = 3999;
+
+
+ //图像大小
+ int w = 80, h = 60;
+
+ static Client()
+ {
+ for (int i = 1; i < 16; i++)
+ {
+ //license(dataPort + i);
+ //license(imagePort + i);
+ }
+ }
+
+ public Client()
+ {
+
+ }
+
+ public void DisConnection()
+ {
+ try
+ {
+ if (u != null)
+ {
+ m_Done = true;
+ if (recvThread != null)
+ {
+ this.recvThread.Abort();
+ }
+ if (recvThreadImage != null)
+ {
+ this.recvThreadImage.Abort();
+ }
+ u.Close();
+ u = null;
+ }
+ if (uimage != null)
+ uimage.Close();
+ }
+ catch (Exception)
+ {
+
+ }
+ }
+ private static void license(int port)
+ {
+ Process p = new Process();
+ p.StartInfo.FileName = "cmd.exe";
+ p.StartInfo.UseShellExecute = false;
+ p.StartInfo.RedirectStandardError = true;
+ p.StartInfo.RedirectStandardInput = true;
+ p.StartInfo.RedirectStandardOutput = true;
+ p.StartInfo.CreateNoWindow = true;
+ List list_pid = GetPidByPort(p, port);
+ if (list_pid.Count == 0)
+ {
+ return;
+ }
+ List list_process = GetProcessNameByPid(p, list_pid);
+ StringBuilder sb = new StringBuilder();
+ sb.AppendLine("占用" + port + "端口的进程有:");
+ foreach (var item in list_process)
+ {
+ sb.Append(item + "\r\n");
+ }
+ sb.AppendLine("是否要结束这些进程?");
+ PidKill(p, list_pid);
+
+ }
+
+ private static void PidKill(Process p, List list_pid)
+ {
+ p.Start();
+ foreach (var item in list_pid)
+ {
+ p.StandardInput.WriteLine("taskkill /pid " + item + " /f");
+ p.StandardInput.WriteLine("exit");
+ }
+ p.Close();
+ }
+
+ private static List GetPidByPort(Process p, int port)
+ {
+ int result;
+ bool b = true;
+ p.Start();
+ p.StandardInput.WriteLine(string.Format("netstat -ano|find \"{0}\"", port));
+ p.StandardInput.WriteLine("exit");
+ StreamReader reader = p.StandardOutput;
+ string strLine = reader.ReadLine();
+ List list_pid = new List();
+ while (!reader.EndOfStream)
+ {
+ strLine = strLine.Trim();
+ if (strLine.Length > 0 && ((strLine.Contains("TCP") || strLine.Contains("UDP"))))
+ {
+ Regex r = new Regex(@"\s+");
+ string[] strArr = r.Split(strLine);
+ if (strArr.Length >= 4)
+ {
+ b = int.TryParse(strArr[3], out result);
+ if (b && !list_pid.Contains(result))
+ list_pid.Add(result);
+ }
+ }
+ strLine = reader.ReadLine();
+ }
+ p.WaitForExit();
+ reader.Close();
+ p.Close();
+ return list_pid;
+ }
+
+ private static List GetProcessNameByPid(Process p, List list_pid)
+ {
+ p.Start();
+ List list_process = new List();
+ foreach (var pid in list_pid)
+ {
+ p.StandardInput.WriteLine(string.Format("tasklist |find \"{0}\"", pid));
+ p.StandardInput.WriteLine("exit");
+ StreamReader reader = p.StandardOutput;//截取输出流
+ string strLine = reader.ReadLine();//每次读取一行
+
+ while (!reader.EndOfStream)
+ {
+ strLine = strLine.Trim();
+ if (strLine.Length > 0 && ((strLine.Contains(".exe"))))
+ {
+ Regex r = new Regex(@"\s+");
+ string[] strArr = r.Split(strLine);
+ if (strArr.Length > 0)
+ {
+ list_process.Add(strArr[0]);
+ }
+ }
+ strLine = reader.ReadLine();
+ }
+ p.WaitForExit();
+ reader.Close();
+ }
+ p.Close();
+
+ return list_process;
+ }
+
+
+ private int _bindCamId;
+
+
+ UdpClient u=null;
+ IPEndPoint e;
+
+ UdpClient uimage = null;
+ IPEndPoint eimage;
+ public void bindCamId(int id)
+ {
+ _bindCamId = id;
+ try
+ {
+ e = new IPEndPoint(new IPAddress(localIP), dataPort + _bindCamId);
+ u = new UdpClient(e);
+
+
+ recvThread = new Thread(new ThreadStart(Received));
+ recvThread.Priority = ThreadPriority.Normal;
+ recvThread.Start();
+ }
+ catch
+ {
+
+ }
+ try
+ {
+ eimage = new IPEndPoint(new IPAddress(localIP), imagePort + _bindCamId);
+ uimage = new UdpClient(eimage);
+ recvThreadImage = new Thread(new ThreadStart(ReceivedImage));
+ recvThreadImage.Priority = ThreadPriority.Normal;
+ recvThreadImage.Start();
+ }
+ catch
+ {
+
+ }
+ }
+
+ private Action t;
+ private Action imageCall;
+ private Action j;
+ private Action o;
+ private Action n;
+ private Action speed;
+ private Action kick;
+ private Action total;
+
+ public void InitLicenseData(Action t, Action j, Action o, Action n, Action speed
+ , Action kick, Action total)
+ {
+ try
+ {
+ this.t = t;
+ this.j = j;
+ this.o = o;
+ this.n = n;
+ this.speed = speed;
+ this.kick = kick;
+ this.total = total;
+ }
+ catch (Exception ex)
+ {
+ System.Diagnostics.Debug.Write("端口号占用" + ex.ToString());
+ return;
+ }
+ }
+
+ public void InitLicenseData(Action t)
+ {
+ try
+ {
+ this.t = t;
+ }
+ catch (Exception ex)
+ {
+ System.Diagnostics.Debug.Write("端口号占用" + ex.ToString());
+ return;
+ }
+ }
+
+ public void InitLicenseImage(Action total)
+ {
+ try
+ {
+ this.imageCall = total;
+ }
+ catch (Exception ex)
+ {
+ System.Diagnostics.Debug.Write("端口号占用" + ex.ToString());
+ return;
+ }
+ }
+
+ bool m_Done = false;
+
+ public Thread recvThread = null;
+
+ public Thread recvThreadImage = null;
+
+ private void Received()
+ {
+ //ASCII 编码
+ Encoding ASCII = Encoding.ASCII;
+ while (!m_Done)
+ {
+ IPEndPoint endpoint = null;
+ if (u != null && null != recvThread && recvThread.IsAlive)
+ {
+ //接收数据
+ try
+ {
+ Byte[] data = u.Receive(ref endpoint);
+ //得到数据的ACSII的字符串形式
+ String receiveString = ASCII.GetString(data);
+ if (t!=null)
+ t(receiveString);
+
+ }
+ catch
+ {
+ //SOCKETEventArrive("receive:Nullerror");
+ }
+ }
+ Thread.Sleep(10); //防止系统资源耗尽
+ }
+ }
+
+ private void GenImage(byte[] data, out Bitmap bmp)
+ {
+ lock (this)
+ {
+
+ bmp = new Bitmap(w, h);
+ try
+ {
+ lock (this)
+ {
+ IntPtr pData = Marshal.AllocHGlobal(w * h * 3);
+ Marshal.Copy(data, 0, pData, w * h * 3);
+ bmp = new Bitmap(w, h, w * 3, PixelFormat.Format24bppRgb, pData);
+ }
+ }
+ catch (Exception)
+ {
+
+ }
+ }
+ }
+
+ private void ReceivedImage()
+ {
+ //Thread.Sleep(2000);
+ //ASCII 编码
+ Encoding ASCII = Encoding.ASCII;
+ //Thread.Sleep(30); //防止系统资源耗尽
+
+ while (!m_Done)
+ {
+ IPEndPoint endpoint = null;
+ if (u != null && null != recvThread && recvThread.IsAlive)
+ {
+ try
+ {
+ Byte[] receiveBytes = uimage.Receive(ref endpoint);
+ {
+ //Bitmap bm;
+ //GenImage(receiveBytes.Skip(1).Take(receiveBytes.Length - 1).ToArray(), out bm);
+ //imageCall(receiveBytes[0],bm);
+
+ IntPtr pData = Marshal.AllocHGlobal(w * h * 3);
+ Marshal.Copy(receiveBytes.Skip(1).Take(receiveBytes.Length - 1).ToArray(), 0, pData, w * h * 3);
+ using (Bitmap bm = new Bitmap(w, h, w * 3, PixelFormat.Format24bppRgb, pData))
+ {
+ imageCall(receiveBytes[0], bm);
+ }
+ Marshal.FreeHGlobal(pData); //free tha memory
+ }
+ }
+ catch
+ {
+ //SOCKETEventArrive("receive:Nullerror");
+ }
+ }
+ Thread.Sleep(10); //防止系统资源耗尽
+ }
+ }
+ }
+}
diff --git a/WindowsFormsApp2/DialogLogin.Designer.cs b/WindowsFormsApp2/DialogLogin.Designer.cs
new file mode 100644
index 0000000..498c541
--- /dev/null
+++ b/WindowsFormsApp2/DialogLogin.Designer.cs
@@ -0,0 +1,240 @@
+namespace WindowsFormsApp2
+{
+ partial class DialogLogin
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.button5 = new System.Windows.Forms.Button();
+ this.button6 = new System.Windows.Forms.Button();
+ this.button7 = new System.Windows.Forms.Button();
+ this.button8 = new System.Windows.Forms.Button();
+ this.button9 = new System.Windows.Forms.Button();
+ this.button10 = new System.Windows.Forms.Button();
+ this.button11 = new System.Windows.Forms.Button();
+ this.button12 = new System.Windows.Forms.Button();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.flowLayoutPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.Controls.Add(this.button1);
+ this.flowLayoutPanel1.Controls.Add(this.button2);
+ this.flowLayoutPanel1.Controls.Add(this.button3);
+ this.flowLayoutPanel1.Controls.Add(this.button4);
+ this.flowLayoutPanel1.Controls.Add(this.button5);
+ this.flowLayoutPanel1.Controls.Add(this.button6);
+ this.flowLayoutPanel1.Controls.Add(this.button7);
+ this.flowLayoutPanel1.Controls.Add(this.button8);
+ this.flowLayoutPanel1.Controls.Add(this.button9);
+ this.flowLayoutPanel1.Controls.Add(this.button10);
+ this.flowLayoutPanel1.Controls.Add(this.button11);
+ this.flowLayoutPanel1.Controls.Add(this.button12);
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(12, 70);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(433, 376);
+ this.flowLayoutPanel1.TabIndex = 0;
+ //
+ // button_pwd_ok
+ //
+ this.button1.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button1.Location = new System.Drawing.Point(3, 3);
+ this.button1.Name = "button_pwd_ok";
+ this.button1.Size = new System.Drawing.Size(130, 87);
+ this.button1.TabIndex = 0;
+ this.button1.Text = "1";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button_op_pwd_ok
+ //
+ this.button2.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.button2.Location = new System.Drawing.Point(139, 3);
+ this.button2.Name = "button_op_pwd_ok";
+ this.button2.Size = new System.Drawing.Size(130, 87);
+ this.button2.TabIndex = 1;
+ this.button2.Text = "2";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // button3
+ //
+ this.button3.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button3.Location = new System.Drawing.Point(275, 3);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(130, 87);
+ this.button3.TabIndex = 2;
+ this.button3.Text = "3";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // button4
+ //
+ this.button4.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button4.Location = new System.Drawing.Point(3, 96);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(130, 87);
+ this.button4.TabIndex = 3;
+ this.button4.Text = "4";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // button5
+ //
+ this.button5.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button5.Location = new System.Drawing.Point(139, 96);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(130, 87);
+ this.button5.TabIndex = 4;
+ this.button5.Text = "5";
+ this.button5.UseVisualStyleBackColor = true;
+ this.button5.Click += new System.EventHandler(this.button5_Click);
+ //
+ // button6
+ //
+ this.button6.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button6.Location = new System.Drawing.Point(275, 96);
+ this.button6.Name = "button6";
+ this.button6.Size = new System.Drawing.Size(130, 87);
+ this.button6.TabIndex = 5;
+ this.button6.Text = "6";
+ this.button6.UseVisualStyleBackColor = true;
+ this.button6.Click += new System.EventHandler(this.button6_Click);
+ //
+ // button7
+ //
+ this.button7.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button7.Location = new System.Drawing.Point(3, 189);
+ this.button7.Name = "button7";
+ this.button7.Size = new System.Drawing.Size(130, 87);
+ this.button7.TabIndex = 6;
+ this.button7.Text = "7";
+ this.button7.UseVisualStyleBackColor = true;
+ this.button7.Click += new System.EventHandler(this.button7_Click);
+ //
+ // button8
+ //
+ this.button8.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button8.Location = new System.Drawing.Point(139, 189);
+ this.button8.Name = "button8";
+ this.button8.Size = new System.Drawing.Size(130, 87);
+ this.button8.TabIndex = 7;
+ this.button8.Text = "8";
+ this.button8.UseVisualStyleBackColor = true;
+ this.button8.Click += new System.EventHandler(this.button8_Click);
+ //
+ // button9
+ //
+ this.button9.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button9.Location = new System.Drawing.Point(275, 189);
+ this.button9.Name = "button9";
+ this.button9.Size = new System.Drawing.Size(130, 87);
+ this.button9.TabIndex = 8;
+ this.button9.Text = "9";
+ this.button9.UseVisualStyleBackColor = true;
+ this.button9.Click += new System.EventHandler(this.button9_Click);
+ //
+ // button10
+ //
+ this.button10.Font = new System.Drawing.Font("宋体", 40F, System.Drawing.FontStyle.Bold);
+ this.button10.Location = new System.Drawing.Point(3, 282);
+ this.button10.Name = "button10";
+ this.button10.Size = new System.Drawing.Size(130, 87);
+ this.button10.TabIndex = 9;
+ this.button10.Text = "CLR";
+ this.button10.UseVisualStyleBackColor = true;
+ this.button10.Click += new System.EventHandler(this.button10_Click);
+ //
+ // button11
+ //
+ this.button11.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button11.Location = new System.Drawing.Point(139, 282);
+ this.button11.Name = "button11";
+ this.button11.Size = new System.Drawing.Size(130, 87);
+ this.button11.TabIndex = 10;
+ this.button11.Text = "0";
+ this.button11.UseVisualStyleBackColor = true;
+ this.button11.Click += new System.EventHandler(this.button11_Click);
+ //
+ // button12
+ //
+ this.button12.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold);
+ this.button12.Location = new System.Drawing.Point(275, 282);
+ this.button12.Name = "button12";
+ this.button12.Size = new System.Drawing.Size(130, 87);
+ this.button12.TabIndex = 11;
+ this.button12.Text = "OK";
+ this.button12.UseVisualStyleBackColor = true;
+ this.button12.Click += new System.EventHandler(this.button12_Click);
+ //
+ // textBox_old_pwd
+ //
+ this.textBox1.Font = new System.Drawing.Font("宋体", 25F, System.Drawing.FontStyle.Bold);
+ this.textBox1.Location = new System.Drawing.Point(12, 12);
+ this.textBox1.Name = "textBox_old_pwd";
+ this.textBox1.PasswordChar = '*';
+ this.textBox1.Size = new System.Drawing.Size(405, 46);
+ this.textBox1.TabIndex = 0;
+ //
+ // DialogLogin
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(431, 444);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.flowLayoutPanel1);
+ this.Name = "DialogLogin";
+ this.Text = "登录";
+ this.flowLayoutPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button5;
+ private System.Windows.Forms.Button button6;
+ private System.Windows.Forms.Button button7;
+ private System.Windows.Forms.Button button8;
+ private System.Windows.Forms.Button button9;
+ private System.Windows.Forms.Button button10;
+ private System.Windows.Forms.Button button11;
+ private System.Windows.Forms.Button button12;
+ }
+}
diff --git a/WindowsFormsApp2/DialogLogin.cs b/WindowsFormsApp2/DialogLogin.cs
new file mode 100644
index 0000000..086a9df
--- /dev/null
+++ b/WindowsFormsApp2/DialogLogin.cs
@@ -0,0 +1,152 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.Net;
+using System.Net.Sockets;
+using System.Threading;
+
+namespace WindowsFormsApp2
+{
+ public partial class DialogLogin : Form
+ {
+ string pwd;
+
+ public static byte[] clientIP = new byte[] { 192, 168, 10, 127 };
+ public static byte[] localIP = new byte[] { 192, 168, 10, 127 };
+ public static int ordPort = 3333;
+ public static int feedPort = 2999;
+ public bool IsAdmin = false;
+ public void SendMsg(string obj)
+ {
+ try
+ {
+ UdpClient udpcSend = new UdpClient(0);
+ byte[] sendbytes = Encoding.UTF8.GetBytes(obj);
+ // IPEndPoint remoteIpep = new IPEndPoint(IPAddress.Parse("192.168.31.243"), 3333);
+ IPEndPoint remoteIpep = new IPEndPoint(new IPAddress(clientIP), ordPort);
+ udpcSend.Send(sendbytes, sendbytes.Length, remoteIpep);
+ udpcSend.Close();
+ }
+ catch
+ {
+ }
+ }
+
+ public DialogLogin()
+ {
+ InitializeComponent();
+ pwd = null;
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "1";
+ else
+ pwd += ('1');
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "2";
+ else
+ pwd += ('2');
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "3";
+ else
+ pwd += ('3');
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "4";
+ else
+ pwd += ('4');
+ }
+
+ private void button5_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "5";
+ else
+ pwd += ('5');
+ }
+
+ private void button6_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "6";
+ else
+ pwd += ('6');
+ }
+
+ private void button7_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "7";
+ else
+ pwd += ('7');
+ }
+
+ private void button8_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "8";
+ else
+ pwd += ('8');
+ }
+
+ private void button9_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "9";
+ else
+ pwd += ('9');
+ }
+
+ private void button11_Click(object sender, EventArgs e)
+ {
+ this.textBox1.AppendText("*");
+ if (pwd == null)
+ pwd = "0";
+ else
+ pwd += ('0');
+ }
+
+ private void button12_Click(object sender, EventArgs e)
+ {
+ string msg;
+ if(IsAdmin)msg = "ADMINLOGIN:" + pwd;
+ else msg = "OPLOGIN:" + pwd;
+ SendMsg(msg);
+ pwd = null;
+ this.Close();
+ }
+
+ private void button10_Click(object sender, EventArgs e)
+ {
+ pwd = null;
+ }
+ }
+}
diff --git a/WindowsFormsApp2/DialogLogin.resx b/WindowsFormsApp2/DialogLogin.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/DialogLogin.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/DialogSetup.Designer.cs b/WindowsFormsApp2/DialogSetup.Designer.cs
new file mode 100644
index 0000000..56ca110
--- /dev/null
+++ b/WindowsFormsApp2/DialogSetup.Designer.cs
@@ -0,0 +1,1220 @@
+namespace WindowsFormsApp2
+{
+ partial class DialogSetup
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.checkBox_auto_work = new System.Windows.Forms.CheckBox();
+ this.checkBox_auto_open = new System.Windows.Forms.CheckBox();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.button_image = new System.Windows.Forms.Button();
+ this.radioButton_save_all = new System.Windows.Forms.RadioButton();
+ this.radioButton_save_ng = new System.Windows.Forms.RadioButton();
+ this.radioButton_none = new System.Windows.Forms.RadioButton();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.textBox_gain_8 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_7 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_6 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_5 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_4 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_3 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_2 = new System.Windows.Forms.TextBox();
+ this.textBox_gain_1 = new System.Windows.Forms.TextBox();
+ this.label_gain8 = new System.Windows.Forms.Label();
+ this.label_gain7 = new System.Windows.Forms.Label();
+ this.label_gain6 = new System.Windows.Forms.Label();
+ this.label_gain5 = new System.Windows.Forms.Label();
+ this.label_gain4 = new System.Windows.Forms.Label();
+ this.label_gain3 = new System.Windows.Forms.Label();
+ this.label_gain2 = new System.Windows.Forms.Label();
+ this.label_gain1 = new System.Windows.Forms.Label();
+ this.textBox_expo_8 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_7 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_6 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_5 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_4 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_3 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_2 = new System.Windows.Forms.TextBox();
+ this.textBox_expo_1 = new System.Windows.Forms.TextBox();
+ this.label_expo8 = new System.Windows.Forms.Label();
+ this.label_expo7 = new System.Windows.Forms.Label();
+ this.label_expo6 = new System.Windows.Forms.Label();
+ this.label_expo5 = new System.Windows.Forms.Label();
+ this.label_expo4 = new System.Windows.Forms.Label();
+ this.label_expo3 = new System.Windows.Forms.Label();
+ this.label_expo2 = new System.Windows.Forms.Label();
+ this.label_expo1 = new System.Windows.Forms.Label();
+ this.groupBox4 = new System.Windows.Forms.GroupBox();
+ this.textBox_confirm_pwd = new System.Windows.Forms.TextBox();
+ this.textBox_new_pwd = new System.Windows.Forms.TextBox();
+ this.textBox_old_pwd = new System.Windows.Forms.TextBox();
+ this.button_pwd_ok = new System.Windows.Forms.Button();
+ this.label_confirm_pwd = new System.Windows.Forms.Label();
+ this.label_new_pwd = new System.Windows.Forms.Label();
+ this.label_old_pwd = new System.Windows.Forms.Label();
+ this.groupBox5 = new System.Windows.Forms.GroupBox();
+ this.textBox6 = new System.Windows.Forms.TextBox();
+ this.textBox_op_new_pwd = new System.Windows.Forms.TextBox();
+ this.textBox_op_old_pwd = new System.Windows.Forms.TextBox();
+ this.button_op_pwd_ok = new System.Windows.Forms.Button();
+ this.label_op_confirm_pwd = new System.Windows.Forms.Label();
+ this.label_op_new_pwd = new System.Windows.Forms.Label();
+ this.label_op_old_pwd = new System.Windows.Forms.Label();
+ this.groupBox6 = new System.Windows.Forms.GroupBox();
+ this.textBox_filter_8 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_7 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_6 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_5 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_4 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_2 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_3 = new System.Windows.Forms.TextBox();
+ this.textBox_filter_1 = new System.Windows.Forms.TextBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.button_config = new System.Windows.Forms.Button();
+ this.button_change = new System.Windows.Forms.Button();
+ this.button_statistic = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.ReSet_Click = new System.Windows.Forms.Button();
+ this.SetConf = new System.Windows.Forms.Button();
+ this.GetConf = new System.Windows.Forms.Button();
+ this.groupBox1.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+ this.groupBox4.SuspendLayout();
+ this.groupBox5.SuspendLayout();
+ this.groupBox6.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.checkBox_auto_work);
+ this.groupBox1.Controls.Add(this.checkBox_auto_open);
+ this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.groupBox1.Location = new System.Drawing.Point(13, 10);
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox1.Size = new System.Drawing.Size(600, 62);
+ this.groupBox1.TabIndex = 0;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "启动设置";
+ this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
+ //
+ // checkBox_auto_work
+ //
+ this.checkBox_auto_work.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.checkBox_auto_work.Location = new System.Drawing.Point(329, 26);
+ this.checkBox_auto_work.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.checkBox_auto_work.Name = "checkBox_auto_work";
+ this.checkBox_auto_work.Size = new System.Drawing.Size(233, 30);
+ this.checkBox_auto_work.TabIndex = 1;
+ this.checkBox_auto_work.Text = "程序启动后自动开始工作";
+ this.checkBox_auto_work.UseVisualStyleBackColor = true;
+ this.checkBox_auto_work.CheckedChanged += new System.EventHandler(this.checkBox_auto_work_CheckedChanged);
+ //
+ // checkBox_auto_open
+ //
+ this.checkBox_auto_open.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.checkBox_auto_open.Location = new System.Drawing.Point(28, 26);
+ this.checkBox_auto_open.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.checkBox_auto_open.Name = "checkBox_auto_open";
+ this.checkBox_auto_open.Size = new System.Drawing.Size(218, 30);
+ this.checkBox_auto_open.TabIndex = 0;
+ this.checkBox_auto_open.Text = "自动打开所有相机";
+ this.checkBox_auto_open.UseVisualStyleBackColor = true;
+ this.checkBox_auto_open.CheckedChanged += new System.EventHandler(this.checkBox_auto_open_CheckedChanged);
+ //
+ // groupBox2
+ //
+ this.groupBox2.Controls.Add(this.button_image);
+ this.groupBox2.Controls.Add(this.radioButton_save_all);
+ this.groupBox2.Controls.Add(this.radioButton_save_ng);
+ this.groupBox2.Controls.Add(this.radioButton_none);
+ this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.groupBox2.Location = new System.Drawing.Point(13, 72);
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox2.Size = new System.Drawing.Size(600, 84);
+ this.groupBox2.TabIndex = 1;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "存图设置";
+ //
+ // button_image
+ //
+ this.button_image.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold);
+ this.button_image.Location = new System.Drawing.Point(492, 27);
+ this.button_image.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_image.Name = "button_image";
+ this.button_image.Size = new System.Drawing.Size(98, 43);
+ this.button_image.TabIndex = 3;
+ this.button_image.Text = "确定";
+ this.button_image.UseVisualStyleBackColor = true;
+ this.button_image.Click += new System.EventHandler(this.button_image_Click);
+ //
+ // radioButton_save_all
+ //
+ this.radioButton_save_all.AutoSize = true;
+ this.radioButton_save_all.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.radioButton_save_all.Location = new System.Drawing.Point(384, 35);
+ this.radioButton_save_all.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.radioButton_save_all.Name = "radioButton_save_all";
+ this.radioButton_save_all.Size = new System.Drawing.Size(65, 28);
+ this.radioButton_save_all.TabIndex = 2;
+ this.radioButton_save_all.TabStop = true;
+ this.radioButton_save_all.Text = "全存";
+ this.radioButton_save_all.UseVisualStyleBackColor = true;
+ this.radioButton_save_all.CheckedChanged += new System.EventHandler(this.radioButton_save_all_CheckedChanged);
+ //
+ // radioButton_save_ng
+ //
+ this.radioButton_save_ng.AutoSize = true;
+ this.radioButton_save_ng.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.radioButton_save_ng.Location = new System.Drawing.Point(207, 35);
+ this.radioButton_save_ng.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.radioButton_save_ng.Name = "radioButton_save_ng";
+ this.radioButton_save_ng.Size = new System.Drawing.Size(75, 28);
+ this.radioButton_save_ng.TabIndex = 1;
+ this.radioButton_save_ng.TabStop = true;
+ this.radioButton_save_ng.Text = "存NG";
+ this.radioButton_save_ng.UseVisualStyleBackColor = true;
+ this.radioButton_save_ng.CheckedChanged += new System.EventHandler(this.radioButton_save_ng_CheckedChanged);
+ //
+ // radioButton_none
+ //
+ this.radioButton_none.AutoSize = true;
+ this.radioButton_none.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.radioButton_none.Location = new System.Drawing.Point(25, 35);
+ this.radioButton_none.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.radioButton_none.Name = "radioButton_none";
+ this.radioButton_none.Size = new System.Drawing.Size(65, 28);
+ this.radioButton_none.TabIndex = 0;
+ this.radioButton_none.TabStop = true;
+ this.radioButton_none.Text = "不存";
+ this.radioButton_none.UseVisualStyleBackColor = true;
+ this.radioButton_none.CheckedChanged += new System.EventHandler(this.radioButton_none_CheckedChanged);
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.textBox_gain_8);
+ this.groupBox3.Controls.Add(this.textBox_gain_7);
+ this.groupBox3.Controls.Add(this.textBox_gain_6);
+ this.groupBox3.Controls.Add(this.textBox_gain_5);
+ this.groupBox3.Controls.Add(this.textBox_gain_4);
+ this.groupBox3.Controls.Add(this.textBox_gain_3);
+ this.groupBox3.Controls.Add(this.textBox_gain_2);
+ this.groupBox3.Controls.Add(this.textBox_gain_1);
+ this.groupBox3.Controls.Add(this.label_gain8);
+ this.groupBox3.Controls.Add(this.label_gain7);
+ this.groupBox3.Controls.Add(this.label_gain6);
+ this.groupBox3.Controls.Add(this.label_gain5);
+ this.groupBox3.Controls.Add(this.label_gain4);
+ this.groupBox3.Controls.Add(this.label_gain3);
+ this.groupBox3.Controls.Add(this.label_gain2);
+ this.groupBox3.Controls.Add(this.label_gain1);
+ this.groupBox3.Controls.Add(this.textBox_expo_8);
+ this.groupBox3.Controls.Add(this.textBox_expo_7);
+ this.groupBox3.Controls.Add(this.textBox_expo_6);
+ this.groupBox3.Controls.Add(this.textBox_expo_5);
+ this.groupBox3.Controls.Add(this.textBox_expo_4);
+ this.groupBox3.Controls.Add(this.textBox_expo_3);
+ this.groupBox3.Controls.Add(this.textBox_expo_2);
+ this.groupBox3.Controls.Add(this.textBox_expo_1);
+ this.groupBox3.Controls.Add(this.label_expo8);
+ this.groupBox3.Controls.Add(this.label_expo7);
+ this.groupBox3.Controls.Add(this.label_expo6);
+ this.groupBox3.Controls.Add(this.label_expo5);
+ this.groupBox3.Controls.Add(this.label_expo4);
+ this.groupBox3.Controls.Add(this.label_expo3);
+ this.groupBox3.Controls.Add(this.label_expo2);
+ this.groupBox3.Controls.Add(this.label_expo1);
+ this.groupBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.groupBox3.Location = new System.Drawing.Point(13, 155);
+ this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox3.Size = new System.Drawing.Size(600, 323);
+ this.groupBox3.TabIndex = 2;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = "相机参数";
+ this.groupBox3.Enter += new System.EventHandler(this.groupBox3_Enter);
+ //
+ // textBox_gain_8
+ //
+ this.textBox_gain_8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_8.Location = new System.Drawing.Point(502, 286);
+ this.textBox_gain_8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_8.Name = "textBox_gain_8";
+ this.textBox_gain_8.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_8.TabIndex = 31;
+ this.textBox_gain_8.TextChanged += new System.EventHandler(this.textBox_gain_8_TextChanged);
+ //
+ // textBox_gain_7
+ //
+ this.textBox_gain_7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_7.Location = new System.Drawing.Point(502, 251);
+ this.textBox_gain_7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_7.Name = "textBox_gain_7";
+ this.textBox_gain_7.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_7.TabIndex = 29;
+ this.textBox_gain_7.TextChanged += new System.EventHandler(this.textBox_gain_7_TextChanged);
+ //
+ // textBox_gain_6
+ //
+ this.textBox_gain_6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_6.Location = new System.Drawing.Point(502, 216);
+ this.textBox_gain_6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_6.Name = "textBox_gain_6";
+ this.textBox_gain_6.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_6.TabIndex = 27;
+ this.textBox_gain_6.TextChanged += new System.EventHandler(this.textBox_gain_6_TextChanged);
+ //
+ // textBox_gain_5
+ //
+ this.textBox_gain_5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_5.Location = new System.Drawing.Point(502, 181);
+ this.textBox_gain_5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_5.Name = "textBox_gain_5";
+ this.textBox_gain_5.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_5.TabIndex = 25;
+ this.textBox_gain_5.TextChanged += new System.EventHandler(this.textBox_gain_5_TextChanged);
+ //
+ // textBox_gain_4
+ //
+ this.textBox_gain_4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_4.Location = new System.Drawing.Point(502, 146);
+ this.textBox_gain_4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_4.Name = "textBox_gain_4";
+ this.textBox_gain_4.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_4.TabIndex = 23;
+ this.textBox_gain_4.TextChanged += new System.EventHandler(this.textBox_gain_4_TextChanged);
+ //
+ // textBox_gain_3
+ //
+ this.textBox_gain_3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_3.Location = new System.Drawing.Point(502, 111);
+ this.textBox_gain_3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_3.Name = "textBox_gain_3";
+ this.textBox_gain_3.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_3.TabIndex = 21;
+ this.textBox_gain_3.TextChanged += new System.EventHandler(this.textBox_gain_3_TextChanged);
+ //
+ // textBox_gain_2
+ //
+ this.textBox_gain_2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_2.Location = new System.Drawing.Point(502, 76);
+ this.textBox_gain_2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_2.Name = "textBox_gain_2";
+ this.textBox_gain_2.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_2.TabIndex = 19;
+ this.textBox_gain_2.TextChanged += new System.EventHandler(this.textBox_gain_2_TextChanged);
+ //
+ // textBox_gain_1
+ //
+ this.textBox_gain_1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_gain_1.Location = new System.Drawing.Point(502, 41);
+ this.textBox_gain_1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_gain_1.Name = "textBox_gain_1";
+ this.textBox_gain_1.Size = new System.Drawing.Size(81, 27);
+ this.textBox_gain_1.TabIndex = 17;
+ this.textBox_gain_1.TextChanged += new System.EventHandler(this.textBox_gain_1_TextChanged);
+ //
+ // label_gain8
+ //
+ this.label_gain8.AutoSize = true;
+ this.label_gain8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain8.Location = new System.Drawing.Point(289, 287);
+ this.label_gain8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain8.Name = "label_gain8";
+ this.label_gain8.Size = new System.Drawing.Size(207, 24);
+ this.label_gain8.TabIndex = 30;
+ this.label_gain8.Text = "8#相机模拟增益(0~64):";
+ this.label_gain8.Click += new System.EventHandler(this.label_gain8_Click);
+ //
+ // label_gain7
+ //
+ this.label_gain7.AutoSize = true;
+ this.label_gain7.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain7.Location = new System.Drawing.Point(289, 252);
+ this.label_gain7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain7.Name = "label_gain7";
+ this.label_gain7.Size = new System.Drawing.Size(207, 24);
+ this.label_gain7.TabIndex = 28;
+ this.label_gain7.Text = "7#相机模拟增益(0~64):";
+ //
+ // label_gain6
+ //
+ this.label_gain6.AutoSize = true;
+ this.label_gain6.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain6.Location = new System.Drawing.Point(289, 217);
+ this.label_gain6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain6.Name = "label_gain6";
+ this.label_gain6.Size = new System.Drawing.Size(207, 24);
+ this.label_gain6.TabIndex = 26;
+ this.label_gain6.Text = "6#相机模拟增益(0~64):";
+ //
+ // label_gain5
+ //
+ this.label_gain5.AutoSize = true;
+ this.label_gain5.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain5.Location = new System.Drawing.Point(289, 182);
+ this.label_gain5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain5.Name = "label_gain5";
+ this.label_gain5.Size = new System.Drawing.Size(207, 24);
+ this.label_gain5.TabIndex = 24;
+ this.label_gain5.Text = "5#相机模拟增益(0~64):";
+ //
+ // label_gain4
+ //
+ this.label_gain4.AutoSize = true;
+ this.label_gain4.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain4.Location = new System.Drawing.Point(289, 147);
+ this.label_gain4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain4.Name = "label_gain4";
+ this.label_gain4.Size = new System.Drawing.Size(207, 24);
+ this.label_gain4.TabIndex = 22;
+ this.label_gain4.Text = "4#相机模拟增益(0~64):";
+ //
+ // label_gain3
+ //
+ this.label_gain3.AutoSize = true;
+ this.label_gain3.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain3.Location = new System.Drawing.Point(289, 112);
+ this.label_gain3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain3.Name = "label_gain3";
+ this.label_gain3.Size = new System.Drawing.Size(207, 24);
+ this.label_gain3.TabIndex = 20;
+ this.label_gain3.Text = "3#相机模拟增益(0~64):";
+ //
+ // label_gain2
+ //
+ this.label_gain2.AutoSize = true;
+ this.label_gain2.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain2.Location = new System.Drawing.Point(289, 77);
+ this.label_gain2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain2.Name = "label_gain2";
+ this.label_gain2.Size = new System.Drawing.Size(207, 24);
+ this.label_gain2.TabIndex = 18;
+ this.label_gain2.Text = "2#相机模拟增益(0~64):";
+ //
+ // label_gain1
+ //
+ this.label_gain1.AutoSize = true;
+ this.label_gain1.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_gain1.Location = new System.Drawing.Point(289, 42);
+ this.label_gain1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_gain1.Name = "label_gain1";
+ this.label_gain1.Size = new System.Drawing.Size(207, 24);
+ this.label_gain1.TabIndex = 16;
+ this.label_gain1.Text = "1#相机模拟增益(0~64):";
+ //
+ // textBox_expo_8
+ //
+ this.textBox_expo_8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_8.Location = new System.Drawing.Point(207, 286);
+ this.textBox_expo_8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_8.Name = "textBox_expo_8";
+ this.textBox_expo_8.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_8.TabIndex = 15;
+ this.textBox_expo_8.TextChanged += new System.EventHandler(this.textBox_expo_8_TextChanged);
+ //
+ // textBox_expo_7
+ //
+ this.textBox_expo_7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_7.Location = new System.Drawing.Point(207, 251);
+ this.textBox_expo_7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_7.Name = "textBox_expo_7";
+ this.textBox_expo_7.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_7.TabIndex = 13;
+ this.textBox_expo_7.TextChanged += new System.EventHandler(this.textBox_expo_7_TextChanged);
+ //
+ // textBox_expo_6
+ //
+ this.textBox_expo_6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_6.Location = new System.Drawing.Point(207, 216);
+ this.textBox_expo_6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_6.Name = "textBox_expo_6";
+ this.textBox_expo_6.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_6.TabIndex = 11;
+ this.textBox_expo_6.TextChanged += new System.EventHandler(this.textBox_expo_6_TextChanged);
+ //
+ // textBox_expo_5
+ //
+ this.textBox_expo_5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_5.Location = new System.Drawing.Point(207, 181);
+ this.textBox_expo_5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_5.Name = "textBox_expo_5";
+ this.textBox_expo_5.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_5.TabIndex = 9;
+ this.textBox_expo_5.TextChanged += new System.EventHandler(this.textBox_expo_5_TextChanged);
+ //
+ // textBox_expo_4
+ //
+ this.textBox_expo_4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_4.Location = new System.Drawing.Point(207, 146);
+ this.textBox_expo_4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_4.Name = "textBox_expo_4";
+ this.textBox_expo_4.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_4.TabIndex = 7;
+ this.textBox_expo_4.TextChanged += new System.EventHandler(this.textBox_expo_4_TextChanged);
+ //
+ // textBox_expo_3
+ //
+ this.textBox_expo_3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_3.Location = new System.Drawing.Point(207, 111);
+ this.textBox_expo_3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_3.Name = "textBox_expo_3";
+ this.textBox_expo_3.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_3.TabIndex = 5;
+ this.textBox_expo_3.TextChanged += new System.EventHandler(this.textBox_expo_3_TextChanged);
+ //
+ // textBox_expo_2
+ //
+ this.textBox_expo_2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_2.Location = new System.Drawing.Point(207, 76);
+ this.textBox_expo_2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_2.Name = "textBox_expo_2";
+ this.textBox_expo_2.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_2.TabIndex = 3;
+ this.textBox_expo_2.TextChanged += new System.EventHandler(this.textBox_expo_2_TextChanged);
+ //
+ // textBox_expo_1
+ //
+ this.textBox_expo_1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_expo_1.Location = new System.Drawing.Point(207, 41);
+ this.textBox_expo_1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_expo_1.Name = "textBox_expo_1";
+ this.textBox_expo_1.Size = new System.Drawing.Size(81, 27);
+ this.textBox_expo_1.TabIndex = 1;
+ this.textBox_expo_1.TextChanged += new System.EventHandler(this.textBox_expo_1_TextChanged);
+ //
+ // label_expo8
+ //
+ this.label_expo8.AutoSize = true;
+ this.label_expo8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo8.Location = new System.Drawing.Point(7, 287);
+ this.label_expo8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo8.Name = "label_expo8";
+ this.label_expo8.Size = new System.Drawing.Size(198, 24);
+ this.label_expo8.TabIndex = 14;
+ this.label_expo8.Text = "8#相机曝光时间(微秒):";
+ //
+ // label_expo7
+ //
+ this.label_expo7.AutoSize = true;
+ this.label_expo7.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo7.Location = new System.Drawing.Point(7, 252);
+ this.label_expo7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo7.Name = "label_expo7";
+ this.label_expo7.Size = new System.Drawing.Size(198, 24);
+ this.label_expo7.TabIndex = 12;
+ this.label_expo7.Text = "7#相机曝光时间(微秒):";
+ //
+ // label_expo6
+ //
+ this.label_expo6.AutoSize = true;
+ this.label_expo6.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo6.Location = new System.Drawing.Point(7, 217);
+ this.label_expo6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo6.Name = "label_expo6";
+ this.label_expo6.Size = new System.Drawing.Size(198, 24);
+ this.label_expo6.TabIndex = 10;
+ this.label_expo6.Text = "6#相机曝光时间(微秒):";
+ //
+ // label_expo5
+ //
+ this.label_expo5.AutoSize = true;
+ this.label_expo5.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo5.Location = new System.Drawing.Point(7, 182);
+ this.label_expo5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo5.Name = "label_expo5";
+ this.label_expo5.Size = new System.Drawing.Size(198, 24);
+ this.label_expo5.TabIndex = 8;
+ this.label_expo5.Text = "5#相机曝光时间(微秒):";
+ //
+ // label_expo4
+ //
+ this.label_expo4.AutoSize = true;
+ this.label_expo4.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo4.Location = new System.Drawing.Point(7, 147);
+ this.label_expo4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo4.Name = "label_expo4";
+ this.label_expo4.Size = new System.Drawing.Size(198, 24);
+ this.label_expo4.TabIndex = 6;
+ this.label_expo4.Text = "4#相机曝光时间(微秒):";
+ //
+ // label_expo3
+ //
+ this.label_expo3.AutoSize = true;
+ this.label_expo3.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo3.Location = new System.Drawing.Point(7, 112);
+ this.label_expo3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo3.Name = "label_expo3";
+ this.label_expo3.Size = new System.Drawing.Size(198, 24);
+ this.label_expo3.TabIndex = 4;
+ this.label_expo3.Text = "3#相机曝光时间(微秒):";
+ //
+ // label_expo2
+ //
+ this.label_expo2.AutoSize = true;
+ this.label_expo2.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo2.Location = new System.Drawing.Point(7, 77);
+ this.label_expo2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo2.Name = "label_expo2";
+ this.label_expo2.Size = new System.Drawing.Size(198, 24);
+ this.label_expo2.TabIndex = 2;
+ this.label_expo2.Text = "2#相机曝光时间(微秒):";
+ this.label_expo2.Click += new System.EventHandler(this.label_expo2_Click);
+ //
+ // label_expo1
+ //
+ this.label_expo1.AutoSize = true;
+ this.label_expo1.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_expo1.Location = new System.Drawing.Point(7, 42);
+ this.label_expo1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_expo1.Name = "label_expo1";
+ this.label_expo1.Size = new System.Drawing.Size(198, 24);
+ this.label_expo1.TabIndex = 0;
+ this.label_expo1.Text = "1#相机曝光时间(微秒):";
+ //
+ // groupBox4
+ //
+ this.groupBox4.Controls.Add(this.textBox_confirm_pwd);
+ this.groupBox4.Controls.Add(this.textBox_new_pwd);
+ this.groupBox4.Controls.Add(this.textBox_old_pwd);
+ this.groupBox4.Controls.Add(this.button_pwd_ok);
+ this.groupBox4.Controls.Add(this.label_confirm_pwd);
+ this.groupBox4.Controls.Add(this.label_new_pwd);
+ this.groupBox4.Controls.Add(this.label_old_pwd);
+ this.groupBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.groupBox4.Location = new System.Drawing.Point(13, 536);
+ this.groupBox4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox4.Name = "groupBox4";
+ this.groupBox4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox4.Size = new System.Drawing.Size(590, 78);
+ this.groupBox4.TabIndex = 6;
+ this.groupBox4.TabStop = false;
+ this.groupBox4.Text = "管理员密码修改";
+ //
+ // textBox_confirm_pwd
+ //
+ this.textBox_confirm_pwd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_confirm_pwd.Location = new System.Drawing.Point(413, 39);
+ this.textBox_confirm_pwd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_confirm_pwd.Name = "textBox_confirm_pwd";
+ this.textBox_confirm_pwd.PasswordChar = '*';
+ this.textBox_confirm_pwd.Size = new System.Drawing.Size(81, 27);
+ this.textBox_confirm_pwd.TabIndex = 5;
+ this.textBox_confirm_pwd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // textBox_new_pwd
+ //
+ this.textBox_new_pwd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_new_pwd.Location = new System.Drawing.Point(237, 39);
+ this.textBox_new_pwd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_new_pwd.Name = "textBox_new_pwd";
+ this.textBox_new_pwd.PasswordChar = '*';
+ this.textBox_new_pwd.Size = new System.Drawing.Size(81, 27);
+ this.textBox_new_pwd.TabIndex = 3;
+ this.textBox_new_pwd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // textBox_old_pwd
+ //
+ this.textBox_old_pwd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_old_pwd.Location = new System.Drawing.Point(74, 39);
+ this.textBox_old_pwd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_old_pwd.Name = "textBox_old_pwd";
+ this.textBox_old_pwd.PasswordChar = '*';
+ this.textBox_old_pwd.Size = new System.Drawing.Size(81, 27);
+ this.textBox_old_pwd.TabIndex = 1;
+ this.textBox_old_pwd.TextChanged += new System.EventHandler(this.textBox1_TextChanged_1);
+ this.textBox_old_pwd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // button_pwd_ok
+ //
+ this.button_pwd_ok.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold);
+ this.button_pwd_ok.Location = new System.Drawing.Point(499, 37);
+ this.button_pwd_ok.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_pwd_ok.Name = "button_pwd_ok";
+ this.button_pwd_ok.Size = new System.Drawing.Size(78, 31);
+ this.button_pwd_ok.TabIndex = 6;
+ this.button_pwd_ok.Text = "确定";
+ this.button_pwd_ok.UseVisualStyleBackColor = true;
+ this.button_pwd_ok.Click += new System.EventHandler(this.button1_Click);
+ //
+ // label_confirm_pwd
+ //
+ this.label_confirm_pwd.AutoSize = true;
+ this.label_confirm_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_confirm_pwd.Location = new System.Drawing.Point(325, 40);
+ this.label_confirm_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_confirm_pwd.Name = "label_confirm_pwd";
+ this.label_confirm_pwd.Size = new System.Drawing.Size(95, 24);
+ this.label_confirm_pwd.TabIndex = 4;
+ this.label_confirm_pwd.Text = "确认密码:";
+ //
+ // label_new_pwd
+ //
+ this.label_new_pwd.AutoSize = true;
+ this.label_new_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_new_pwd.Location = new System.Drawing.Point(168, 40);
+ this.label_new_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_new_pwd.Name = "label_new_pwd";
+ this.label_new_pwd.Size = new System.Drawing.Size(78, 24);
+ this.label_new_pwd.TabIndex = 2;
+ this.label_new_pwd.Text = "新密码:";
+ //
+ // label_old_pwd
+ //
+ this.label_old_pwd.AutoSize = true;
+ this.label_old_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_old_pwd.Location = new System.Drawing.Point(5, 40);
+ this.label_old_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_old_pwd.Name = "label_old_pwd";
+ this.label_old_pwd.Size = new System.Drawing.Size(78, 24);
+ this.label_old_pwd.TabIndex = 0;
+ this.label_old_pwd.Text = "原密码:";
+ //
+ // groupBox5
+ //
+ this.groupBox5.Controls.Add(this.textBox6);
+ this.groupBox5.Controls.Add(this.textBox_op_new_pwd);
+ this.groupBox5.Controls.Add(this.textBox_op_old_pwd);
+ this.groupBox5.Controls.Add(this.button_op_pwd_ok);
+ this.groupBox5.Controls.Add(this.label_op_confirm_pwd);
+ this.groupBox5.Controls.Add(this.label_op_new_pwd);
+ this.groupBox5.Controls.Add(this.label_op_old_pwd);
+ this.groupBox5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.groupBox5.Location = new System.Drawing.Point(13, 620);
+ this.groupBox5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox5.Name = "groupBox5";
+ this.groupBox5.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox5.Size = new System.Drawing.Size(590, 78);
+ this.groupBox5.TabIndex = 7;
+ this.groupBox5.TabStop = false;
+ this.groupBox5.Text = "操作员密码修改";
+ //
+ // textBox6
+ //
+ this.textBox6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox6.Location = new System.Drawing.Point(413, 37);
+ this.textBox6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox6.Name = "textBox6";
+ this.textBox6.PasswordChar = '*';
+ this.textBox6.Size = new System.Drawing.Size(81, 27);
+ this.textBox6.TabIndex = 5;
+ this.textBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // textBox_op_new_pwd
+ //
+ this.textBox_op_new_pwd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_op_new_pwd.Location = new System.Drawing.Point(237, 37);
+ this.textBox_op_new_pwd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_op_new_pwd.Name = "textBox_op_new_pwd";
+ this.textBox_op_new_pwd.PasswordChar = '*';
+ this.textBox_op_new_pwd.Size = new System.Drawing.Size(81, 27);
+ this.textBox_op_new_pwd.TabIndex = 3;
+ this.textBox_op_new_pwd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // textBox_op_old_pwd
+ //
+ this.textBox_op_old_pwd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_op_old_pwd.Location = new System.Drawing.Point(74, 37);
+ this.textBox_op_old_pwd.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_op_old_pwd.Name = "textBox_op_old_pwd";
+ this.textBox_op_old_pwd.PasswordChar = '*';
+ this.textBox_op_old_pwd.Size = new System.Drawing.Size(81, 27);
+ this.textBox_op_old_pwd.TabIndex = 1;
+ this.textBox_op_old_pwd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.m_KeyPress);
+ //
+ // button_op_pwd_ok
+ //
+ this.button_op_pwd_ok.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold);
+ this.button_op_pwd_ok.Location = new System.Drawing.Point(499, 35);
+ this.button_op_pwd_ok.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_op_pwd_ok.Name = "button_op_pwd_ok";
+ this.button_op_pwd_ok.Size = new System.Drawing.Size(78, 31);
+ this.button_op_pwd_ok.TabIndex = 6;
+ this.button_op_pwd_ok.Text = "确定";
+ this.button_op_pwd_ok.UseVisualStyleBackColor = true;
+ this.button_op_pwd_ok.Click += new System.EventHandler(this.button2_Click);
+ //
+ // label_op_confirm_pwd
+ //
+ this.label_op_confirm_pwd.AutoSize = true;
+ this.label_op_confirm_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_op_confirm_pwd.Location = new System.Drawing.Point(325, 38);
+ this.label_op_confirm_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_op_confirm_pwd.Name = "label_op_confirm_pwd";
+ this.label_op_confirm_pwd.Size = new System.Drawing.Size(95, 24);
+ this.label_op_confirm_pwd.TabIndex = 4;
+ this.label_op_confirm_pwd.Text = "确认密码:";
+ //
+ // label_op_new_pwd
+ //
+ this.label_op_new_pwd.AutoSize = true;
+ this.label_op_new_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_op_new_pwd.Location = new System.Drawing.Point(168, 38);
+ this.label_op_new_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_op_new_pwd.Name = "label_op_new_pwd";
+ this.label_op_new_pwd.Size = new System.Drawing.Size(78, 24);
+ this.label_op_new_pwd.TabIndex = 2;
+ this.label_op_new_pwd.Text = "新密码:";
+ //
+ // label_op_old_pwd
+ //
+ this.label_op_old_pwd.AutoSize = true;
+ this.label_op_old_pwd.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label_op_old_pwd.Location = new System.Drawing.Point(5, 38);
+ this.label_op_old_pwd.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label_op_old_pwd.Name = "label_op_old_pwd";
+ this.label_op_old_pwd.Size = new System.Drawing.Size(78, 24);
+ this.label_op_old_pwd.TabIndex = 0;
+ this.label_op_old_pwd.Text = "原密码:";
+ //
+ // groupBox6
+ //
+ this.groupBox6.Controls.Add(this.textBox_filter_8);
+ this.groupBox6.Controls.Add(this.textBox_filter_7);
+ this.groupBox6.Controls.Add(this.textBox_filter_6);
+ this.groupBox6.Controls.Add(this.textBox_filter_5);
+ this.groupBox6.Controls.Add(this.textBox_filter_4);
+ this.groupBox6.Controls.Add(this.textBox_filter_2);
+ this.groupBox6.Controls.Add(this.textBox_filter_3);
+ this.groupBox6.Controls.Add(this.textBox_filter_1);
+ this.groupBox6.Controls.Add(this.label8);
+ this.groupBox6.Controls.Add(this.label7);
+ this.groupBox6.Controls.Add(this.label6);
+ this.groupBox6.Controls.Add(this.label5);
+ this.groupBox6.Controls.Add(this.label4);
+ this.groupBox6.Controls.Add(this.label2);
+ this.groupBox6.Controls.Add(this.label3);
+ this.groupBox6.Controls.Add(this.label1);
+ this.groupBox6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.groupBox6.Location = new System.Drawing.Point(13, 704);
+ this.groupBox6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox6.Name = "groupBox6";
+ this.groupBox6.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.groupBox6.Size = new System.Drawing.Size(590, 177);
+ this.groupBox6.TabIndex = 8;
+ this.groupBox6.TabStop = false;
+ this.groupBox6.Text = "滤波设置";
+ //
+ // textBox_filter_8
+ //
+ this.textBox_filter_8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_8.Location = new System.Drawing.Point(499, 136);
+ this.textBox_filter_8.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_8.Name = "textBox_filter_8";
+ this.textBox_filter_8.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_8.TabIndex = 19;
+ this.textBox_filter_8.TextChanged += new System.EventHandler(this.textBox_filter_8_TextChanged);
+ //
+ // textBox_filter_7
+ //
+ this.textBox_filter_7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_7.Location = new System.Drawing.Point(213, 136);
+ this.textBox_filter_7.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_7.Name = "textBox_filter_7";
+ this.textBox_filter_7.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_7.TabIndex = 17;
+ this.textBox_filter_7.TextChanged += new System.EventHandler(this.textBox_filter_7_TextChanged);
+ //
+ // textBox_filter_6
+ //
+ this.textBox_filter_6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_6.Location = new System.Drawing.Point(499, 102);
+ this.textBox_filter_6.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_6.Name = "textBox_filter_6";
+ this.textBox_filter_6.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_6.TabIndex = 15;
+ this.textBox_filter_6.TextChanged += new System.EventHandler(this.textBox_filter_6_TextChanged);
+ //
+ // textBox_filter_5
+ //
+ this.textBox_filter_5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_5.Location = new System.Drawing.Point(213, 102);
+ this.textBox_filter_5.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_5.Name = "textBox_filter_5";
+ this.textBox_filter_5.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_5.TabIndex = 13;
+ this.textBox_filter_5.TextChanged += new System.EventHandler(this.textBox_filter_5_TextChanged);
+ //
+ // textBox_filter_4
+ //
+ this.textBox_filter_4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_4.Location = new System.Drawing.Point(499, 68);
+ this.textBox_filter_4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_4.Name = "textBox_filter_4";
+ this.textBox_filter_4.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_4.TabIndex = 7;
+ this.textBox_filter_4.TextChanged += new System.EventHandler(this.textBox_filter_4_TextChanged);
+ //
+ // textBox_filter_2
+ //
+ this.textBox_filter_2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_2.Location = new System.Drawing.Point(499, 34);
+ this.textBox_filter_2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_2.Name = "textBox_filter_2";
+ this.textBox_filter_2.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_2.TabIndex = 3;
+ this.textBox_filter_2.TextChanged += new System.EventHandler(this.textBox_filter_2_TextChanged);
+ //
+ // textBox_filter_3
+ //
+ this.textBox_filter_3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_3.Location = new System.Drawing.Point(213, 68);
+ this.textBox_filter_3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_3.Name = "textBox_filter_3";
+ this.textBox_filter_3.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_3.TabIndex = 5;
+ this.textBox_filter_3.TextChanged += new System.EventHandler(this.textBox_filter_3_TextChanged);
+ //
+ // textBox_filter_1
+ //
+ this.textBox_filter_1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold);
+ this.textBox_filter_1.Location = new System.Drawing.Point(213, 34);
+ this.textBox_filter_1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.textBox_filter_1.Name = "textBox_filter_1";
+ this.textBox_filter_1.Size = new System.Drawing.Size(81, 27);
+ this.textBox_filter_1.TabIndex = 1;
+ this.textBox_filter_1.TextChanged += new System.EventHandler(this.textBox_filter_1_TextChanged);
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label8.Location = new System.Drawing.Point(293, 137);
+ this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(198, 24);
+ this.label8.TabIndex = 18;
+ this.label8.Text = "8#相机滤波时间(微秒):";
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label7.Location = new System.Drawing.Point(12, 137);
+ this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(198, 24);
+ this.label7.TabIndex = 16;
+ this.label7.Text = "7#相机滤波时间(微秒):";
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label6.Location = new System.Drawing.Point(293, 104);
+ this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(198, 24);
+ this.label6.TabIndex = 14;
+ this.label6.Text = "6#相机滤波时间(微秒):";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label5.Location = new System.Drawing.Point(12, 104);
+ this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(198, 24);
+ this.label5.TabIndex = 12;
+ this.label5.Text = "5#相机滤波时间(微秒):";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label4.Location = new System.Drawing.Point(293, 71);
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(198, 24);
+ this.label4.TabIndex = 6;
+ this.label4.Text = "4#相机滤波时间(微秒):";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label2.Location = new System.Drawing.Point(293, 38);
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(198, 24);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "2#相机滤波时间(微秒):";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label3.Location = new System.Drawing.Point(12, 71);
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(198, 24);
+ this.label3.TabIndex = 4;
+ this.label3.Text = "3#相机滤波时间(微秒):";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
+ this.label1.Location = new System.Drawing.Point(12, 38);
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(198, 24);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "1#相机滤波时间(微秒):";
+ //
+ // button_config
+ //
+ this.button_config.Location = new System.Drawing.Point(31, 484);
+ this.button_config.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_config.Name = "button_config";
+ this.button_config.Size = new System.Drawing.Size(112, 46);
+ this.button_config.TabIndex = 3;
+ this.button_config.Text = "配方设置";
+ this.button_config.UseVisualStyleBackColor = true;
+ this.button_config.Click += new System.EventHandler(this.button_config_Click);
+ //
+ // button_change
+ //
+ this.button_change.Location = new System.Drawing.Point(256, 484);
+ this.button_change.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_change.Name = "button_change";
+ this.button_change.Size = new System.Drawing.Size(112, 46);
+ this.button_change.TabIndex = 4;
+ this.button_change.Text = "换班设置";
+ this.button_change.UseVisualStyleBackColor = true;
+ this.button_change.Click += new System.EventHandler(this.button_change_Click);
+ //
+ // button_statistic
+ //
+ this.button_statistic.Location = new System.Drawing.Point(481, 484);
+ this.button_statistic.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button_statistic.Name = "button_statistic";
+ this.button_statistic.Size = new System.Drawing.Size(112, 46);
+ this.button_statistic.TabIndex = 5;
+ this.button_statistic.Text = "产量统计";
+ this.button_statistic.UseVisualStyleBackColor = true;
+ this.button_statistic.Click += new System.EventHandler(this.button_statistic_Click);
+ //
+ // button3
+ //
+ this.button3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.button3.Location = new System.Drawing.Point(61, 965);
+ this.button3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(134, 45);
+ this.button3.TabIndex = 12;
+ this.button3.Text = "保存参数";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // button4
+ //
+ this.button4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold);
+ this.button4.Location = new System.Drawing.Point(411, 965);
+ this.button4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(134, 45);
+ this.button4.TabIndex = 13;
+ this.button4.Text = "关闭窗口";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // ReSet_Click
+ //
+ this.ReSet_Click.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.ReSet_Click.Location = new System.Drawing.Point(61, 899);
+ this.ReSet_Click.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.ReSet_Click.Name = "ReSet_Click";
+ this.ReSet_Click.Size = new System.Drawing.Size(134, 46);
+ this.ReSet_Click.TabIndex = 9;
+ this.ReSet_Click.Text = "重启";
+ this.ReSet_Click.UseVisualStyleBackColor = true;
+ this.ReSet_Click.Click += new System.EventHandler(this.button5_Click);
+ //
+ // SetConf
+ //
+ this.SetConf.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.SetConf.Location = new System.Drawing.Point(234, 899);
+ this.SetConf.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.SetConf.Name = "SetConf";
+ this.SetConf.Size = new System.Drawing.Size(134, 46);
+ this.SetConf.TabIndex = 10;
+ this.SetConf.Text = "更新配置";
+ this.SetConf.UseVisualStyleBackColor = true;
+ this.SetConf.Click += new System.EventHandler(this.SetConf_Click);
+ //
+ // GetConf
+ //
+ this.GetConf.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.GetConf.Location = new System.Drawing.Point(411, 899);
+ this.GetConf.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.GetConf.Name = "GetConf";
+ this.GetConf.Size = new System.Drawing.Size(134, 46);
+ this.GetConf.TabIndex = 11;
+ this.GetConf.Text = "获取配置";
+ this.GetConf.UseVisualStyleBackColor = true;
+ this.GetConf.Click += new System.EventHandler(this.GetConf_Click);
+ //
+ // DialogSetup
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScroll = true;
+ this.ClientSize = new System.Drawing.Size(632, 1028);
+ this.Controls.Add(this.GetConf);
+ this.Controls.Add(this.SetConf);
+ this.Controls.Add(this.ReSet_Click);
+ this.Controls.Add(this.button4);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button_statistic);
+ this.Controls.Add(this.button_change);
+ this.Controls.Add(this.button_config);
+ this.Controls.Add(this.groupBox6);
+ this.Controls.Add(this.groupBox5);
+ this.Controls.Add(this.groupBox4);
+ this.Controls.Add(this.groupBox3);
+ this.Controls.Add(this.groupBox2);
+ this.Controls.Add(this.groupBox1);
+ this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.Name = "DialogSetup";
+ this.Text = "系统设置";
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
+ this.groupBox4.ResumeLayout(false);
+ this.groupBox4.PerformLayout();
+ this.groupBox5.ResumeLayout(false);
+ this.groupBox5.PerformLayout();
+ this.groupBox6.ResumeLayout(false);
+ this.groupBox6.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.CheckBox checkBox_auto_work;
+ private System.Windows.Forms.CheckBox checkBox_auto_open;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.GroupBox groupBox4;
+ private System.Windows.Forms.GroupBox groupBox5;
+ private System.Windows.Forms.GroupBox groupBox6;
+ private System.Windows.Forms.RadioButton radioButton_none;
+ private System.Windows.Forms.RadioButton radioButton_save_all;
+ private System.Windows.Forms.RadioButton radioButton_save_ng;
+ private System.Windows.Forms.Button button_image;
+ private System.Windows.Forms.Label label_expo4;
+ private System.Windows.Forms.Label label_expo3;
+ private System.Windows.Forms.Label label_expo2;
+ private System.Windows.Forms.Label label_expo1;
+ private System.Windows.Forms.Label label_expo5;
+ private System.Windows.Forms.Label label_expo6;
+ private System.Windows.Forms.Label label_expo7;
+ private System.Windows.Forms.Label label_expo8;
+ private System.Windows.Forms.TextBox textBox_expo_8;
+ private System.Windows.Forms.TextBox textBox_expo_7;
+ private System.Windows.Forms.TextBox textBox_expo_6;
+ private System.Windows.Forms.TextBox textBox_expo_5;
+ private System.Windows.Forms.TextBox textBox_expo_4;
+ private System.Windows.Forms.TextBox textBox_expo_3;
+ private System.Windows.Forms.TextBox textBox_expo_2;
+ private System.Windows.Forms.TextBox textBox_expo_1;
+ private System.Windows.Forms.Label label_gain1;
+ private System.Windows.Forms.Label label_gain2;
+ private System.Windows.Forms.Label label_gain3;
+ private System.Windows.Forms.Label label_gain4;
+ private System.Windows.Forms.Label label_gain5;
+ private System.Windows.Forms.Label label_gain6;
+ private System.Windows.Forms.Label label_gain7;
+ private System.Windows.Forms.Label label_gain8;
+ private System.Windows.Forms.TextBox textBox_gain_8;
+ private System.Windows.Forms.TextBox textBox_gain_7;
+ private System.Windows.Forms.TextBox textBox_gain_6;
+ private System.Windows.Forms.TextBox textBox_gain_5;
+ private System.Windows.Forms.TextBox textBox_gain_4;
+ private System.Windows.Forms.TextBox textBox_gain_3;
+ private System.Windows.Forms.TextBox textBox_gain_2;
+ private System.Windows.Forms.TextBox textBox_gain_1;
+ private System.Windows.Forms.Button button_config;
+ private System.Windows.Forms.Button button_change;
+ private System.Windows.Forms.Button button_statistic;
+ private System.Windows.Forms.Button button_pwd_ok;
+ private System.Windows.Forms.Label label_confirm_pwd;
+ private System.Windows.Forms.Label label_new_pwd;
+ private System.Windows.Forms.Label label_old_pwd;
+ private System.Windows.Forms.Button button_op_pwd_ok;
+ private System.Windows.Forms.Label label_op_confirm_pwd;
+ private System.Windows.Forms.Label label_op_new_pwd;
+ private System.Windows.Forms.Label label_op_old_pwd;
+ private System.Windows.Forms.TextBox textBox_confirm_pwd;
+ private System.Windows.Forms.TextBox textBox_new_pwd;
+ private System.Windows.Forms.TextBox textBox_old_pwd;
+ private System.Windows.Forms.TextBox textBox6;
+ private System.Windows.Forms.TextBox textBox_op_new_pwd;
+ private System.Windows.Forms.TextBox textBox_op_old_pwd;
+ private System.Windows.Forms.TextBox textBox_filter_8;
+ private System.Windows.Forms.TextBox textBox_filter_7;
+ private System.Windows.Forms.TextBox textBox_filter_6;
+ private System.Windows.Forms.TextBox textBox_filter_5;
+ private System.Windows.Forms.TextBox textBox_filter_4;
+ private System.Windows.Forms.TextBox textBox_filter_2;
+ private System.Windows.Forms.TextBox textBox_filter_3;
+ private System.Windows.Forms.TextBox textBox_filter_1;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button ReSet_Click;
+ private System.Windows.Forms.Button SetConf;
+ private System.Windows.Forms.Button GetConf;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/DialogSetup.cs b/WindowsFormsApp2/DialogSetup.cs
new file mode 100644
index 0000000..55af203
--- /dev/null
+++ b/WindowsFormsApp2/DialogSetup.cs
@@ -0,0 +1,478 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using System.Runtime.InteropServices;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement;
+
+namespace WindowsFormsApp2
+{
+ public struct CamSetting
+ {
+ public int expo;
+ public int gain;
+ public int filt;
+ };
+ public struct PassWord
+ {
+ public string ori;
+ public string dst;
+ public string agin;
+ };
+ public struct ChangeShift
+ {
+ public int Ah;
+ public int Am;
+ public int Bh;
+ public int Bm;
+ public int Ch;
+ public int Cm;
+
+ public int shift_time;
+ public int shift_byhand;
+ public static implicit operator ChangeShift(int v)
+ {
+ throw new NotImplementedException();
+ }
+ }
+ public struct CameraGlue
+ {
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
+ public int[] shoot;
+ };
+ public struct Setting
+ {
+ public bool ok;
+ public bool IsAutoOpenCam;
+ public bool IsAutoWork;
+ public int saveimage;
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.Struct)]
+ public CamSetting[] camerasetting;
+ public bool IsNeedChangePsd;
+ public PassWord mapsd;
+ public PassWord oppsd;
+ public ChangeShift changeshift;
+ [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType =UnmanagedType.Struct)]
+ public CameraGlue[] Cameraglue;
+ };
+ public partial class DialogSetup : Form
+ {
+ const int NumberOfSupportedCameras = 8;
+ public static Setting cam_setting = new Setting();
+
+ public void UpdateDialog()
+ {
+ textBox_old_pwd.Text = "";
+ textBox_new_pwd.Text = "";
+ textBox_confirm_pwd.Text = "";
+ textBox_op_old_pwd.Text = "";
+ textBox_op_new_pwd.Text = "";
+ textBox6.Text = "";
+
+ this.checkBox_auto_open.Checked = cam_setting.IsAutoOpenCam;
+ this.checkBox_auto_work.Checked = cam_setting.IsAutoWork;
+ switch(cam_setting.saveimage)
+ {
+ case 0: this.radioButton_none.Checked = true; this.radioButton_save_ng.Checked = false; this.radioButton_save_all.Checked = false; break;
+ case 1: this.radioButton_none.Checked = false; this.radioButton_save_ng.Checked = true; this.radioButton_save_all.Checked = false; break;
+ case 2: this.radioButton_none.Checked = false; this.radioButton_save_ng.Checked = false; this.radioButton_save_all.Checked = true; break;
+ }
+ if (cam_setting.camerasetting != null)
+ {
+ this.textBox_expo_1.Text = cam_setting.camerasetting[0].expo.ToString();
+ this.textBox_expo_2.Text = cam_setting.camerasetting[1].expo.ToString();
+ this.textBox_expo_3.Text = cam_setting.camerasetting[2].expo.ToString();
+ this.textBox_expo_4.Text = cam_setting.camerasetting[3].expo.ToString();
+ this.textBox_expo_5.Text = cam_setting.camerasetting[4].expo.ToString();
+ this.textBox_expo_6.Text = cam_setting.camerasetting[5].expo.ToString();
+ this.textBox_expo_7.Text = cam_setting.camerasetting[6].expo.ToString();
+ this.textBox_expo_8.Text = cam_setting.camerasetting[7].expo.ToString();
+
+ this.textBox_gain_1.Text = cam_setting.camerasetting[0].gain.ToString();
+ this.textBox_gain_2.Text = cam_setting.camerasetting[1].gain.ToString();
+ this.textBox_gain_3.Text = cam_setting.camerasetting[2].gain.ToString();
+ this.textBox_gain_4.Text = cam_setting.camerasetting[3].gain.ToString();
+ this.textBox_gain_5.Text = cam_setting.camerasetting[4].gain.ToString();
+ this.textBox_gain_6.Text = cam_setting.camerasetting[5].gain.ToString();
+ this.textBox_gain_7.Text = cam_setting.camerasetting[6].gain.ToString();
+ this.textBox_gain_8.Text = cam_setting.camerasetting[7].gain.ToString();
+
+ this.textBox_filter_1.Text = cam_setting.camerasetting[0].filt.ToString();
+ this.textBox_filter_2.Text = cam_setting.camerasetting[1].filt.ToString();
+ this.textBox_filter_3.Text = cam_setting.camerasetting[2].filt.ToString();
+ this.textBox_filter_4.Text = cam_setting.camerasetting[3].filt.ToString();
+ this.textBox_filter_5.Text = cam_setting.camerasetting[4].filt.ToString();
+ this.textBox_filter_6.Text = cam_setting.camerasetting[5].filt.ToString();
+ this.textBox_filter_7.Text = cam_setting.camerasetting[6].filt.ToString();
+ this.textBox_filter_8.Text = cam_setting.camerasetting[7].filt.ToString();
+ }
+ }
+ public DialogSetup()
+ {
+ InitializeComponent();
+ int index = 0;
+ cam_setting.ok = true;
+ cam_setting.IsAutoOpenCam = false;
+ cam_setting.IsAutoWork = false;
+ cam_setting.saveimage = 0;
+ cam_setting.camerasetting = new CamSetting[NumberOfSupportedCameras];
+ for (; index < NumberOfSupportedCameras; index++)
+ {
+ cam_setting.camerasetting[index].expo = 0;
+ cam_setting.camerasetting[index].gain = 0;
+ cam_setting.camerasetting[index].filt = 0;
+ }
+ index = 6 + NumberOfSupportedCameras * 3;
+ cam_setting.changeshift.shift_byhand = 0;
+ cam_setting.changeshift.shift_time = 0;
+ index = index + 2;
+ cam_setting.changeshift.Ah = 0;
+ cam_setting.changeshift.Am = 0;
+ cam_setting.changeshift.Bh = 0;
+ cam_setting.changeshift.Bm = 0;
+ cam_setting.changeshift.Ch = 0;
+ cam_setting.changeshift.Cm = 0;
+ index = index + 6;
+
+ cam_setting.Cameraglue = new CameraGlue[NumberOfSupportedCameras];
+
+ for (int i = 0; i < NumberOfSupportedCameras; i++)
+ {
+ cam_setting.Cameraglue[i].shoot = new int[3];
+ cam_setting.Cameraglue[i].shoot[0] = 0;
+ cam_setting.Cameraglue[i].shoot[1] = 0;
+ cam_setting.Cameraglue[i].shoot[2] = 0;
+ }
+ }
+
+ private void groupBox1_Enter(object sender, EventArgs e)
+ {
+
+ }
+
+ private void groupBox3_Enter(object sender, EventArgs e)
+ {
+
+ }
+
+ private void radioButton_save_all_CheckedChanged(object sender, EventArgs e)
+ {
+ if (this.radioButton_save_all.Checked)
+ {
+ this.radioButton_save_ng.Checked = false;
+ this.radioButton_save_all.Checked = true;
+ this.radioButton_none.Checked = false;
+ }
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ private void button_config_Click(object sender, EventArgs e)
+ {
+ Camera_glue cameraGlue = new Camera_glue();
+ cameraGlue.StartPosition = FormStartPosition.CenterScreen;
+ cameraGlue.TopMost = true;
+ cameraGlue.ShowDialog();
+ }
+
+ private void button_change_Click(object sender, EventArgs e)
+ {
+ Change_shift changeShift = new Change_shift();
+ changeShift.StartPosition = FormStartPosition.CenterScreen;
+ changeShift.TopMost = true;
+ changeShift.ShowDialog();
+ }
+
+ private void button_statistic_Click(object sender, EventArgs e)
+ {
+ Output_statistic outputStatistic = new Output_statistic();
+ outputStatistic.StartPosition = FormStartPosition.CenterScreen;
+ outputStatistic.TopMost = true;
+ outputStatistic.ShowDialog();
+ }
+
+ private void checkBox_auto_open_CheckedChanged(object sender, EventArgs e)
+ {
+ cam_setting.IsAutoOpenCam = this.checkBox_auto_open.Checked;
+ }
+
+ private void textBox1_TextChanged_1(object sender, EventArgs e)
+ {
+
+ }
+
+ private void checkBox_auto_work_CheckedChanged(object sender, EventArgs e)
+ {
+ cam_setting.IsAutoWork = this.checkBox_auto_work.Checked;
+ }
+
+ private void radioButton_save_ng_CheckedChanged(object sender, EventArgs e)
+ {
+ if (this.radioButton_save_ng.Checked)
+ {
+ this.radioButton_save_ng.Checked = true;
+ this.radioButton_save_all.Checked = false;
+ this.radioButton_none.Checked = false;
+ }
+ }
+
+ private void radioButton_none_CheckedChanged(object sender, EventArgs e)
+ {
+ if (this.radioButton_none.Checked)
+ {
+ this.radioButton_save_ng.Checked = false;
+ this.radioButton_save_all.Checked = false;
+ this.radioButton_none.Checked = true;
+ }
+ }
+
+ private void textBox_expo_1_TextChanged(object sender, EventArgs e)
+ {
+ if(textBox_expo_1.Text != string.Empty)
+ cam_setting.camerasetting[0].expo = Convert.ToInt32(this.textBox_expo_1.Text.ToString());
+ }
+
+ private void textBox_expo_2_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_2.Text != string.Empty)
+ cam_setting.camerasetting[1].expo = Convert.ToInt32(this.textBox_expo_2.Text.ToString());
+ }
+
+ private void textBox_expo_3_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_3.Text != string.Empty)
+ cam_setting.camerasetting[2].expo = Convert.ToInt32(this.textBox_expo_3.Text.ToString());
+ }
+
+ private void textBox_expo_4_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_4.Text != string.Empty)
+ cam_setting.camerasetting[3].expo = Convert.ToInt32(this.textBox_expo_4.Text.ToString());
+ }
+ private void textBox_expo_5_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_5.Text != string.Empty)
+ cam_setting.camerasetting[4].expo = Convert.ToInt32(this.textBox_expo_5.Text.ToString());
+ }
+
+ private void textBox_expo_6_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_6.Text != string.Empty)
+ cam_setting.camerasetting[5].expo = Convert.ToInt32(this.textBox_expo_6.Text.ToString());
+ }
+
+ private void textBox_expo_7_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_7.Text != string.Empty)
+ cam_setting.camerasetting[6].expo = Convert.ToInt32(this.textBox_expo_7.Text.ToString());
+ }
+
+ private void textBox_expo_8_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_expo_8.Text != string.Empty)
+ cam_setting.camerasetting[7].expo = Convert.ToInt32(this.textBox_expo_8.Text.ToString());
+ }
+
+ private void textBox_gain_1_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_1.Text != string.Empty)
+ cam_setting.camerasetting[0].gain = Convert.ToInt32(this.textBox_gain_1.Text.ToString());
+ }
+
+ private void textBox_gain_2_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_2.Text != string.Empty)
+ cam_setting.camerasetting[1].gain = Convert.ToInt32(this.textBox_gain_2.Text.ToString());
+ }
+
+ private void textBox_gain_3_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_3.Text != string.Empty)
+ cam_setting.camerasetting[2].gain = Convert.ToInt32(this.textBox_gain_3.Text.ToString());
+ }
+
+ private void textBox_gain_4_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_4.Text != string.Empty)
+ cam_setting.camerasetting[3].gain = Convert.ToInt32(this.textBox_gain_4.Text.ToString());
+ }
+ private void textBox_gain_5_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_5.Text != string.Empty)
+ cam_setting.camerasetting[4].gain = Convert.ToInt32(this.textBox_gain_5.Text.ToString());
+ }
+ private void textBox_gain_6_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_6.Text != string.Empty)
+ cam_setting.camerasetting[5].gain = Convert.ToInt32(this.textBox_gain_6.Text.ToString());
+ }
+ private void textBox_gain_7_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_7.Text != string.Empty)
+ cam_setting.camerasetting[6].gain = Convert.ToInt32(this.textBox_gain_7.Text.ToString());
+ }
+ private void textBox_gain_8_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_gain_8.Text != string.Empty)
+ cam_setting.camerasetting[7].gain = Convert.ToInt32(this.textBox_gain_8.Text.ToString());
+ }
+
+ private void textBox_filter_1_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_1.Text != string.Empty)
+ cam_setting.camerasetting[0].filt = Convert.ToInt32(this.textBox_filter_1.Text.ToString());
+ }
+
+ private void textBox_filter_2_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_2.Text != string.Empty)
+ cam_setting.camerasetting[1].filt = Convert.ToInt32(this.textBox_filter_2.Text.ToString());
+ }
+
+ private void textBox_filter_3_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_3.Text != string.Empty)
+ cam_setting.camerasetting[2].filt = Convert.ToInt32(this.textBox_filter_3.Text.ToString());
+ }
+
+ private void textBox_filter_4_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_4.Text != string.Empty)
+ cam_setting.camerasetting[3].filt = Convert.ToInt32(this.textBox_filter_4.Text.ToString());
+ }
+ private void textBox_filter_5_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_5.Text != string.Empty)
+ cam_setting.camerasetting[4].filt = Convert.ToInt32(this.textBox_filter_5.Text.ToString());
+ }
+ private void textBox_filter_6_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_6.Text != string.Empty)
+ cam_setting.camerasetting[5].filt = Convert.ToInt32(this.textBox_filter_6.Text.ToString());
+ }
+ private void textBox_filter_7_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_7.Text != string.Empty)
+ cam_setting.camerasetting[6].filt = Convert.ToInt32(this.textBox_filter_7.Text.ToString());
+ }
+ private void textBox_filter_8_TextChanged(object sender, EventArgs e)
+ {
+ if (textBox_filter_8.Text != string.Empty)
+ cam_setting.camerasetting[7].filt = Convert.ToInt32(this.textBox_filter_8.Text.ToString());
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ // 保存参数
+ String msg = "UPDSETTING:";
+ msg += NumberOfSupportedCameras.ToString() + ":";
+ msg += cam_setting.IsAutoOpenCam.ToString() + ":";
+ msg += cam_setting.IsAutoWork.ToString() + ":";
+ msg += cam_setting.saveimage.ToString() + ":";
+ for (int index = 0; index < NumberOfSupportedCameras; index++)
+ {
+ msg += cam_setting.camerasetting[index].expo.ToString() + ":";
+ msg += cam_setting.camerasetting[index].gain.ToString() + ":";
+ msg += cam_setting.camerasetting[index].filt.ToString() + ":";
+ }
+ msg += cam_setting.changeshift.shift_byhand.ToString() + ":";
+ msg += cam_setting.changeshift.shift_time.ToString() + ":";
+ msg += cam_setting.changeshift.Ah.ToString() + ":";
+ msg += cam_setting.changeshift.Am.ToString() + ":";
+ msg += cam_setting.changeshift.Bh.ToString() + ":";
+ msg += cam_setting.changeshift.Bm.ToString() + ":";
+ msg += cam_setting.changeshift.Ch.ToString() + ":";
+ msg += cam_setting.changeshift.Cm.ToString() + ":";
+ for (int i = 0; i < NumberOfSupportedCameras; i++)
+ {
+ msg += cam_setting.Cameraglue[i].shoot[0].ToString() + ":";
+ msg += cam_setting.Cameraglue[i].shoot[1].ToString() + ":";
+ msg += cam_setting.Cameraglue[i].shoot[2].ToString() + ":";
+ }
+ UserControl1.SendMsg(msg);
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ String msg = "ADMINPWDCHANGE:";
+ cam_setting.mapsd.ori = this.textBox_old_pwd.Text.ToString();
+ cam_setting.mapsd.dst = this.textBox_new_pwd.Text.ToString();
+ cam_setting.mapsd.agin = this.textBox_confirm_pwd.Text.ToString();
+ msg = msg + cam_setting.mapsd.ori + ":" + cam_setting.mapsd.dst + ":" + cam_setting.mapsd.agin;
+ UserControl1.SendMsg(msg);
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ String msg = "OPERPWDCHANGE:";
+ cam_setting.oppsd.ori = this.textBox_op_old_pwd.Text.ToString();
+ cam_setting.oppsd.dst = this.textBox_op_new_pwd.Text.ToString();
+ cam_setting.oppsd.agin = this.textBox6.Text.ToString();
+ msg = msg + cam_setting.oppsd.ori + ":" + cam_setting.oppsd.dst + ":" + cam_setting.oppsd.agin;
+ UserControl1.SendMsg(msg);
+ }
+
+ private void button_image_Click(object sender, EventArgs e)
+ {
+ if(this.radioButton_none.Checked == true)
+ {
+ cam_setting.saveimage = 0;
+ }
+ else if(this.radioButton_save_ng.Checked == true)
+ {
+ cam_setting.saveimage = 1;
+ }
+ else if(this.radioButton_save_all.Checked == true)
+ {
+ cam_setting.saveimage = 2;
+ }
+ }
+
+ private void m_KeyPress(object sender, KeyPressEventArgs e)
+ {
+ if (
+ (e.KeyChar > 32 && e.KeyChar < 47)||
+ (e.KeyChar > 58 && e.KeyChar < 127)
+ )//具体数字含义请查询ascii表
+ {
+ MessageBox.Show("请输⼊数字!");//消息提⽰框
+ e.Handled = true;//将事件标记为已处理,否则⽆效字符会继续填充进去
+ }
+ }
+
+ private void button5_Click(object sender, EventArgs e)
+ {
+ UserControl1.SendMsg("RESTART");
+ MessageBox.Show("正在重启软件");///
+ this.Close();///
+ }
+
+ private void SetConf_Click(object sender, EventArgs e)
+ {
+ UserControl1.SendMsg("SETCONF");
+ }
+
+ private void GetConf_Click(object sender, EventArgs e)
+ {
+ UserControl1.SendMsg("GETCONF");
+ }
+
+ private void label_expo2_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void label_gain8_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/WindowsFormsApp2/DialogSetup.resx b/WindowsFormsApp2/DialogSetup.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/DialogSetup.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Form1.Designer.cs b/WindowsFormsApp2/Form1.Designer.cs
new file mode 100644
index 0000000..57ebc9e
--- /dev/null
+++ b/WindowsFormsApp2/Form1.Designer.cs
@@ -0,0 +1,66 @@
+namespace WindowsFormsApp2
+{
+ partial class Form1
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows 窗体设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.displayResult1 = new WindowsFormsApp2.displayResult();
+ this.SuspendLayout();
+ //
+ // displayResult1
+ //
+ this.displayResult1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.displayResult1.BackColor = System.Drawing.Color.Black;
+ this.displayResult1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.displayResult1.Location = new System.Drawing.Point(0, 0);
+ this.displayResult1.Margin = new System.Windows.Forms.Padding(0);
+ this.displayResult1.MaximumSize = new System.Drawing.Size(1330, 900);
+ this.displayResult1.MinimumSize = new System.Drawing.Size(1330, 900);
+ this.displayResult1.Name = "displayResult1";
+ this.displayResult1.Size = new System.Drawing.Size(1330, 900);
+ this.displayResult1.TabIndex = 0;
+ this.displayResult1.Load += new System.EventHandler(this.displayResult1_Load);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1327, 892);
+ this.Controls.Add(this.displayResult1);
+ this.Margin = new System.Windows.Forms.Padding(4);
+ this.Name = "Form1";
+ this.Text = "Form1";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private displayResult displayResult1;
+ }
+}
+
diff --git a/WindowsFormsApp2/Form1.cs b/WindowsFormsApp2/Form1.cs
new file mode 100644
index 0000000..d275b97
--- /dev/null
+++ b/WindowsFormsApp2/Form1.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ //Client.InitializeUdpClient();
+ }
+
+ protected override void OnClosing(CancelEventArgs e)
+ {
+ displayResult1.close();
+ base.OnClosing(e);
+ }
+
+ private void displayResult1_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Form1.resx b/WindowsFormsApp2/Form1.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/FullScreen.Designer.cs b/WindowsFormsApp2/FullScreen.Designer.cs
new file mode 100644
index 0000000..f6a68cc
--- /dev/null
+++ b/WindowsFormsApp2/FullScreen.Designer.cs
@@ -0,0 +1,77 @@
+namespace WindowsFormsApp2
+{
+ partial class FullScreen
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.rotate = new System.Windows.Forms.Button();
+ this.singleCam1 = new WindowsFormsApp2.singleCam();
+ this.SuspendLayout();
+ //
+ // rotate
+ //
+ this.rotate.BackColor = System.Drawing.Color.Black;
+ this.rotate.BackgroundImage = global::WindowsFormsApp2.Properties.Resources.rotate;
+ this.rotate.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.rotate.FlatAppearance.BorderSize = 0;
+ this.rotate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.rotate.Location = new System.Drawing.Point(0, 0);
+ this.rotate.Name = "rotate";
+ this.rotate.Size = new System.Drawing.Size(51, 51);
+ this.rotate.TabIndex = 1;
+ this.rotate.UseVisualStyleBackColor = false;
+ this.rotate.Click += new System.EventHandler(this.rotate_Click);
+ //
+ // singleCam1
+ //
+ this.singleCam1.BackColor = System.Drawing.Color.Black;
+ this.singleCam1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.singleCam1.Location = new System.Drawing.Point(0, 0);
+ this.singleCam1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ this.singleCam1.Name = "singleCam1";
+ this.singleCam1.Size = new System.Drawing.Size(1582, 853);
+ this.singleCam1.TabIndex = 0;
+ //
+ // FullScreen
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1582, 853);
+ this.Controls.Add(this.rotate);
+ this.Controls.Add(this.singleCam1);
+ this.Name = "FullScreen";
+ this.Text = "FullScreen";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private singleCam singleCam1;
+ private System.Windows.Forms.Button rotate;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/FullScreen.cs b/WindowsFormsApp2/FullScreen.cs
new file mode 100644
index 0000000..cf59133
--- /dev/null
+++ b/WindowsFormsApp2/FullScreen.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ public partial class FullScreen : Form
+ {
+ public int camid;
+ public FullScreen()
+ {
+ InitializeComponent();
+ WindowState = System.Windows.Forms.FormWindowState.Maximized;
+ if(UserControl1.Debug)
+ {
+ this.rotate.Location = new Point(0, 0);
+ this.rotate.Visible = true;
+ }
+ else
+ {
+ this.rotate.Visible = false;
+ }
+ }
+
+ public void bindCam(int d)
+ {
+ singleCam1.setCamId(d);
+ camid = d;
+ }
+
+ private void rotate_Click(object sender, EventArgs e)
+ {
+ UserControl1.SendMsg(Convert.ToString(camid));
+ }
+ }
+}
diff --git a/WindowsFormsApp2/FullScreen.resx b/WindowsFormsApp2/FullScreen.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/FullScreen.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Output_statistic.Designer.cs b/WindowsFormsApp2/Output_statistic.Designer.cs
new file mode 100644
index 0000000..e082124
--- /dev/null
+++ b/WindowsFormsApp2/Output_statistic.Designer.cs
@@ -0,0 +1,299 @@
+namespace WindowsFormsApp2
+{
+ partial class Output_statistic
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.Camera1 = new System.Windows.Forms.TabControl();
+ this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.tabPage2 = new System.Windows.Forms.TabPage();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.tabPage3 = new System.Windows.Forms.TabPage();
+ this.textBox3 = new System.Windows.Forms.TextBox();
+ this.tabPage4 = new System.Windows.Forms.TabPage();
+ this.textBox4 = new System.Windows.Forms.TextBox();
+ this.tabPage5 = new System.Windows.Forms.TabPage();
+ this.textBox5 = new System.Windows.Forms.TextBox();
+ this.tabPage6 = new System.Windows.Forms.TabPage();
+ this.textBox6 = new System.Windows.Forms.TextBox();
+ this.tabPage7 = new System.Windows.Forms.TabPage();
+ this.textBox7 = new System.Windows.Forms.TextBox();
+ this.tabPage8 = new System.Windows.Forms.TabPage();
+ this.textBox8 = new System.Windows.Forms.TextBox();
+ this.Camera1.SuspendLayout();
+ this.tabPage1.SuspendLayout();
+ this.tabPage2.SuspendLayout();
+ this.tabPage3.SuspendLayout();
+ this.tabPage4.SuspendLayout();
+ this.tabPage5.SuspendLayout();
+ this.tabPage6.SuspendLayout();
+ this.tabPage7.SuspendLayout();
+ this.tabPage8.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // Camera1
+ //
+ this.Camera1.Controls.Add(this.tabPage1);
+ this.Camera1.Controls.Add(this.tabPage2);
+ this.Camera1.Controls.Add(this.tabPage3);
+ this.Camera1.Controls.Add(this.tabPage4);
+ this.Camera1.Controls.Add(this.tabPage5);
+ this.Camera1.Controls.Add(this.tabPage6);
+ this.Camera1.Controls.Add(this.tabPage7);
+ this.Camera1.Controls.Add(this.tabPage8);
+ this.Camera1.Location = new System.Drawing.Point(3, 7);
+ this.Camera1.Margin = new System.Windows.Forms.Padding(4);
+ this.Camera1.Name = "Camera1";
+ this.Camera1.SelectedIndex = 0;
+ this.Camera1.Size = new System.Drawing.Size(683, 417);
+ this.Camera1.TabIndex = 0;
+ this.Camera1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_Selected_Change);
+ //
+ // tabPage1
+ //
+ this.tabPage1.Controls.Add(this.textBox1);
+ this.tabPage1.Location = new System.Drawing.Point(4, 25);
+ this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
+ this.tabPage1.Size = new System.Drawing.Size(675, 388);
+ this.tabPage1.TabIndex = 0;
+ this.tabPage1.Text = "Camera1";
+ this.tabPage1.UseVisualStyleBackColor = true;
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(0, 0);
+ this.textBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox1.Multiline = true;
+ this.textBox1.Name = "textBox1";
+ this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox1.Size = new System.Drawing.Size(673, 388);
+ this.textBox1.TabIndex = 1;
+ //
+ // tabPage2
+ //
+ this.tabPage2.Controls.Add(this.textBox2);
+ this.tabPage2.Location = new System.Drawing.Point(4, 25);
+ this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
+ this.tabPage2.Name = "tabPage2";
+ this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
+ this.tabPage2.Size = new System.Drawing.Size(675, 388);
+ this.tabPage2.TabIndex = 1;
+ this.tabPage2.Text = "Camera2";
+ this.tabPage2.UseVisualStyleBackColor = true;
+ //
+ // textBox2
+ //
+ this.textBox2.Location = new System.Drawing.Point(0, 0);
+ this.textBox2.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox2.Multiline = true;
+ this.textBox2.Name = "textBox2";
+ this.textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox2.Size = new System.Drawing.Size(675, 388);
+ this.textBox2.TabIndex = 1;
+ //
+ // tabPage3
+ //
+ this.tabPage3.Controls.Add(this.textBox3);
+ this.tabPage3.Location = new System.Drawing.Point(4, 25);
+ this.tabPage3.Margin = new System.Windows.Forms.Padding(4);
+ this.tabPage3.Name = "tabPage3";
+ this.tabPage3.Padding = new System.Windows.Forms.Padding(4);
+ this.tabPage3.Size = new System.Drawing.Size(675, 388);
+ this.tabPage3.TabIndex = 2;
+ this.tabPage3.Text = "Camera3";
+ this.tabPage3.UseVisualStyleBackColor = true;
+ //
+ // textBox3
+ //
+ this.textBox3.Location = new System.Drawing.Point(0, 0);
+ this.textBox3.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox3.Multiline = true;
+ this.textBox3.Name = "textBox3";
+ this.textBox3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox3.Size = new System.Drawing.Size(675, 388);
+ this.textBox3.TabIndex = 1;
+ //
+ // tabPage4
+ //
+ this.tabPage4.Controls.Add(this.textBox4);
+ this.tabPage4.Location = new System.Drawing.Point(4, 25);
+ this.tabPage4.Margin = new System.Windows.Forms.Padding(4);
+ this.tabPage4.Name = "tabPage4";
+ this.tabPage4.Padding = new System.Windows.Forms.Padding(4);
+ this.tabPage4.Size = new System.Drawing.Size(675, 388);
+ this.tabPage4.TabIndex = 3;
+ this.tabPage4.Text = "Camera4";
+ this.tabPage4.UseVisualStyleBackColor = true;
+ //
+ // textBox4
+ //
+ this.textBox4.Location = new System.Drawing.Point(0, 0);
+ this.textBox4.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox4.Multiline = true;
+ this.textBox4.Name = "textBox4";
+ this.textBox4.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox4.Size = new System.Drawing.Size(675, 388);
+ this.textBox4.TabIndex = 1;
+ //
+ // tabPage5
+ //
+ this.tabPage5.Controls.Add(this.textBox5);
+ this.tabPage5.Location = new System.Drawing.Point(4, 25);
+ this.tabPage5.Name = "tabPage5";
+ this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage5.Size = new System.Drawing.Size(675, 388);
+ this.tabPage5.TabIndex = 4;
+ this.tabPage5.Text = "Camera5";
+ this.tabPage5.UseVisualStyleBackColor = true;
+ //
+ // textBox5
+ //
+ this.textBox5.Location = new System.Drawing.Point(0, 0);
+ this.textBox5.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox5.Multiline = true;
+ this.textBox5.Name = "textBox5";
+ this.textBox5.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox5.Size = new System.Drawing.Size(673, 388);
+ this.textBox5.TabIndex = 1;
+ //
+ // tabPage6
+ //
+ this.tabPage6.Controls.Add(this.textBox6);
+ this.tabPage6.Location = new System.Drawing.Point(4, 25);
+ this.tabPage6.Name = "tabPage6";
+ this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage6.Size = new System.Drawing.Size(675, 388);
+ this.tabPage6.TabIndex = 5;
+ this.tabPage6.Text = "Camera6";
+ this.tabPage6.UseVisualStyleBackColor = true;
+ //
+ // textBox6
+ //
+ this.textBox6.Location = new System.Drawing.Point(0, 0);
+ this.textBox6.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox6.Multiline = true;
+ this.textBox6.Name = "textBox6";
+ this.textBox6.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox6.Size = new System.Drawing.Size(673, 388);
+ this.textBox6.TabIndex = 1;
+ //
+ // tabPage7
+ //
+ this.tabPage7.Controls.Add(this.textBox7);
+ this.tabPage7.Location = new System.Drawing.Point(4, 25);
+ this.tabPage7.Name = "tabPage7";
+ this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage7.Size = new System.Drawing.Size(675, 388);
+ this.tabPage7.TabIndex = 6;
+ this.tabPage7.Text = "Camera7";
+ this.tabPage7.UseVisualStyleBackColor = true;
+ //
+ // textBox7
+ //
+ this.textBox7.Location = new System.Drawing.Point(0, 0);
+ this.textBox7.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox7.Multiline = true;
+ this.textBox7.Name = "textBox7";
+ this.textBox7.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox7.Size = new System.Drawing.Size(673, 388);
+ this.textBox7.TabIndex = 1;
+ //
+ // tabPage8
+ //
+ this.tabPage8.Controls.Add(this.textBox8);
+ this.tabPage8.Location = new System.Drawing.Point(4, 25);
+ this.tabPage8.Name = "tabPage8";
+ this.tabPage8.Padding = new System.Windows.Forms.Padding(3);
+ this.tabPage8.Size = new System.Drawing.Size(675, 388);
+ this.tabPage8.TabIndex = 7;
+ this.tabPage8.Text = "Camera8";
+ this.tabPage8.UseVisualStyleBackColor = true;
+ //
+ // textBox8
+ //
+ this.textBox8.Location = new System.Drawing.Point(0, 0);
+ this.textBox8.Margin = new System.Windows.Forms.Padding(4);
+ this.textBox8.Multiline = true;
+ this.textBox8.Name = "textBox8";
+ this.textBox8.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ this.textBox8.Size = new System.Drawing.Size(673, 388);
+ this.textBox8.TabIndex = 1;
+ //
+ // Output_statistic
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(693, 455);
+ this.Controls.Add(this.Camera1);
+ this.Margin = new System.Windows.Forms.Padding(4);
+ this.Name = "Output_statistic";
+ this.Text = "产量统计";
+ this.Camera1.ResumeLayout(false);
+ this.tabPage1.ResumeLayout(false);
+ this.tabPage1.PerformLayout();
+ this.tabPage2.ResumeLayout(false);
+ this.tabPage2.PerformLayout();
+ this.tabPage3.ResumeLayout(false);
+ this.tabPage3.PerformLayout();
+ this.tabPage4.ResumeLayout(false);
+ this.tabPage4.PerformLayout();
+ this.tabPage5.ResumeLayout(false);
+ this.tabPage5.PerformLayout();
+ this.tabPage6.ResumeLayout(false);
+ this.tabPage6.PerformLayout();
+ this.tabPage7.ResumeLayout(false);
+ this.tabPage7.PerformLayout();
+ this.tabPage8.ResumeLayout(false);
+ this.tabPage8.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TabControl Camera1;
+ private System.Windows.Forms.TabPage tabPage1;
+ private System.Windows.Forms.TabPage tabPage2;
+ private System.Windows.Forms.TabPage tabPage3;
+ private System.Windows.Forms.TabPage tabPage4;
+ private System.Windows.Forms.TabPage tabPage5;
+ private System.Windows.Forms.TabPage tabPage6;
+ private System.Windows.Forms.TabPage tabPage7;
+ private System.Windows.Forms.TabPage tabPage8;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.TextBox textBox3;
+ private System.Windows.Forms.TextBox textBox4;
+ private System.Windows.Forms.TextBox textBox5;
+ private System.Windows.Forms.TextBox textBox6;
+ private System.Windows.Forms.TextBox textBox7;
+ private System.Windows.Forms.TextBox textBox8;
+ }
+}
\ No newline at end of file
diff --git a/WindowsFormsApp2/Output_statistic.cs b/WindowsFormsApp2/Output_statistic.cs
new file mode 100644
index 0000000..aa7563f
--- /dev/null
+++ b/WindowsFormsApp2/Output_statistic.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ public partial class Output_statistic : Form
+ {
+ public Output_statistic()
+ {
+ InitializeComponent();
+ string path = @"camera" + this.Camera1.SelectedIndex +"_statistic.txt";
+ string text = null;
+ if (File.Exists(path))
+ {
+ text = System.IO.File.ReadAllText(path, Encoding.Default);
+ }
+ switch (this.Camera1.SelectedIndex)
+ {
+ case 0: textBox1.Text = text; break;
+ case 1: textBox2.Text = text; break;
+ case 2: textBox3.Text = text; break;
+ case 3: textBox4.Text = text; break;
+ case 4: textBox5.Text = text; break;
+ case 5: textBox6.Text = text; break;
+ case 6: textBox7.Text = text; break;
+ case 7: textBox8.Text = text; break;
+
+ }
+ }
+
+ private void tabControl1_Selected_Change(object sender, EventArgs e)
+ {
+ string path = @"camera" + this.Camera1.SelectedIndex +"_statistic.txt";
+ string text = null;
+ if (File.Exists(path))
+ {
+ text = System.IO.File.ReadAllText(path, Encoding.Default);
+ }
+ switch (this.Camera1.SelectedIndex)
+ {
+ case 0: textBox1.Text = text; break;
+ case 1: textBox2.Text = text; break;
+ case 2: textBox3.Text = text; break;
+ case 3: textBox4.Text = text; break;
+ case 4: textBox5.Text = text; break;
+ case 5: textBox6.Text = text; break;
+ case 6: textBox7.Text = text; break;
+ case 7: textBox8.Text = text; break;
+
+ }
+
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Output_statistic.resx b/WindowsFormsApp2/Output_statistic.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/WindowsFormsApp2/Output_statistic.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Program.cs b/WindowsFormsApp2/Program.cs
new file mode 100644
index 0000000..90fd659
--- /dev/null
+++ b/WindowsFormsApp2/Program.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace WindowsFormsApp2
+{
+ static class Program
+ {
+ ///
+ /// 应用程序的主入口点。
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Properties/AssemblyInfo.cs b/WindowsFormsApp2/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..0830243
--- /dev/null
+++ b/WindowsFormsApp2/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("WindowsFormsApp2")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WindowsFormsApp2")]
+[assembly: AssemblyCopyright("Copyright © 2022")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
+//请将此类型的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("83837354-1a01-4df5-99d7-27fe79d43a86")]
+
+// 程序集的版本信息由下列四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
+// 方法是按如下所示使用“*”: :
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/WindowsFormsApp2/Properties/Resources.Designer.cs b/WindowsFormsApp2/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..493470d
--- /dev/null
+++ b/WindowsFormsApp2/Properties/Resources.Designer.cs
@@ -0,0 +1,113 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsApp2.Properties {
+ using System;
+
+
+ ///
+ /// 一个强类型的资源类,用于查找本地化的字符串等。
+ ///
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// 返回此类使用的缓存的 ResourceManager 实例。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApp2.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// 重写当前线程的 CurrentUICulture 属性,对
+ /// 使用此强类型资源类的所有资源查找执行重写。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap _lock {
+ get {
+ object obj = ResourceManager.GetObject("lock", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap pause {
+ get {
+ object obj = ResourceManager.GetObject("pause", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap rotate {
+ get {
+ object obj = ResourceManager.GetObject("rotate", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap start {
+ get {
+ object obj = ResourceManager.GetObject("start", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap unlock {
+ get {
+ object obj = ResourceManager.GetObject("unlock", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Properties/Resources.resx b/WindowsFormsApp2/Properties/Resources.resx
new file mode 100644
index 0000000..269afc8
--- /dev/null
+++ b/WindowsFormsApp2/Properties/Resources.resx
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ ..\Resources\pause.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\unlock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\lock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\start.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\rotate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/WindowsFormsApp2/Properties/Settings.Designer.cs b/WindowsFormsApp2/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..cf04d55
--- /dev/null
+++ b/WindowsFormsApp2/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsApp2.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/WindowsFormsApp2/Properties/Settings.settings b/WindowsFormsApp2/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/WindowsFormsApp2/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/WindowsFormsApp2/Resources/alarm.png b/WindowsFormsApp2/Resources/alarm.png
new file mode 100644
index 0000000000000000000000000000000000000000..a90260e00c985bbb2e27bdb63f7638c821c1e472
GIT binary patch
literal 9855
zcmV-_CV<(AP)pPO=&|zP*7-ZbZ>KLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA
z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e
zC`Tj$K)V27Re@400>HumpsYY5E(E}?0f1SyGDiY{y#)Yvj#!WnKwtoXnL;eg03bL5
z07D)V%>y7z1E4U{zu>7~aD})?0RX_umCct+(lZpemCzb@^6=o|A>zVpu|i=NDG+7}
zl4`aK{0#b-!z=TL9Wt0BGO&T{GJWpjryhdijfaIQ&2!o}p04JRKYg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J19@JMrd_-bI9FcRN`FzG
zqU)*(k&AfcD|Rw5(T@ht^b>~?>4cL`fD5*aGktcR`I)mX=#LT=SW4ltt>ZWT#&zLk
z51d{4`2&mc*0bG(?Q>oFT6LRk>W_|Y9x*rXX!iZt#7O;cM)~`I7xX$*N#cm@+b2oW
l6cbr$S>7HRjQ0P(0RZv>P~b(tGD!dc002ovPDHLkV1kZJLeT&K
literal 0
HcmV?d00001
diff --git a/WindowsFormsApp2/Resources/cam1.png b/WindowsFormsApp2/Resources/cam1.png
new file mode 100644
index 0000000000000000000000000000000000000000..b58f39921234ce3862a6008b601dd90463ca2156
GIT binary patch
literal 9486
zcmV+pCGpycP)KLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA
z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e
zC`Tj$K)V27Re@400>HumpsYY5E(E}?0f1SyGDiY{y#)Yvj#!WnKwtoXnL;eg03bL5
z07D)V%>y7z1E4U{zu>7~aD})?0RX_umCct+(lZpemCzb@^6=o|A>zVpu|i=NDG+7}
zl4`aK{0#b-!z=TL9Wt0BGO&T{GJWpjryhdijfaIQ&2!o}p04JRKYg3k&Tf
zVxhe-O!X
z{f;To;xw^bEES6JSc$k$B2CA6xl)ltA<32E66t?3@gJ7`36pmX0IY^jz)rRYwaaY4
ze(nJRiw;=Qb^t(r^DT@T3y}a2XEZW-_W%Hszxj_qD**t_m!#tW0KDiJT&R>6OvVTR
z07RgHDzHHZ48atvzz&?j9lXF70$~P3Knx_nJP<+#`N
z#-MZ2bTkiLfR>_b(HgWKJ%F~Nr_oF3b#wrIijHG|(J>BYjM-sajE6;FiC7vY#};Gd
zST$CUHDeuEH+B^pz@B062qXfFfD`NpUW5?BY=V%GM_5c)L#QR}BeW8_2v-S%gfYS=
zB9o|3v?Y2H`NVi)In3rTB8+ej^>
zQ=~r95NVuDChL%G$=>7$vVg20myx%S50Foi`^m%Pw-h?Xh~i8Mq9jtJloCocWk2Nv
zrJpiFnV_ms&8eQ$2WpIS+6pmtC%Q-`S&G