|
@@ -104,7 +104,8 @@ namespace MOKA_Factory_Tools
|
|
|
this.mainform.KeyDownEvent += new KeyDownHandler(SetFocus);
|
|
|
if (midListNow.rokuCustomer != null)
|
|
|
ProductMsg_Text.Text = "Roku:";
|
|
|
- if (functionSetting.NTF)
|
|
|
+ //if (functionSetting.NTF)
|
|
|
+ if (CommonMethod.GetLoginAccout().Equals("HuiZhou",StringComparison.OrdinalIgnoreCase))
|
|
|
ntfBLL = new NTFBLL();
|
|
|
}
|
|
|
|
|
@@ -792,7 +793,7 @@ namespace MOKA_Factory_Tools
|
|
|
string strErrorMsg;
|
|
|
if (!CommonMethod.GetOrderTypeFromSN(SN, out strOrderType, out strErrorMsg))
|
|
|
{
|
|
|
- Verify dlg = new Verify("根据SN获取订单类型失败,停止测试!" + "\r\n" + SN);
|
|
|
+ Verify dlg = new Verify("根据SN获取订单类型失败,停止测试!" + "\r\nSN:" + SN);
|
|
|
dlg.ShowDialog();
|
|
|
Log.WriteErrorLog(string.Format("SN={0},错误={1}",SN, strErrorMsg));
|
|
|
SNText.Enabled = true;
|
|
@@ -2396,6 +2397,7 @@ namespace MOKA_Factory_Tools
|
|
|
{
|
|
|
ErrMsg = string.Format("Mac format error!\r\n{0}", mac);
|
|
|
Log.WriteErrorLog(ErrMsg);
|
|
|
+ goto end;
|
|
|
}
|
|
|
byte[] MacData = SerialInit.HexToByte(mac);
|
|
|
Log.WriteInfoLog("Write Mac...");
|