Explorar o código

快捷按钮微调

yc_t %!s(int64=6) %!d(string=hai) anos
pai
achega
19970a16d5

+ 150 - 127
PLCLinker/centralController/FormCentralController.Designer.cs

@@ -30,6 +30,8 @@
         {
         {
             this.components = new System.ComponentModel.Container();
             this.components = new System.ComponentModel.Container();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(centralController));
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(centralController));
             this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components);
             this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components);
             this.dockSite4 = new DevComponents.DotNetBar.DockSite();
             this.dockSite4 = new DevComponents.DotNetBar.DockSite();
@@ -37,15 +39,14 @@
             this.bar_mainWin = new DevComponents.DotNetBar.Bar();
             this.bar_mainWin = new DevComponents.DotNetBar.Bar();
             this.NumMachineMonitorPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.NumMachineMonitorPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
             this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+            this.paymentPanel = new DevComponents.DotNetBar.PanelDockContainer();
+            this.ParkingSpaceMonitorPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.testPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.testPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.button1 = new System.Windows.Forms.Button();
             this.button1 = new System.Windows.Forms.Button();
             this.textBox2 = new System.Windows.Forms.TextBox();
             this.textBox2 = new System.Windows.Forms.TextBox();
             this.textBox1 = new System.Windows.Forms.TextBox();
             this.textBox1 = new System.Windows.Forms.TextBox();
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
-            this.pictureBox1 = new System.Windows.Forms.PictureBox();
             this.labelX1 = new DevComponents.DotNetBar.LabelX();
             this.labelX1 = new DevComponents.DotNetBar.LabelX();
-            this.ParkingSpaceMonitorPanel = new DevComponents.DotNetBar.PanelDockContainer();
-            this.paymentPanel = new DevComponents.DotNetBar.PanelDockContainer();
             this.dci_NumMachine = new DevComponents.DotNetBar.DockContainerItem();
             this.dci_NumMachine = new DevComponents.DotNetBar.DockContainerItem();
             this.dci_payment = new DevComponents.DotNetBar.DockContainerItem();
             this.dci_payment = new DevComponents.DotNetBar.DockContainerItem();
             this.dci_ParkingSpace = new DevComponents.DotNetBar.DockContainerItem();
             this.dci_ParkingSpace = new DevComponents.DotNetBar.DockContainerItem();
@@ -104,11 +105,6 @@
             this.bar_shortcut = new DevComponents.DotNetBar.Bar();
             this.bar_shortcut = new DevComponents.DotNetBar.Bar();
             this.panel_freeSpace = new System.Windows.Forms.Panel();
             this.panel_freeSpace = new System.Windows.Forms.Panel();
             this.lbx_freeSpace = new DevComponents.DotNetBar.LabelX();
             this.lbx_freeSpace = new DevComponents.DotNetBar.LabelX();
-            this.shortcut_login = new DevComponents.DotNetBar.ButtonItem();
-            this.shortcut_logout = new DevComponents.DotNetBar.ButtonItem();
-            this.shortcut_sysInfo = new DevComponents.DotNetBar.ButtonItem();
-            this.shortcut_about = new DevComponents.DotNetBar.ButtonItem();
-            this.shortcut_close = new DevComponents.DotNetBar.ButtonItem();
             this.dockSite3 = new DevComponents.DotNetBar.DockSite();
             this.dockSite3 = new DevComponents.DotNetBar.DockSite();
             this.panelDockContainer10 = new DevComponents.DotNetBar.PanelDockContainer();
             this.panelDockContainer10 = new DevComponents.DotNetBar.PanelDockContainer();
             this.dockContainerItem2 = new DevComponents.DotNetBar.DockContainerItem();
             this.dockContainerItem2 = new DevComponents.DotNetBar.DockContainerItem();
@@ -118,13 +114,18 @@
             this.dockContainerItem1 = new DevComponents.DotNetBar.DockContainerItem();
             this.dockContainerItem1 = new DevComponents.DotNetBar.DockContainerItem();
             this.panelDockContainer8 = new DevComponents.DotNetBar.PanelDockContainer();
             this.panelDockContainer8 = new DevComponents.DotNetBar.PanelDockContainer();
             this.controlContainerItem1 = new DevComponents.DotNetBar.ControlContainerItem();
             this.controlContainerItem1 = new DevComponents.DotNetBar.ControlContainerItem();
+            this.pictureBox1 = new System.Windows.Forms.PictureBox();
+            this.shortcut_login = new DevComponents.DotNetBar.ButtonItem();
+            this.shortcut_logout = new DevComponents.DotNetBar.ButtonItem();
+            this.shortcut_sysInfo = new DevComponents.DotNetBar.ButtonItem();
+            this.shortcut_about = new DevComponents.DotNetBar.ButtonItem();
+            this.shortcut_close = new DevComponents.DotNetBar.ButtonItem();
             this.dockSite_mainView.SuspendLayout();
             this.dockSite_mainView.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.bar_mainWin)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_mainWin)).BeginInit();
             this.bar_mainWin.SuspendLayout();
             this.bar_mainWin.SuspendLayout();
             this.NumMachineMonitorPanel.SuspendLayout();
             this.NumMachineMonitorPanel.SuspendLayout();
             this.testPanel.SuspendLayout();
             this.testPanel.SuspendLayout();
             this.tableLayoutPanel1.SuspendLayout();
             this.tableLayoutPanel1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_bottom)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_bottom)).BeginInit();
             this.bar_bottom.SuspendLayout();
             this.bar_bottom.SuspendLayout();
             this.RecordsMonitorPanel.SuspendLayout();
             this.RecordsMonitorPanel.SuspendLayout();
@@ -140,6 +141,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.bar_shortcut)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_shortcut)).BeginInit();
             this.bar_shortcut.SuspendLayout();
             this.bar_shortcut.SuspendLayout();
             this.panel_freeSpace.SuspendLayout();
             this.panel_freeSpace.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
             this.SuspendLayout();
             this.SuspendLayout();
             // 
             // 
             // dotNetBarManager1
             // dotNetBarManager1
@@ -186,12 +188,12 @@
             this.dockSite_mainView.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dockSite_mainView.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dockSite_mainView.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
             this.dockSite_mainView.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
             ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
             ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
-                        ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_mainWin, 524, 345))),
-                        ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_side, 344, 345)))}, DevComponents.DotNetBar.eOrientation.Horizontal))),
+                        ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_mainWin, 524, 331))),
+                        ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_side, 344, 331)))}, DevComponents.DotNetBar.eOrientation.Horizontal))),
             ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_bottom, 871, 181)))}, DevComponents.DotNetBar.eOrientation.Vertical);
             ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_bottom, 871, 181)))}, DevComponents.DotNetBar.eOrientation.Vertical);
-            this.dockSite_mainView.Location = new System.Drawing.Point(0, 98);
+            this.dockSite_mainView.Location = new System.Drawing.Point(0, 114);
             this.dockSite_mainView.Name = "dockSite_mainView";
             this.dockSite_mainView.Name = "dockSite_mainView";
-            this.dockSite_mainView.Size = new System.Drawing.Size(871, 570);
+            this.dockSite_mainView.Size = new System.Drawing.Size(871, 554);
             this.dockSite_mainView.TabIndex = 8;
             this.dockSite_mainView.TabIndex = 8;
             this.dockSite_mainView.TabStop = false;
             this.dockSite_mainView.TabStop = false;
             // 
             // 
@@ -225,7 +227,7 @@
             this.bar_mainWin.Name = "bar_mainWin";
             this.bar_mainWin.Name = "bar_mainWin";
             this.bar_mainWin.SelectedDockTab = 0;
             this.bar_mainWin.SelectedDockTab = 0;
             this.bar_mainWin.SingleLineColor = System.Drawing.SystemColors.ControlDarkDark;
             this.bar_mainWin.SingleLineColor = System.Drawing.SystemColors.ControlDarkDark;
-            this.bar_mainWin.Size = new System.Drawing.Size(524, 345);
+            this.bar_mainWin.Size = new System.Drawing.Size(524, 331);
             this.bar_mainWin.Stretch = true;
             this.bar_mainWin.Stretch = true;
             this.bar_mainWin.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_mainWin.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_mainWin.TabIndex = 0;
             this.bar_mainWin.TabIndex = 0;
@@ -238,7 +240,7 @@
             this.NumMachineMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.NumMachineMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.NumMachineMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.NumMachineMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.NumMachineMonitorPanel.Name = "NumMachineMonitorPanel";
             this.NumMachineMonitorPanel.Name = "NumMachineMonitorPanel";
-            this.NumMachineMonitorPanel.Size = new System.Drawing.Size(518, 314);
+            this.NumMachineMonitorPanel.Size = new System.Drawing.Size(518, 300);
             this.NumMachineMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.NumMachineMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.NumMachineMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.NumMachineMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.NumMachineMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
             this.NumMachineMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
@@ -252,10 +254,36 @@
             this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
             this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
             this.flowLayoutPanel1.Name = "flowLayoutPanel1";
             this.flowLayoutPanel1.Name = "flowLayoutPanel1";
-            this.flowLayoutPanel1.Size = new System.Drawing.Size(518, 314);
+            this.flowLayoutPanel1.Size = new System.Drawing.Size(518, 300);
             this.flowLayoutPanel1.TabIndex = 1;
             this.flowLayoutPanel1.TabIndex = 1;
             this.flowLayoutPanel1.Resize += new System.EventHandler(this.flowLayoutPanel1_Resize);
             this.flowLayoutPanel1.Resize += new System.EventHandler(this.flowLayoutPanel1_Resize);
             // 
             // 
+            // paymentPanel
+            // 
+            this.paymentPanel.DisabledBackColor = System.Drawing.Color.Empty;
+            this.paymentPanel.Location = new System.Drawing.Point(3, 28);
+            this.paymentPanel.Name = "paymentPanel";
+            this.paymentPanel.Size = new System.Drawing.Size(518, 300);
+            this.paymentPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
+            this.paymentPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+            this.paymentPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+            this.paymentPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
+            this.paymentPanel.Style.GradientAngle = 90;
+            this.paymentPanel.TabIndex = 24;
+            // 
+            // ParkingSpaceMonitorPanel
+            // 
+            this.ParkingSpaceMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
+            this.ParkingSpaceMonitorPanel.Location = new System.Drawing.Point(3, 28);
+            this.ParkingSpaceMonitorPanel.Name = "ParkingSpaceMonitorPanel";
+            this.ParkingSpaceMonitorPanel.Size = new System.Drawing.Size(518, 300);
+            this.ParkingSpaceMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
+            this.ParkingSpaceMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+            this.ParkingSpaceMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+            this.ParkingSpaceMonitorPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
+            this.ParkingSpaceMonitorPanel.Style.GradientAngle = 90;
+            this.ParkingSpaceMonitorPanel.TabIndex = 9;
+            // 
             // testPanel
             // testPanel
             // 
             // 
             this.testPanel.Controls.Add(this.button1);
             this.testPanel.Controls.Add(this.button1);
@@ -265,7 +293,7 @@
             this.testPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.testPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.testPanel.Location = new System.Drawing.Point(3, 28);
             this.testPanel.Location = new System.Drawing.Point(3, 28);
             this.testPanel.Name = "testPanel";
             this.testPanel.Name = "testPanel";
-            this.testPanel.Size = new System.Drawing.Size(518, 314);
+            this.testPanel.Size = new System.Drawing.Size(518, 300);
             this.testPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.testPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.testPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.testPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.testPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
             this.testPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
@@ -312,14 +340,6 @@
             this.tableLayoutPanel1.Size = new System.Drawing.Size(185, 168);
             this.tableLayoutPanel1.Size = new System.Drawing.Size(185, 168);
             this.tableLayoutPanel1.TabIndex = 3;
             this.tableLayoutPanel1.TabIndex = 3;
             // 
             // 
-            // pictureBox1
-            // 
-            this.pictureBox1.Location = new System.Drawing.Point(3, 36);
-            this.pictureBox1.Name = "pictureBox1";
-            this.pictureBox1.Size = new System.Drawing.Size(179, 127);
-            this.pictureBox1.TabIndex = 2;
-            this.pictureBox1.TabStop = false;
-            // 
             // labelX1
             // labelX1
             // 
             // 
             // 
             // 
@@ -333,32 +353,6 @@
             this.labelX1.Text = "label1\r\nlable2";
             this.labelX1.Text = "label1\r\nlable2";
             this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
             this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center;
             // 
             // 
-            // ParkingSpaceMonitorPanel
-            // 
-            this.ParkingSpaceMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
-            this.ParkingSpaceMonitorPanel.Location = new System.Drawing.Point(3, 28);
-            this.ParkingSpaceMonitorPanel.Name = "ParkingSpaceMonitorPanel";
-            this.ParkingSpaceMonitorPanel.Size = new System.Drawing.Size(518, 314);
-            this.ParkingSpaceMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
-            this.ParkingSpaceMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
-            this.ParkingSpaceMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
-            this.ParkingSpaceMonitorPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
-            this.ParkingSpaceMonitorPanel.Style.GradientAngle = 90;
-            this.ParkingSpaceMonitorPanel.TabIndex = 9;
-            // 
-            // paymentPanel
-            // 
-            this.paymentPanel.DisabledBackColor = System.Drawing.Color.Empty;
-            this.paymentPanel.Location = new System.Drawing.Point(3, 28);
-            this.paymentPanel.Name = "paymentPanel";
-            this.paymentPanel.Size = new System.Drawing.Size(518, 314);
-            this.paymentPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
-            this.paymentPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
-            this.paymentPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
-            this.paymentPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
-            this.paymentPanel.Style.GradientAngle = 90;
-            this.paymentPanel.TabIndex = 24;
-            // 
             // dci_NumMachine
             // dci_NumMachine
             // 
             // 
             this.dci_NumMachine.Control = this.NumMachineMonitorPanel;
             this.dci_NumMachine.Control = this.NumMachineMonitorPanel;
@@ -404,10 +398,10 @@
             this.bar_bottom.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
             this.bar_bottom.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
             this.dci_ParkingRecords});
             this.dci_ParkingRecords});
             this.bar_bottom.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer;
             this.bar_bottom.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer;
-            this.bar_bottom.Location = new System.Drawing.Point(0, 348);
+            this.bar_bottom.Location = new System.Drawing.Point(0, 334);
             this.bar_bottom.Name = "bar_bottom";
             this.bar_bottom.Name = "bar_bottom";
             this.bar_bottom.SelectedDockTab = 0;
             this.bar_bottom.SelectedDockTab = 0;
-            this.bar_bottom.Size = new System.Drawing.Size(871, 222);
+            this.bar_bottom.Size = new System.Drawing.Size(871, 220);
             this.bar_bottom.Stretch = true;
             this.bar_bottom.Stretch = true;
             this.bar_bottom.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_bottom.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_bottom.TabIndex = 1;
             this.bar_bottom.TabIndex = 1;
@@ -419,7 +413,7 @@
             this.RecordsMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.RecordsMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.RecordsMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.RecordsMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.RecordsMonitorPanel.Name = "RecordsMonitorPanel";
             this.RecordsMonitorPanel.Name = "RecordsMonitorPanel";
-            this.RecordsMonitorPanel.Size = new System.Drawing.Size(865, 191);
+            this.RecordsMonitorPanel.Size = new System.Drawing.Size(865, 189);
             this.RecordsMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.RecordsMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.RecordsMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.RecordsMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.RecordsMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
             this.RecordsMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
@@ -430,6 +424,14 @@
             // dgvx_parkingRecords
             // dgvx_parkingRecords
             // 
             // 
             this.dgvx_parkingRecords.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
             this.dgvx_parkingRecords.BackgroundColor = System.Drawing.SystemColors.ActiveCaption;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvx_parkingRecords.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
             this.dgvx_parkingRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dgvx_parkingRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dgvx_parkingRecords.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.dgvx_parkingRecords.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.parkingRecordsID,
             this.parkingRecordsID,
@@ -440,20 +442,28 @@
             this.realGetTime,
             this.realGetTime,
             this.receiptNum,
             this.receiptNum,
             this.parkingPrice});
             this.parkingPrice});
-            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.dgvx_parkingRecords.DefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.dgvx_parkingRecords.DefaultCellStyle = dataGridViewCellStyle2;
             this.dgvx_parkingRecords.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvx_parkingRecords.Dock = System.Windows.Forms.DockStyle.Fill;
             this.dgvx_parkingRecords.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
             this.dgvx_parkingRecords.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
             this.dgvx_parkingRecords.Location = new System.Drawing.Point(0, 0);
             this.dgvx_parkingRecords.Location = new System.Drawing.Point(0, 0);
             this.dgvx_parkingRecords.Name = "dgvx_parkingRecords";
             this.dgvx_parkingRecords.Name = "dgvx_parkingRecords";
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvx_parkingRecords.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
             this.dgvx_parkingRecords.RowTemplate.Height = 23;
             this.dgvx_parkingRecords.RowTemplate.Height = 23;
-            this.dgvx_parkingRecords.Size = new System.Drawing.Size(865, 191);
+            this.dgvx_parkingRecords.Size = new System.Drawing.Size(865, 189);
             this.dgvx_parkingRecords.TabIndex = 0;
             this.dgvx_parkingRecords.TabIndex = 0;
             // 
             // 
             // parkingRecordsID
             // parkingRecordsID
@@ -554,7 +564,7 @@
             this.bar_side.Location = new System.Drawing.Point(527, 0);
             this.bar_side.Location = new System.Drawing.Point(527, 0);
             this.bar_side.Name = "bar_side";
             this.bar_side.Name = "bar_side";
             this.bar_side.SelectedDockTab = 0;
             this.bar_side.SelectedDockTab = 0;
-            this.bar_side.Size = new System.Drawing.Size(344, 345);
+            this.bar_side.Size = new System.Drawing.Size(344, 331);
             this.bar_side.Stretch = true;
             this.bar_side.Stretch = true;
             this.bar_side.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_side.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_side.TabIndex = 2;
             this.bar_side.TabIndex = 2;
@@ -565,7 +575,7 @@
             this.terminalMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.terminalMonitorPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.terminalMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.terminalMonitorPanel.Location = new System.Drawing.Point(3, 28);
             this.terminalMonitorPanel.Name = "terminalMonitorPanel";
             this.terminalMonitorPanel.Name = "terminalMonitorPanel";
-            this.terminalMonitorPanel.Size = new System.Drawing.Size(338, 314);
+            this.terminalMonitorPanel.Size = new System.Drawing.Size(338, 300);
             this.terminalMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.terminalMonitorPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.terminalMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.terminalMonitorPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.terminalMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
             this.terminalMonitorPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
@@ -598,10 +608,10 @@
             this.dockSite_notification.Controls.Add(this.bar_notification);
             this.dockSite_notification.Controls.Add(this.bar_notification);
             this.dockSite_notification.Dock = System.Windows.Forms.DockStyle.Right;
             this.dockSite_notification.Dock = System.Windows.Forms.DockStyle.Right;
             this.dockSite_notification.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
             this.dockSite_notification.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(new DevComponents.DotNetBar.DocumentBaseContainer[] {
-            ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_notification, 320, 570)))}, DevComponents.DotNetBar.eOrientation.Vertical);
-            this.dockSite_notification.Location = new System.Drawing.Point(871, 98);
+            ((DevComponents.DotNetBar.DocumentBaseContainer)(new DevComponents.DotNetBar.DocumentBarContainer(this.bar_notification, 320, 554)))}, DevComponents.DotNetBar.eOrientation.Vertical);
+            this.dockSite_notification.Location = new System.Drawing.Point(871, 114);
             this.dockSite_notification.Name = "dockSite_notification";
             this.dockSite_notification.Name = "dockSite_notification";
-            this.dockSite_notification.Size = new System.Drawing.Size(323, 570);
+            this.dockSite_notification.Size = new System.Drawing.Size(323, 554);
             this.dockSite_notification.TabIndex = 1;
             this.dockSite_notification.TabIndex = 1;
             this.dockSite_notification.TabStop = false;
             this.dockSite_notification.TabStop = false;
             // 
             // 
@@ -621,7 +631,7 @@
             this.bar_notification.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer;
             this.bar_notification.LayoutType = DevComponents.DotNetBar.eLayoutType.DockContainer;
             this.bar_notification.Location = new System.Drawing.Point(3, 0);
             this.bar_notification.Location = new System.Drawing.Point(3, 0);
             this.bar_notification.Name = "bar_notification";
             this.bar_notification.Name = "bar_notification";
-            this.bar_notification.Size = new System.Drawing.Size(320, 570);
+            this.bar_notification.Size = new System.Drawing.Size(320, 554);
             this.bar_notification.Stretch = true;
             this.bar_notification.Stretch = true;
             this.bar_notification.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_notification.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_notification.TabIndex = 1;
             this.bar_notification.TabIndex = 1;
@@ -635,7 +645,7 @@
             this.warningPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.warningPanel.DisabledBackColor = System.Drawing.Color.Empty;
             this.warningPanel.Location = new System.Drawing.Point(3, 23);
             this.warningPanel.Location = new System.Drawing.Point(3, 23);
             this.warningPanel.Name = "warningPanel";
             this.warningPanel.Name = "warningPanel";
-            this.warningPanel.Size = new System.Drawing.Size(314, 544);
+            this.warningPanel.Size = new System.Drawing.Size(314, 528);
             this.warningPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.warningPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
             this.warningPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.warningPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
             this.warningPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
             this.warningPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
@@ -661,13 +671,13 @@
             this.tbx_notification.PreventEnterBeep = true;
             this.tbx_notification.PreventEnterBeep = true;
             this.tbx_notification.ReadOnly = true;
             this.tbx_notification.ReadOnly = true;
             this.tbx_notification.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
             this.tbx_notification.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
-            this.tbx_notification.Size = new System.Drawing.Size(314, 523);
+            this.tbx_notification.Size = new System.Drawing.Size(314, 507);
             this.tbx_notification.TabIndex = 0;
             this.tbx_notification.TabIndex = 0;
             // 
             // 
             // progressBar1
             // progressBar1
             // 
             // 
             this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.progressBar1.Location = new System.Drawing.Point(0, 523);
+            this.progressBar1.Location = new System.Drawing.Point(0, 507);
             this.progressBar1.Name = "progressBar1";
             this.progressBar1.Name = "progressBar1";
             this.progressBar1.Size = new System.Drawing.Size(314, 21);
             this.progressBar1.Size = new System.Drawing.Size(314, 21);
             this.progressBar1.Step = 20;
             this.progressBar1.Step = 20;
@@ -718,14 +728,14 @@
             this.dockSite_menu.Dock = System.Windows.Forms.DockStyle.Top;
             this.dockSite_menu.Dock = System.Windows.Forms.DockStyle.Top;
             this.dockSite_menu.Location = new System.Drawing.Point(0, 0);
             this.dockSite_menu.Location = new System.Drawing.Point(0, 0);
             this.dockSite_menu.Name = "dockSite_menu";
             this.dockSite_menu.Name = "dockSite_menu";
-            this.dockSite_menu.Size = new System.Drawing.Size(1194, 98);
+            this.dockSite_menu.Size = new System.Drawing.Size(1194, 114);
             this.dockSite_menu.TabIndex = 6;
             this.dockSite_menu.TabIndex = 6;
             this.dockSite_menu.TabStop = false;
             this.dockSite_menu.TabStop = false;
             // 
             // 
             // bar_Menu
             // bar_Menu
             // 
             // 
-            this.bar_Menu.AccessibleDescription = "DotNetBar Bar (bar_Menu)";
-            this.bar_Menu.AccessibleName = "DotNetBar Bar";
+            this.bar_Menu.AccessibleDescription = "bar1 (bar_Menu)";
+            this.bar_Menu.AccessibleName = "bar1";
             this.bar_Menu.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar;
             this.bar_Menu.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar;
             this.bar_Menu.DockSide = DevComponents.DotNetBar.eDockSide.Top;
             this.bar_Menu.DockSide = DevComponents.DotNetBar.eDockSide.Top;
             this.bar_Menu.Font = new System.Drawing.Font("微软雅黑", 9F);
             this.bar_Menu.Font = new System.Drawing.Font("微软雅黑", 9F);
@@ -908,8 +918,8 @@
             // 
             // 
             // bar_shortcut
             // bar_shortcut
             // 
             // 
-            this.bar_shortcut.AccessibleDescription = "DotNetBar Bar (bar_shortcut)";
-            this.bar_shortcut.AccessibleName = "DotNetBar Bar";
+            this.bar_shortcut.AccessibleDescription = "bar1 (bar_shortcut)";
+            this.bar_shortcut.AccessibleName = "bar1";
             this.bar_shortcut.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar;
             this.bar_shortcut.AccessibleRole = System.Windows.Forms.AccessibleRole.MenuBar;
             this.bar_shortcut.AutoHide = true;
             this.bar_shortcut.AutoHide = true;
             this.bar_shortcut.AutoHideAnimationTime = 300;
             this.bar_shortcut.AutoHideAnimationTime = 300;
@@ -927,7 +937,7 @@
             this.bar_shortcut.Location = new System.Drawing.Point(0, 25);
             this.bar_shortcut.Location = new System.Drawing.Point(0, 25);
             this.bar_shortcut.MenuBar = true;
             this.bar_shortcut.MenuBar = true;
             this.bar_shortcut.Name = "bar_shortcut";
             this.bar_shortcut.Name = "bar_shortcut";
-            this.bar_shortcut.Size = new System.Drawing.Size(1194, 72);
+            this.bar_shortcut.Size = new System.Drawing.Size(1194, 88);
             this.bar_shortcut.Stretch = true;
             this.bar_shortcut.Stretch = true;
             this.bar_shortcut.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_shortcut.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
             this.bar_shortcut.TabIndex = 1;
             this.bar_shortcut.TabIndex = 1;
@@ -940,72 +950,27 @@
             this.panel_freeSpace.Dock = System.Windows.Forms.DockStyle.Right;
             this.panel_freeSpace.Dock = System.Windows.Forms.DockStyle.Right;
             this.panel_freeSpace.Location = new System.Drawing.Point(874, 0);
             this.panel_freeSpace.Location = new System.Drawing.Point(874, 0);
             this.panel_freeSpace.Name = "panel_freeSpace";
             this.panel_freeSpace.Name = "panel_freeSpace";
-            this.panel_freeSpace.Size = new System.Drawing.Size(320, 72);
+            this.panel_freeSpace.Size = new System.Drawing.Size(320, 88);
             this.panel_freeSpace.TabIndex = 3;
             this.panel_freeSpace.TabIndex = 3;
             // 
             // 
             // lbx_freeSpace
             // lbx_freeSpace
             // 
             // 
-            this.lbx_freeSpace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
             this.lbx_freeSpace.BackColor = System.Drawing.SystemColors.WindowFrame;
             this.lbx_freeSpace.BackColor = System.Drawing.SystemColors.WindowFrame;
             // 
             // 
             // 
             // 
             // 
             // 
             this.lbx_freeSpace.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
             this.lbx_freeSpace.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+            this.lbx_freeSpace.Dock = System.Windows.Forms.DockStyle.Fill;
             this.lbx_freeSpace.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lbx_freeSpace.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.lbx_freeSpace.FontBold = true;
             this.lbx_freeSpace.FontBold = true;
             this.lbx_freeSpace.ForeColor = System.Drawing.SystemColors.ActiveCaption;
             this.lbx_freeSpace.ForeColor = System.Drawing.SystemColors.ActiveCaption;
             this.lbx_freeSpace.Location = new System.Drawing.Point(0, 0);
             this.lbx_freeSpace.Location = new System.Drawing.Point(0, 0);
             this.lbx_freeSpace.Name = "lbx_freeSpace";
             this.lbx_freeSpace.Name = "lbx_freeSpace";
-            this.lbx_freeSpace.Size = new System.Drawing.Size(320, 73);
+            this.lbx_freeSpace.Size = new System.Drawing.Size(320, 88);
             this.lbx_freeSpace.TabIndex = 2;
             this.lbx_freeSpace.TabIndex = 2;
             this.lbx_freeSpace.Text = "currentFreeSpace";
             this.lbx_freeSpace.Text = "currentFreeSpace";
             this.lbx_freeSpace.TextAlignment = System.Drawing.StringAlignment.Center;
             this.lbx_freeSpace.TextAlignment = System.Drawing.StringAlignment.Center;
             // 
             // 
-            // shortcut_login
-            // 
-            this.shortcut_login.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
-            this.shortcut_login.Image = global::centralController.Properties.Resources.pc;
-            this.shortcut_login.Name = "shortcut_login";
-            this.shortcut_login.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
-            this.shortcut_login.ShowSubItems = false;
-            this.shortcut_login.Text = "登录";
-            // 
-            // shortcut_logout
-            // 
-            this.shortcut_logout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
-            this.shortcut_logout.Image = global::centralController.Properties.Resources.monitor;
-            this.shortcut_logout.Name = "shortcut_logout";
-            this.shortcut_logout.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
-            this.shortcut_logout.ShowSubItems = false;
-            this.shortcut_logout.Text = "登出";
-            // 
-            // shortcut_sysInfo
-            // 
-            this.shortcut_sysInfo.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
-            this.shortcut_sysInfo.Image = global::centralController.Properties.Resources.sysExplain;
-            this.shortcut_sysInfo.Name = "shortcut_sysInfo";
-            this.shortcut_sysInfo.ShowSubItems = false;
-            this.shortcut_sysInfo.Text = "系统信息";
-            this.shortcut_sysInfo.Click += new System.EventHandler(this.shortcut_sysInfo_Click);
-            // 
-            // shortcut_about
-            // 
-            this.shortcut_about.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
-            this.shortcut_about.Image = global::centralController.Properties.Resources.about;
-            this.shortcut_about.Name = "shortcut_about";
-            this.shortcut_about.ShowSubItems = false;
-            this.shortcut_about.Text = "关于我们";
-            // 
-            // shortcut_close
-            // 
-            this.shortcut_close.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
-            this.shortcut_close.Image = global::centralController.Properties.Resources.close;
-            this.shortcut_close.Name = "shortcut_close";
-            this.shortcut_close.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
-            this.shortcut_close.ShowSubItems = false;
-            this.shortcut_close.Text = "退出";
-            this.shortcut_close.Click += new System.EventHandler(this.shortcut_close_Click);
-            // 
             // dockSite3
             // dockSite3
             // 
             // 
             this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
             this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window;
@@ -1119,6 +1084,64 @@
             this.controlContainerItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways;
             this.controlContainerItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways;
             this.controlContainerItem1.Name = "controlContainerItem1";
             this.controlContainerItem1.Name = "controlContainerItem1";
             // 
             // 
+            // pictureBox1
+            // 
+            this.pictureBox1.Location = new System.Drawing.Point(3, 36);
+            this.pictureBox1.Name = "pictureBox1";
+            this.pictureBox1.Size = new System.Drawing.Size(179, 127);
+            this.pictureBox1.TabIndex = 2;
+            this.pictureBox1.TabStop = false;
+            // 
+            // shortcut_login
+            // 
+            this.shortcut_login.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+            this.shortcut_login.Image = global::centralController.Properties.Resources.pc;
+            this.shortcut_login.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+            this.shortcut_login.Name = "shortcut_login";
+            this.shortcut_login.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
+            this.shortcut_login.ShowSubItems = false;
+            this.shortcut_login.Text = "登录";
+            // 
+            // shortcut_logout
+            // 
+            this.shortcut_logout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+            this.shortcut_logout.Image = global::centralController.Properties.Resources.monitor;
+            this.shortcut_logout.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+            this.shortcut_logout.Name = "shortcut_logout";
+            this.shortcut_logout.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
+            this.shortcut_logout.ShowSubItems = false;
+            this.shortcut_logout.Text = "登出";
+            // 
+            // shortcut_sysInfo
+            // 
+            this.shortcut_sysInfo.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+            this.shortcut_sysInfo.Image = global::centralController.Properties.Resources.sysExplain1;
+            this.shortcut_sysInfo.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+            this.shortcut_sysInfo.Name = "shortcut_sysInfo";
+            this.shortcut_sysInfo.ShowSubItems = false;
+            this.shortcut_sysInfo.Text = "系统信息";
+            this.shortcut_sysInfo.Click += new System.EventHandler(this.shortcut_sysInfo_Click);
+            // 
+            // shortcut_about
+            // 
+            this.shortcut_about.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+            this.shortcut_about.Image = global::centralController.Properties.Resources.about;
+            this.shortcut_about.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+            this.shortcut_about.Name = "shortcut_about";
+            this.shortcut_about.ShowSubItems = false;
+            this.shortcut_about.Text = "关于我们";
+            // 
+            // shortcut_close
+            // 
+            this.shortcut_close.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
+            this.shortcut_close.Image = global::centralController.Properties.Resources.close;
+            this.shortcut_close.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
+            this.shortcut_close.Name = "shortcut_close";
+            this.shortcut_close.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
+            this.shortcut_close.ShowSubItems = false;
+            this.shortcut_close.Text = "退出";
+            this.shortcut_close.Click += new System.EventHandler(this.shortcut_close_Click);
+            // 
             // centralController
             // centralController
             // 
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -1148,7 +1171,6 @@
             this.testPanel.ResumeLayout(false);
             this.testPanel.ResumeLayout(false);
             this.testPanel.PerformLayout();
             this.testPanel.PerformLayout();
             this.tableLayoutPanel1.ResumeLayout(false);
             this.tableLayoutPanel1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_bottom)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_bottom)).EndInit();
             this.bar_bottom.ResumeLayout(false);
             this.bar_bottom.ResumeLayout(false);
             this.RecordsMonitorPanel.ResumeLayout(false);
             this.RecordsMonitorPanel.ResumeLayout(false);
@@ -1164,6 +1186,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.bar_shortcut)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.bar_shortcut)).EndInit();
             this.bar_shortcut.ResumeLayout(false);
             this.bar_shortcut.ResumeLayout(false);
             this.panel_freeSpace.ResumeLayout(false);
             this.panel_freeSpace.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
             this.ResumeLayout(false);
             this.ResumeLayout(false);
 
 
         }
         }

+ 1 - 1
PLCLinker/centralController/FormCentralController.resx

@@ -148,7 +148,7 @@
     <value>True</value>
     <value>True</value>
   </metadata>
   </metadata>
   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>90</value>
+    <value>25</value>
   </metadata>
   </metadata>
   <metadata name="bar_notification.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
   <metadata name="bar_notification.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
     <value>True</value>

+ 63 - 50
PLCLinker/centralController/Monitor/Monitor.cs

@@ -96,75 +96,88 @@ namespace Monitor
 
 
         private void PLCUpdate()
         private void PLCUpdate()
         {
         {
+            int linkCount = 0;
             while (!isClosing)
             while (!isClosing)
             {
             {
-                if (PLC != null && PLC.isConnected)
+                if (PLC != null)
                 {
                 {
-                    List<object> received = PLC.ReadFromPLC(PLCDataType.terminal, 0);
-                    //首先获取所有终端信息
-                    try
+                    if (PLC.isConnected)
                     {
                     {
-                        //终端总数相同
-                        if (Terminal.Terminal.terminalInfo.Count == plcTerminalCount)
+                        linkCount = 0;
+                        List<object> received = PLC.ReadFromPLC(PLCDataType.terminal, 0);
+                        //首先获取所有终端信息
+                        try
                         {
                         {
-                            for (int i = 0; i < plcTerminalCount; i++)
+                            //终端总数相同
+                            if (Terminal.Terminal.terminalInfo.Count == plcTerminalCount)
                             {
                             {
-                                //一旦发现差异立刻更新
-                                if (!Terminal.Terminal.terminalInfo[i].Equals(received[i]))
+                                for (int i = 0; i < plcTerminalCount; i++)
                                 {
                                 {
-                                    Terminal.Terminal.terminalInfo[i] = (TerminalStru)received[i];
+                                    //一旦发现差异立刻更新
+                                    if (!Terminal.Terminal.terminalInfo[i].Equals(received[i]))
+                                    {
+                                        Terminal.Terminal.terminalInfo[i] = (TerminalStru)received[i];
+                                    }
                                 }
                                 }
                             }
                             }
-                        }
-                        else
-                        {
-                            //初始化终端信息列表
-                            Terminal.Terminal.terminalInfo.Clear();
-                            for (int i = 0; i < plcTerminalCount; i++)
+                            else
                             {
                             {
-                                Terminal.Terminal.terminalInfo.Add((TerminalStru)received[i]);
-                                Terminal.Terminal.termUsedMap.Add(((TerminalStru)received[i]).terminalID, false);
+                                //初始化终端信息列表
+                                Terminal.Terminal.terminalInfo.Clear();
+                                for (int i = 0; i < plcTerminalCount; i++)
+                                {
+                                    Terminal.Terminal.terminalInfo.Add((TerminalStru)received[i]);
+                                    Terminal.Terminal.termUsedMap.Add(((TerminalStru)received[i]).terminalID, false);
+                                }
                             }
                             }
                         }
                         }
-                    }
-                    catch (Exception e) { Console.WriteLine("PLC监控终端数据," + e.Message); }
-                    //接下来获取中控监控信息
-                    try
-                    {
-                        received = PLC.ReadFromPLC(PLCDataType.central, 0);
-                        if (received.Count > 0 && !mainBlockInfo.Equals(received[0]))
+                        catch (Exception e) { Console.WriteLine("PLC监控终端数据," + e.Message); }
+                        //接下来获取中控监控信息
+                        try
                         {
                         {
-                            mainBlockInfo = (MainBlockStru)received[0];
+                            received = PLC.ReadFromPLC(PLCDataType.central, 0);
+                            if (received.Count > 0 && !mainBlockInfo.Equals(received[0]))
+                            {
+                                mainBlockInfo = (MainBlockStru)received[0];
+                            }
                         }
                         }
-                    }
-                    catch (Exception e) { Console.WriteLine("PLC监控中控数据," + e.Message); }
-                    //最后获得所有车位信息
-                    try
-                    {
-                        received = PLC.ReadFromPLC(PLCDataType.parkingSpace, 0);
-                        //Console.WriteLine(parkingSpaceInfo.Count+","+ plcParkingSpaceCount);
-                        //车位总数相同
-                        if (parkingSpaceInfo.Count == plcParkingSpaceCount)
+                        catch (Exception e) { Console.WriteLine("PLC监控中控数据," + e.Message); }
+                        //最后获得所有车位信息
+                        try
                         {
                         {
-                            for (int i = 0; i < plcParkingSpaceCount; i++)
+                            received = PLC.ReadFromPLC(PLCDataType.parkingSpace, 0);
+                            //Console.WriteLine(parkingSpaceInfo.Count+","+ plcParkingSpaceCount);
+                            //车位总数相同
+                            if (parkingSpaceInfo.Count == plcParkingSpaceCount)
                             {
                             {
-                                //一旦发现差异立刻更新
-                                if (!parkingSpaceInfo[i].Equals(received[i]))
+                                for (int i = 0; i < plcParkingSpaceCount; i++)
                                 {
                                 {
-                                    parkingSpaceInfo[i] = (ParkingSpaceStru)received[i];
+                                    //一旦发现差异立刻更新
+                                    if (!parkingSpaceInfo[i].Equals(received[i]))
+                                    {
+                                        parkingSpaceInfo[i] = (ParkingSpaceStru)received[i];
+                                    }
                                 }
                                 }
                             }
                             }
-                        }
-                        else
-                        {
-                            parkingSpaceInfo.Clear();
-                            for (int i = 0; i < plcParkingSpaceCount; i++)
+                            else
                             {
                             {
-                                parkingSpaceInfo.Add((ParkingSpaceStru)received[i]);
+                                parkingSpaceInfo.Clear();
+                                for (int i = 0; i < plcParkingSpaceCount; i++)
+                                {
+                                    parkingSpaceInfo.Add((ParkingSpaceStru)received[i]);
+                                }
                             }
                             }
                         }
                         }
+                        catch (Exception e) { Console.WriteLine("PLC监控车位数据," + e.Message); }
+                    }
+                    else
+                    {
+                        linkCount += 1;
+                        if (linkCount == 1)
+                        {
+                            AddNotification("PLC掉线,请检查连接");
+                        }
                     }
                     }
-                    catch (Exception e) { Console.WriteLine("PLC监控车位数据," + e.Message); }
                 }
                 }
                 Thread.Sleep(500);
                 Thread.Sleep(500);
             }
             }
@@ -369,7 +382,7 @@ namespace Monitor
         /// 返回停车记录信息
         /// 返回停车记录信息
         /// </summary>
         /// </summary>
         /// <returns></returns>
         /// <returns></returns>
-        public static List<object[]> GetParkingRecords(string license="",string startTime = "",string endTime = "")
+        public static List<object[]> GetParkingRecords(string license = "", string startTime = "", string endTime = "")
         {
         {
             DateTime now = DateTime.Now;
             DateTime now = DateTime.Now;
             List<object[]> result = new List<object[]>();
             List<object[]> result = new List<object[]>();
@@ -379,14 +392,14 @@ namespace Monitor
                 DateTime yesterday = DateTime.Now - (new TimeSpan(1, 0, 0, 0));
                 DateTime yesterday = DateTime.Now - (new TimeSpan(1, 0, 0, 0));
                 DateTime twoDaysAgo = DateTime.Now - (new TimeSpan(2, 0, 0, 0));
                 DateTime twoDaysAgo = DateTime.Now - (new TimeSpan(2, 0, 0, 0));
                 getParkingRecordsSql = "select parkingRecordsID,userID,numberPlate,parkingSpaceID,realParkTime,realGetTime,receiptNum,parkingPrice " +
                 getParkingRecordsSql = "select parkingRecordsID,userID,numberPlate,parkingSpaceID,realParkTime,realGetTime,receiptNum,parkingPrice " +
-                "from parkingrecords where numberPlate "+(license==""? "like '%" : "= '"+license)+"' and (realParkTime like '" + now.ToString("yyyy-MM-dd") + "%' or realParkTime like '" + yesterday.ToString("yyyy-MM-dd") + "%' or realParkTime like '" + twoDaysAgo.ToString("yyyy-MM-dd") + "%');";
+                "from parkingrecords where numberPlate " + (license == "" ? "like '%" : "= '" + license) + "' and (realParkTime like '" + now.ToString("yyyy-MM-dd") + "%' or realParkTime like '" + yesterday.ToString("yyyy-MM-dd") + "%' or realParkTime like '" + twoDaysAgo.ToString("yyyy-MM-dd") + "%');";
             }
             }
             else
             else
             {
             {
                 getParkingRecordsSql = "select parkingRecordsID,userID,numberPlate,parkingSpaceID,realParkTime,realGetTime,receiptNum,parkingPrice " +
                 getParkingRecordsSql = "select parkingRecordsID,userID,numberPlate,parkingSpaceID,realParkTime,realGetTime,receiptNum,parkingPrice " +
-                "from parkingrecords where numberPlate " + (license == "" ? "like '%" : "= '" + license) + "' and realParkTime >= '" + startTime + "' and realParkTime <= '"+endTime+"';";
+                "from parkingrecords where numberPlate " + (license == "" ? "like '%" : "= '" + license) + "' and realParkTime >= '" + startTime + "' and realParkTime <= '" + endTime + "';";
             }
             }
-            
+
             if (localDBOper != null)
             if (localDBOper != null)
             {
             {
                 lock (localDBOper)
                 lock (localDBOper)

+ 10 - 0
PLCLinker/centralController/Properties/Resources.Designer.cs

@@ -139,5 +139,15 @@ namespace centralController.Properties {
                 return ((System.Drawing.Bitmap)(obj));
                 return ((System.Drawing.Bitmap)(obj));
             }
             }
         }
         }
+        
+        /// <summary>
+        ///   查找 System.Drawing.Bitmap 类型的本地化资源。
+        /// </summary>
+        internal static System.Drawing.Bitmap sysExplain1 {
+            get {
+                object obj = ResourceManager.GetObject("sysExplain1", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
     }
     }
 }
 }

+ 13 - 10
PLCLinker/centralController/Properties/Resources.resx

@@ -118,28 +118,31 @@
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   </resheader>
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
   <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\resource\image\menu\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="sysExplain" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\resource\image\menu\sysExplain.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="monitor" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\resource\image\map\monitor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
   <data name="circulate" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="circulate" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\resource\image\map\circulate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\resource\image\map\circulate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="circulate2" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\resource\image\map\circulate2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
-  </data>
   <data name="close" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="close" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\resource\image\menu\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\resource\image\menu\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="monitor" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\resource\image\map\monitor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="pc" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\resource\image\map\pc.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
   <data name="openFile" type="System.Resources.ResXFileRef, System.Windows.Forms">
   <data name="openFile" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\resource\image\menu\openFile.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\resource\image\menu\openFile.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="pc" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\resource\image\map\pc.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  <data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\resource\image\menu\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
-  <data name="sysExplain" type="System.Resources.ResXFileRef, System.Windows.Forms">
+  <data name="circulate2" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\resource\image\map\circulate2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="sysExplain1" type="System.Resources.ResXFileRef, System.Windows.Forms">
     <value>..\resource\image\menu\sysExplain.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
     <value>..\resource\image\menu\sysExplain.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
   </data>
   </data>
 </root>
 </root>

BIN=BIN
PLCLinker/centralController/bin/Release/centralController.exe


BIN=BIN
PLCLinker/centralController/bin/Release/centralController.pdb


BIN=BIN
PLCLinker/centralController/obj/Release/centralController.Properties.Resources.resources


BIN=BIN
PLCLinker/centralController/obj/Release/centralController.csproj.GenerateResource.Cache


BIN=BIN
PLCLinker/centralController/obj/Release/centralController.exe


BIN=BIN
PLCLinker/centralController/obj/Release/centralController.pdb


BIN=BIN
PLCLinker/centralController/resource/image/menu/sysExplain.png