|
@@ -882,7 +882,7 @@ namespace MOKA_Factory_Tools
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
-#if !SIMULATION
|
|
|
+#if !SIMULATION && !OD_VER
|
|
|
if (CommonMethod.GetLoginAccout().Equals("Sanhua", StringComparison.OrdinalIgnoreCase))
|
|
|
{
|
|
|
string message = string.Empty;
|
|
@@ -1767,7 +1767,7 @@ namespace MOKA_Factory_Tools
|
|
|
string ErrMsg = "";
|
|
|
string psn = "";
|
|
|
string devicecode = "";
|
|
|
-#if !SIMULATION
|
|
|
+#if !SIMULATION && !OD_VER
|
|
|
//进工厂
|
|
|
if (!TVPort.IsOpen)
|
|
|
{
|
|
@@ -2223,7 +2223,7 @@ namespace MOKA_Factory_Tools
|
|
|
// 只用一个接口获取所有Key;
|
|
|
if (midListNow.keytype.ContainsKey("DSN"))
|
|
|
{
|
|
|
-#if !SIMULATION
|
|
|
+#if !SIMULATION && !OD_VER
|
|
|
// 读取dvicecode
|
|
|
if (SerialCMD.GetFireTVDevcieCode(TVPort, out result, out data, out error, SerailDelay))
|
|
|
{
|
|
@@ -2254,8 +2254,8 @@ namespace MOKA_Factory_Tools
|
|
|
goto end;
|
|
|
}
|
|
|
#else
|
|
|
- devicecode = "2C5";
|
|
|
- psn = keyInfo._PSN.data = "FZ7BBCP2A11XXNXM00008";
|
|
|
+ devicecode = "2C5";
|
|
|
+ psn = keyInfo._PSN.data = "FZ7BBCP2A11XXNXM00008";
|
|
|
#endif
|
|
|
}
|
|
|
|