|
@@ -3804,7 +3804,7 @@ namespace MOKA_Factory_Tools
|
|
|
// ACAS Key抄写;
|
|
|
if (WriteACASKey.Checked)
|
|
|
{
|
|
|
- byte[] ACASKeyData = Encoding.ASCII.GetBytes(keyInfo.ACASKey);
|
|
|
+ byte[] ACASKeyData = SerialInit.HexToByte(keyInfo.ACASKey);
|
|
|
Log.WriteInfoLog("Write ACAC Key...");
|
|
|
if (SerialCMD.SetACASKey(TVPort, ACASKeyData, out result, out data, out error, SerailDelay))
|
|
|
{
|
|
@@ -3827,7 +3827,7 @@ namespace MOKA_Factory_Tools
|
|
|
{
|
|
|
SetfailStatus(m_readACASKey);
|
|
|
Log.WriteErrorLog(SN + " contrast ACAS Key fail");
|
|
|
- MessageBox.Show(LResource.ContrastEDIDModelNameError);
|
|
|
+ MessageBox.Show(LResource.ContrastACASKeyError);
|
|
|
goto end;
|
|
|
}
|
|
|
}
|
|
@@ -3836,7 +3836,7 @@ namespace MOKA_Factory_Tools
|
|
|
{
|
|
|
SetfailStatus(m_readACASKey);
|
|
|
Log.WriteErrorLog(SN + " read ACAS Key fail");
|
|
|
- MessageBox.Show(LResource.ReadEDIDModelNameError);
|
|
|
+ MessageBox.Show(LResource.ReadACASKeyError);
|
|
|
goto end;
|
|
|
}
|
|
|
}
|
|
@@ -3844,7 +3844,7 @@ namespace MOKA_Factory_Tools
|
|
|
{
|
|
|
SetfailStatus(m_checkACASKey);
|
|
|
Log.WriteErrorLog(SN + " Check ACAS Key fail");
|
|
|
- MessageBox.Show(LResource.WriteEDIDModelNameError);
|
|
|
+ MessageBox.Show(LResource.WriteACASKeyError);
|
|
|
goto end;
|
|
|
}
|
|
|
}
|
|
@@ -3852,7 +3852,7 @@ namespace MOKA_Factory_Tools
|
|
|
{
|
|
|
SetfailStatus(m_writeACASKey);
|
|
|
Log.WriteErrorLog(SN + " Write ACAS Key fail");
|
|
|
- MessageBox.Show(LResource.WriteEDIDModelNameError);
|
|
|
+ MessageBox.Show(LResource.WriteACASKeyError);
|
|
|
goto end;
|
|
|
}
|
|
|
}
|