|
@@ -5169,6 +5169,13 @@ namespace MOKA_Factory_Tools
|
|
|
Thread.Sleep(FunctionSettingNow.Wait_after_completion);
|
|
|
SetsuccessStatus(ResultStatus);
|
|
|
end:
|
|
|
+ // 退出工厂模式;
|
|
|
+ if ( !SerialCMD.LeaveFactory(TVPort, out result, out data, out error, SerailDelay) )
|
|
|
+ {
|
|
|
+ ErrMsg = string.Format("LeaveFactory Fail\r\n{1}", SN);
|
|
|
+ Log.WriteErrorLog(ErrMsg);
|
|
|
+ }
|
|
|
+
|
|
|
#region 只有惠州工厂才启用G客户防呆措施;
|
|
|
if (FunctionSettingNow.NTF)
|
|
|
{
|