..
This commit is contained in:
@@ -39,7 +39,9 @@ namespace Project
|
||||
if (PUB.sm.Step != eSMStep.HOME_FULL && PUB.sm.Step != eSMStep.HOME_QUICK)
|
||||
{
|
||||
// PUB.logKeyence.Add($"{resp.Replace("\n", "").Replace("\r", "")}");
|
||||
ParseBarcode(e.RawData, dev.Tag.ToString());
|
||||
var rawdata = e.RawData; //↔▲▼
|
||||
rawdata = rawdata.Replace('\x1D', '↔').Replace('\x1E', '▲').Replace('\x04', '▼');
|
||||
ParseBarcode(rawdata, dev.Tag.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -155,14 +157,14 @@ namespace Project
|
||||
foreach (var resp in frames)
|
||||
{
|
||||
var bcddata = resp.Trim().Split(',');
|
||||
if(resp.Equals("0:ERROR"))
|
||||
if (resp.Equals("0:ERROR"))
|
||||
{
|
||||
PUB.log.AddE($"[{Source}] {resp}");
|
||||
continue;
|
||||
}
|
||||
else if (bcddata.Length > 2 && bcddata[1] == "BLOAD")
|
||||
{
|
||||
if(bcddata[0] =="ER")
|
||||
if (bcddata[0] == "ER")
|
||||
{
|
||||
PUB.log.AddE($"[{Source}]Bacode Memory Read Error({resp})");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user