Просмотр исходного кода

V1.0.2
增加剩余充电时间的显示。

Dail 1 год назад
Родитель
Сommit
364026b7e9

BIN
.vs/MOTINOVA_MC_Test/v17/.suo


+ 1 - 1
MOTINOVA_MC_Test/Form1.Designer.cs

@@ -773,7 +773,7 @@
             this.MaximizeBox = false;
             this.Name = "Form1";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
-            this.Text = "MOTINOVA_BMS_Test_V1.0.1";
+            this.Text = "MOTINOVA_BMS_Test_V1.0.2";
             this.Load += new System.EventHandler(this.Form1_Load);
             this.groupBox1.ResumeLayout(false);
             this.groupBox1.PerformLayout();

+ 2 - 0
MOTINOVA_MC_Test/Form1.cs

@@ -401,6 +401,8 @@ namespace MOTINOVA_MC_Test
                                 richTextBox_Data.Text += "剩余寿命: " + DataTemp.ToString() + " %\r\n";
                                 DataTemp = (ushort)(binary_data_1[15] * 256 + binary_data_1[14]);//循环次数
                                 richTextBox_Data.Text += "循环次数: " + DataTemp.ToString() + " \r\n";
+                                DataTemp = (ushort)(binary_data_1[17] * 256 + binary_data_1[16]);//剩余充电时间
+                                richTextBox_Data.Text += "剩余充电时间: " + DataTemp.ToString() + " min\r\n";
                             }));
                         }
                         break;

BIN
MOTINOVA_MC_Test/bin/Debug/MOTINOVA_BMS_Test.pdb


BIN
MOTINOVA_MC_Test/bin/Debug/MOTINOVA_BMS_Test.exe → MOTINOVA_MC_Test/bin/Debug/MOTINOVA_BMS_Test_V1.0.2.exe


BIN
MOTINOVA_MC_Test/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
MOTINOVA_MC_Test/obj/Debug/MOTINOVA_BMS_Test.exe


BIN
MOTINOVA_MC_Test/obj/Debug/MOTINOVA_BMS_Test.pdb


BIN
MOTINOVA_MC_Test/obj/Debug/MOTINOVA_MC_Test.csproj.AssemblyReference.cache


BIN
MOTINOVA_MC_Test/obj/Debug/MOTINOVA_MC_Test.csproj.GenerateResource.cache