Browse Source

新增可配置的Config项。

sat23 3 years ago
parent
commit
b9cf88f983
1 changed files with 14 additions and 0 deletions
  1. 14 0
      SCBC Factory Tools/Models/StructList.cs

+ 14 - 0
SCBC Factory Tools/Models/StructList.cs

@@ -141,6 +141,9 @@ namespace MOKA_Factory_Tools
         public byte[] CoolRGB { get; set; }
         public byte[] WarmRGB { get; set; }
         public int EnterFactoryRetry { get; set; }
+        /// <summary>
+        /// 全部Key抄写成功后,且上报成功后等待多久控件可用;
+        /// </summary>
         public int Wait_after_completion { get; set; }
         public int LocalDidSize { get; set; }
         public int LocalMacSize { get; set; }
@@ -182,6 +185,17 @@ namespace MOKA_Factory_Tools
         /// 是否导出日本板卡的ACAS ID与SN号;
         /// </summary>
         public bool ExportSNACASID { get; set; } = false;
+
+        /// <summary>
+        /// 串口指令读超时值,单位毫秒;
+        /// </summary>
+        public int ReadTimeout { get; set; } = 3000;
+
+        /// <summary>
+        /// 串口完成一次指令的Write、Read后,下一条指令等待多久开始执行;
+        /// 单位:毫秒
+        /// </summary>
+        public int NextCommandWaitTime { get; set; } = 100;
     }
 
     public class KeyInfo