Commit f5152a5a 刘韬

1

1 个父辈 35dcc71a
......@@ -87,7 +87,7 @@ namespace ScanCodeServer
}
public static List<CodeInfo> DecodeCode(HObject ho_Image, string symbolType, string hv_model_path, int codeCount, int timeOut = 1500)
{
Common.log.Debug("开始 DecodeCode[" + symbolType + "][" + codeCount + "][" + hv_model_path + "]");
Common.log.Info("开始 DecodeCode[" + symbolType + "][" + codeCount + "][" + hv_model_path + "]");
Stopwatch sw = new Stopwatch();
sw.Start();
List<CodeInfo> codeList = new List<CodeInfo>();
......@@ -154,7 +154,7 @@ namespace ScanCodeServer
}
}
sw.Stop();
Common.log.Debug("结束 DecodeCode[" + symbolType + "][" + codeCount + "]["+ (sw.ElapsedMilliseconds/1000f).ToString("0.00")+ "]返回数量:" + codeList.Count);
Common.log.Info("结束 DecodeCode[" + symbolType + "][" + codeCount + "]["+ (sw.ElapsedMilliseconds/1000f).ToString("0.00")+ "]返回数量:" + codeList.Count);
if (hv_Area != null)
{
......@@ -197,7 +197,7 @@ namespace ScanCodeServer
{
Common.log.Error("DecodeCode出错:" + ex.ToString());
Console.WriteLine("DecodeCode出错:" + ex.ToString());
Common.log.Debug(" DecodeCode[" + symbolType + "][" + hv_model_path + "][" + codeCount + "] 结束,返回数量:" + codeList.Count);
Common.log.Info(" DecodeCode[" + symbolType + "][" + hv_model_path + "][" + codeCount + "] 结束,返回数量:" + codeList.Count);
return codeList;
}
......@@ -316,7 +316,7 @@ namespace ScanCodeServer
}
public static List<CodeInfo> DecodeBarCode(HObject ho_Image)
{
Common.log.Debug("开始 DecodeCode[barcode]");
Common.log.Info("开始 DecodeCode[barcode]");
Stopwatch sw = new Stopwatch();
sw.Start();
List<CodeInfo> codeList = new List<CodeInfo>();
......@@ -378,7 +378,7 @@ namespace ScanCodeServer
}
sw.Stop();
Common.log.Debug("结束 DecodeCode[barcode][" + (sw.ElapsedMilliseconds / 1000f).ToString("0.00") + "]返回数量:" + codeList.Count);
Common.log.Info("结束 DecodeCode[barcode][" + (sw.ElapsedMilliseconds / 1000f).ToString("0.00") + "]返回数量:" + codeList.Count);
HOperatorSet.ClearBarCodeModel(hv_BarCodeHandle);
if (hv_Area != null)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!