Jelajahi Sumber

生产配置时增加确认

dail 3 tahun lalu
induk
melakukan
913f34b774

TEMPAT SAMPAH
.vs/MOTINOVA_Motor_Factory_Set/v17/.suo


+ 9 - 0
ExportForm.cs

@@ -511,12 +511,21 @@ namespace MOTINOVA_Motor_Factory_Set
 
         private void button_Default_Click(object sender, EventArgs e)
         {
+            if (MessageBox.Show("确认恢复默认值?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)
+            {
+                return;
+            }
             SetDefault();
             ParamsDisplayUpdate();
         }
 
         private void button_Generate_Click(object sender, EventArgs e)
         {
+            if (MessageBox.Show("确认提交?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)
+            {
+                return;
+            }
+            
             //空间内容更新到字典
             if (DisplaySetToParams() == false)
             {

+ 25 - 25
ManageForm.Designer.cs

@@ -30,20 +30,19 @@
         {
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ManageForm));
             this.groupBox_File = new System.Windows.Forms.GroupBox();
+            this.button_SetPath = new System.Windows.Forms.Button();
+            this.textBox_LocalPath = new System.Windows.Forms.TextBox();
             this.comboBox_Date = new System.Windows.Forms.ComboBox();
             this.richTextBox1 = new System.Windows.Forms.RichTextBox();
             this.listBox_File = new System.Windows.Forms.ListBox();
             this.label2 = new System.Windows.Forms.Label();
             this.button_Delete = new System.Windows.Forms.Button();
             this.button_OpenFile = new System.Windows.Forms.Button();
-            this.textBox_LocalPath = new System.Windows.Forms.TextBox();
-            this.button_SetPath = new System.Windows.Forms.Button();
             this.groupBox_File.SuspendLayout();
             this.SuspendLayout();
             // 
             // groupBox_File
             // 
-            this.groupBox_File.Controls.Add(this.button_SetPath);
             this.groupBox_File.Controls.Add(this.textBox_LocalPath);
             this.groupBox_File.Controls.Add(this.comboBox_Date);
             this.groupBox_File.Controls.Add(this.richTextBox1);
@@ -56,6 +55,28 @@
             this.groupBox_File.TabStop = false;
             this.groupBox_File.Text = "可用配置文件";
             // 
+            // button_SetPath
+            // 
+            this.button_SetPath.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
+            this.button_SetPath.ForeColor = System.Drawing.Color.White;
+            this.button_SetPath.Location = new System.Drawing.Point(696, 28);
+            this.button_SetPath.Name = "button_SetPath";
+            this.button_SetPath.Size = new System.Drawing.Size(75, 50);
+            this.button_SetPath.TabIndex = 4;
+            this.button_SetPath.Text = "路径\r\n设置";
+            this.button_SetPath.UseVisualStyleBackColor = false;
+            this.button_SetPath.Click += new System.EventHandler(this.button_SetPath_Click);
+            // 
+            // textBox_LocalPath
+            // 
+            this.textBox_LocalPath.BackColor = System.Drawing.Color.White;
+            this.textBox_LocalPath.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
+            this.textBox_LocalPath.Location = new System.Drawing.Point(133, 28);
+            this.textBox_LocalPath.Name = "textBox_LocalPath";
+            this.textBox_LocalPath.Size = new System.Drawing.Size(530, 29);
+            this.textBox_LocalPath.TabIndex = 3;
+            this.textBox_LocalPath.Click += new System.EventHandler(this.textBox_LocalPath_Click);
+            // 
             // comboBox_Date
             // 
             this.comboBox_Date.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
@@ -125,34 +146,13 @@
             this.button_OpenFile.Visible = false;
             this.button_OpenFile.Click += new System.EventHandler(this.button_OpenFile_Click);
             // 
-            // textBox_LocalPath
-            // 
-            this.textBox_LocalPath.BackColor = System.Drawing.Color.White;
-            this.textBox_LocalPath.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
-            this.textBox_LocalPath.Location = new System.Drawing.Point(133, 28);
-            this.textBox_LocalPath.Name = "textBox_LocalPath";
-            this.textBox_LocalPath.Size = new System.Drawing.Size(460, 29);
-            this.textBox_LocalPath.TabIndex = 3;
-            this.textBox_LocalPath.Click += new System.EventHandler(this.textBox_LocalPath_Click);
-            // 
-            // button_SetPath
-            // 
-            this.button_SetPath.BackColor = System.Drawing.SystemColors.Control;
-            this.button_SetPath.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(113)))), ((int)(((byte)(185)))));
-            this.button_SetPath.Location = new System.Drawing.Point(599, 28);
-            this.button_SetPath.Name = "button_SetPath";
-            this.button_SetPath.Size = new System.Drawing.Size(64, 29);
-            this.button_SetPath.TabIndex = 4;
-            this.button_SetPath.Text = "设置";
-            this.button_SetPath.UseVisualStyleBackColor = false;
-            this.button_SetPath.Click += new System.EventHandler(this.button_SetPath_Click);
-            // 
             // ManageForm
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackColor = System.Drawing.Color.White;
             this.ClientSize = new System.Drawing.Size(784, 562);
+            this.Controls.Add(this.button_SetPath);
             this.Controls.Add(this.label2);
             this.Controls.Add(this.button_OpenFile);
             this.Controls.Add(this.button_Delete);

+ 1 - 1
StartForm.Designer.cs

@@ -118,7 +118,7 @@
             this.label_Ver.Name = "label_Ver";
             this.label_Ver.Size = new System.Drawing.Size(316, 21);
             this.label_Ver.TabIndex = 2;
-            this.label_Ver.Text = "Ver: V1.3.6 Build Time: 2022-03-23 12:04";
+            this.label_Ver.Text = "Ver: V1.3.7 Build Time: 2022-04-11 10:04";
             // 
             // label_NetStatus
             // 

+ 1 - 1
bin/Debug/MOTINOVA_Motor_Factory_Set.application

@@ -14,7 +14,7 @@
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
         </dsig:Transforms>
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
-        <dsig:DigestValue>nbqAPNKLDPSzHidZq/qva3NtF9+aMrOQFUUuN8Lo5CU=</dsig:DigestValue>
+        <dsig:DigestValue>2YLGqbCWdeyUVfPk4wypEImOInUrJ4a5TwgJAfYvh9Y=</dsig:DigestValue>
       </hash>
     </dependentAssembly>
   </dependency>

TEMPAT SAMPAH
bin/Debug/MOTINOVA_Motor_Factory_Set.exe


+ 1 - 1
bin/Debug/MOTINOVA_Motor_Factory_Set.exe.manifest

@@ -49,7 +49,7 @@
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
         </dsig:Transforms>
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
-        <dsig:DigestValue>f2pT/k/n0y6NdeyXBsHVQKqzLcm4KSv/u3dVjqw6cZg=</dsig:DigestValue>
+        <dsig:DigestValue>Uz1t1SyLiM8u01RqmRnoFXXzBeiMmOk1beCl8UQYjgw=</dsig:DigestValue>
       </hash>
     </dependentAssembly>
   </dependency>

TEMPAT SAMPAH
bin/Debug/MOTINOVA_Motor_Factory_Set.pdb


+ 1 - 1
bin/Debug/SerialNum

@@ -1,2 +1,2 @@
 流水号:
-94
+107

+ 8 - 8
bin/Debug/Server

@@ -1,11 +1,3 @@
-#虚拟机
-IP=192.168.1.246
-PORT=21
-USER=hero
-PASSWD=1229
-ROOT=/home/hero/MOTINOVA_MC_Factory_Set
-LOCAL=ENABLE
-
 #内部服务器
 IP=192.168.1.74
 PORT=21
@@ -14,6 +6,14 @@ PASSWD=ttium
 ROOT=MOTINOVA_MC_Factory_Set
 LOCAL=ENABLE
 
+#虚拟机
+IP=192.168.1.246
+PORT=21
+USER=hero
+PASSWD=1229
+ROOT=/home/hero/MOTINOVA_MC_Factory_Set
+LOCAL=ENABLE
+
 #阿里云
 IP=47.105.122.91
 PORT=21

TEMPAT SAMPAH
bin/Debug/app.publish/MOTINOVA_Motor_Factory_Set.exe


TEMPAT SAMPAH
bin/Debug/发布文件20220411/MOTINOVA_Motor_Factory_Set_20220411.exe


+ 1 - 1
obj/Debug/MOTINOVA_Motor_Factory_Set.application

@@ -14,7 +14,7 @@
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
         </dsig:Transforms>
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
-        <dsig:DigestValue>nbqAPNKLDPSzHidZq/qva3NtF9+aMrOQFUUuN8Lo5CU=</dsig:DigestValue>
+        <dsig:DigestValue>2YLGqbCWdeyUVfPk4wypEImOInUrJ4a5TwgJAfYvh9Y=</dsig:DigestValue>
       </hash>
     </dependentAssembly>
   </dependency>

TEMPAT SAMPAH
obj/Debug/MOTINOVA_Motor_Factory_Set.csproj.GenerateResource.cache


TEMPAT SAMPAH
obj/Debug/MOTINOVA_Motor_Factory_Set.exe


+ 1 - 1
obj/Debug/MOTINOVA_Motor_Factory_Set.exe.manifest

@@ -49,7 +49,7 @@
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
         </dsig:Transforms>
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
-        <dsig:DigestValue>f2pT/k/n0y6NdeyXBsHVQKqzLcm4KSv/u3dVjqw6cZg=</dsig:DigestValue>
+        <dsig:DigestValue>Uz1t1SyLiM8u01RqmRnoFXXzBeiMmOk1beCl8UQYjgw=</dsig:DigestValue>
       </hash>
     </dependentAssembly>
   </dependency>

TEMPAT SAMPAH
obj/Debug/MOTINOVA_Motor_Factory_Set.pdb