Commit 71bf9456 刘韬

1

1 个父辈 6e600050
正在显示 105 个修改的文件 包含 3688 行增加1214 行删除
......@@ -42,6 +42,18 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll</HintPath>
</Reference>
<Reference Include="ClosedXML, Version=0.96.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b, processorArchitecture=MSIL">
<HintPath>..\packages\ClosedXML.0.96.0\lib\net46\ClosedXML.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\ConfigHelper\ConfigHelper\bin\Debug\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
<HintPath>..\packages\DocumentFormat.OpenXml.2.16.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelNumberFormat.1.1.0\lib\net20\ExcelNumberFormat.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
</Reference>
......@@ -64,6 +76,7 @@
<Reference Include="TcpKPIO">
<HintPath>..\..\..\DllLibrary\第三方\泥人科技-网络继电器\TcpKPIO.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="zxing, Version=0.16.6.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
<HintPath>..\packages\ZXing.Net.0.16.6\lib\net461\zxing.dll</HintPath>
</Reference>
......@@ -85,7 +98,7 @@
<Compile Include="IO\IOManage.cs" />
<Compile Include="IO\IO_Interface.cs" />
<Compile Include="IO\KND.cs" />
<Compile Include="IO\NirenIO.cs" />
<Compile Include="IO\NiRenIO.cs" />
<Compile Include="MatchAnalysis.cs" />
<Compile Include="MonitorMouseKeyboard.cs" />
<Compile Include="NamedPipeClient.cs" />
......
using System;
using ConfigHelper;
using System;
namespace BLL
{
......@@ -242,7 +243,11 @@ namespace BLL
get => config.Read<string>(REEL_ID_POSTFIX);
set => config.Write(REEL_ID_POSTFIX, value);
}
public bool ReelIDAutoResetByDate
{
get => config.Read<bool>(REEL_ID_AutoResetByDate);
set => config.Write(REEL_ID_AutoResetByDate, value);
}
public string LockPassword
{
get => config.Read<string>(LOCK_PASSWORD);
......@@ -308,6 +313,26 @@ namespace BLL
get => config.Read<string>(IOModule);
set => config.Write(IOModule, value);
}
static Config() {
ConfigHelper.Config.LoadMyConfig(typeof(Config));
}
[MyConfigComment("数据源类型")]
public static MyConfig<string> DataSource_Type;
[MyConfigComment("数据源字符串")]
public static MyConfig<string> DataSource_String;
[MyConfigComment("数据源编码")]
public static MyConfig<string> DataSource_Encoding;
[MyConfigComment("数据源匹配Key")]
public static MyConfig<string> DataSource_DataKey;
[MyConfigComment("数据源列标题")]
public static MyConfig<string> DataSource_DataTitle;
[MyConfigComment("遍历数据源目录")]
public static MyConfig<bool> DataSource_Recursive;
public void Save()
{
config.Save();
......@@ -321,6 +346,8 @@ namespace BLL
private const string Smf_Server = "SmfServer";
private const string ClientID = "CID";
private const string IOModule = "IOModule";
private const string dataSourceType = "DataSourceType";
private const string dataSourceString = "dataSourceString";
private const string ENABLED_USER_LOGIN = "EnabledUserLogin";
private const string OPERATE_TIMEOUT = "OperateTimeout";
private const string CHECK_SHORTCUT = "CheckShortcut";
......@@ -347,6 +374,7 @@ namespace BLL
private const string REEL_ID_FILL_ZERO = "ReelIDFillZero";
private const string REEL_ID_PREFIX = "ReelIDPrefix";
private const string REEL_ID_POSTFIX = "ReelIDPostfix";
private const string REEL_ID_AutoResetByDate = "ReelIDAutoResetByDate";
private const string LOCK_PASSWORD = "LockPassword";
private const string EXTENSION_NAME = "ExtensionGroup";
private const string HTTP_SERVER = "HttpServer";
......
......@@ -215,9 +215,9 @@ namespace BLL
currentExtension.Clear();
}
public void SetKey(string[] originalCode, Dictionary<string, string> key,bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key,bool hasMatch, out string errmsg)
{
currentExtension.SetKey(originalCode, key, hasMatch);
return currentExtension.SetKey(originalCode, key, hasMatch, out errmsg);
}
public void Update()
......
......@@ -73,8 +73,9 @@ namespace BLL
Update();
}
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch,out string errmsg)
{
errmsg = "";
LogNet.log.Info("SetKey()");
for (int i = 0; i < extensions.Count; i++)
{
......@@ -84,6 +85,8 @@ namespace BLL
int index = extensions.FindIndex(match => match.Control.Name == "ctxt_PN");
if (index > -1) PNPress(extensions[index].Control, EventArgs.Empty);
return true;
}
public void Update()
......
......@@ -12,6 +12,7 @@ using Model;
using Asa.FaceControl;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.IO;
namespace BLL
{
......@@ -21,7 +22,6 @@ namespace BLL
public event IExtension.PrintDelegate SaveRetrospect;
private Config config;
private int reelID = 0;
private List<ExtensionControl> extensions;
......@@ -49,13 +49,13 @@ namespace BLL
public void Load(List<ExtensionControl> extensions)
{
this.extensions = extensions;
ReadReelID();
}
static bool mesResult = false;
Dictionary<string, string> lastkey = null;
//读码后第一步
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch,out string errmsg)
{
errmsg = "";
lastkey = key;
mesResult = false;
var now = DateTime.Now;
......@@ -67,14 +67,17 @@ namespace BLL
else
key.Add(config.ReelIDKeyWord, Reelidstr);
}
//第一次刷新界面
for (int i = 0; i < extensions.Count; i++)
if (!extensions[0].Control.InvokeRequired)
{
if (key.ContainsKey(extensions[i].Key))
extensions[i].Control.Text = key[extensions[i].Key];
//第一次刷新界面
for (int i = 0; i < extensions.Count; i++)
{
if (key.ContainsKey(extensions[i].Key))
extensions[i].Control.Text = key[extensions[i].Key];
}
}
if (!updatereelid(key))
return;
if (!updatereelid(key,out errmsg))
return false;
Application.DoEvents();
......@@ -83,20 +86,26 @@ namespace BLL
//if (CanPrint())
PrintLabel(null, EventArgs.Empty);
}
return true;
}
bool updatereelid(Dictionary<string, string> key) {
bool updatereelid(Dictionary<string, string> key,out string errmsg) {
errmsg = "";
if (!string.IsNullOrEmpty(config.HttpReelID))
{
var newid = GetHttpReelID(key);
if (string.IsNullOrEmpty(newid))
if (!GetHttpReelID(key, out errmsg))
{
LogNet.log.Error("GetHttpReelID:" + errmsg);
return false;
key["ReelID"] = newid;
}
//key["ReelID"] = newid;
}
for (int i = 0; i < extensions.Count; i++)
if (!extensions[0].Control.InvokeRequired)
{
if (extensions[i].Key.ToLower() == "reelid")
extensions[i].Control.Text = key["reelid"];
for (int i = 0; i < extensions.Count; i++)
{
if (extensions[i].Key.ToLower() == "reelid")
extensions[i].Control.Text = key["reelid"];
}
}
SaveRetrospect?.Invoke(key);
return true;
......@@ -108,11 +117,12 @@ namespace BLL
private string GetReelid()
{
LogNet.log.Debug("Enter GetReelid Method");
int idIndex = extensions.FindIndex(match => match.Key == config.ReelIDKeyWord);
if (idIndex == -1) return "";
if (extensions != null)
{
int idIndex = extensions.FindIndex(match => match.Key == config.ReelIDKeyWord);
if (idIndex == -1) return "";
}
//读取参数
string matchID = config.ReelIDMatch;
int matchPlace = config.ReelIDPlaces;
......@@ -124,15 +134,28 @@ namespace BLL
string[] keys = ObjConversion.StrGetKey(matchID);
for (int i = 0; i < keys.Length; i++)
{
if (keys[i].ToLower().StartsWith("datetime")) {
string ov = string.Format("[{0}]", keys[i]);
var d = keys[i].Split(':');
if (d.Length == 2)
{
matchID = matchID.Replace(ov, DateTime.Now.ToString(d[1]));
}
else {
matchID = matchID.Replace(ov, DateTime.Now.ToString());
}
continue;
}
int index = extensions.FindIndex(match => match.Key == keys[i]);
if (index == -1) continue;
string oldValue = string.Format("[{0}]", keys[i]);
matchID = matchID.Replace(oldValue, extensions[index].Control.Text);
}
SaveAddReelID();
//SaveAddReelID();
var reelID = ReadReelID();
//填充0
string text = matchPrefix;
string text = matchPrefix+ matchID;
if (matchFill)
text += string.Format("{0:d" + matchPlace + "}", reelID);
else
......@@ -141,48 +164,63 @@ namespace BLL
return text;
}
private void ReadReelID()
private int ReadReelID()
{
int reelID = 0;
try
{
if (System.IO.File.Exists(FilePath.CONFIG_REELID))
{
var reelidfile = FilePath.CONFIG_REELID;
if (config.ReelIDAutoResetByDate) {
Directory.CreateDirectory(reelidfile);
reelidfile = Path.Combine(FilePath.CONFIG_REELID, DateTime.Now.ToString("yyyyMMdd"));
}
if (File.Exists(reelidfile))
{
string text = System.IO.File.ReadAllText(FilePath.CONFIG_REELID);
string text = File.ReadAllText(reelidfile);
bool bln = int.TryParse(text, out reelID);
LogNet.log.Info($"ReadReelID {bln} text={text}");
LogNet.log.Info($"ReadReelID {reelidfile}, {bln}, text={text}");
File.WriteAllText(reelidfile, (reelID + 1).ToString());
LogNet.log.Info($"Save ReelID:{reelID + 1}");
}
else
{
System.IO.FileStream fs = System.IO.File.Create(FilePath.CONFIG_REELID);
FileStream fs = System.IO.File.Create(reelidfile);
fs.Close();
reelID = 0;
LogNet.log.Info("ReadReelID Create");
LogNet.log.Info($"ReadReelID {reelidfile} Create");
}
}
catch (Exception ex)
{
LogNet.log.Error("ReadReelID", ex);
System.Windows.Forms.MessageBox.Show(ex.Message, "Warning", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
MessageBox.Show(ex.Message, "Warning", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
}
return reelID;
}
private void SaveAddReelID()
{
try
{
LogNet.log.Debug("打印标签前的ID:" + reelID);
reelID++;
System.IO.File.WriteAllText(FilePath.CONFIG_REELID, reelID.ToString());
LogNet.log.Info($"Save ReelID:{reelID}");
}
catch (Exception ex)
{
LogNet.log.Error("SaveAddReelID error", ex);
}
}
//private void SaveAddReelID()
//{
// try
// {
// LogNet.log.Debug("打印标签前的ID:" + reelID);
// reelID++;
// var reelidfile = FilePath.CONFIG_REELID;
// if (config.ReelIDAutoResetByDate)
// {
// Directory.CreateDirectory(reelidfile);
// reelidfile = Path.Combine(FilePath.CONFIG_REELID, DateTime.Now.ToString("yyyyMMdd"));
// }
// System.IO.File.WriteAllText(reelidfile, reelID.ToString());
// LogNet.log.Info($"Save ReelID:{reelID}");
// }
// catch (Exception ex)
// {
// LogNet.log.Error("SaveAddReelID error", ex);
// }
//}
private void GetHttpReelID(object sender, EventArgs e) {
updatereelid(lastkey);
updatereelid(lastkey,out _);
}
private void PrintLabel(object sender, EventArgs e)
{
......@@ -201,14 +239,17 @@ namespace BLL
Printing?.Invoke(key);
}
private string GetHttpReelID(Dictionary<string, string> key)
private bool GetHttpReelID(Dictionary<string, string> key,out string errmsg)
{
//return "test";
errmsg = "";
string url = config.HttpReelID;
string json = Http.PostJson(url,null, key);
if (json == "") {
new FaceMessageBox("BoxReelIDInfoMaintain", "Api error", System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return "";
errmsg = "Api error";
if (!extensions[0].Control.InvokeRequired)
new FaceMessageBox("BoxReelIDInfoMaintain", errmsg, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return false;
}
JavaScriptSerializer serializer = new();
Dictionary<string, object> dic;
......@@ -217,26 +258,45 @@ namespace BLL
dic = (Dictionary<string, object>)serializer.DeserializeObject(json);
}
catch {
new FaceMessageBox("BoxReelIDInfoMaintain", "Api parse error:\r\n" + json, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return "";
errmsg = "Api parse error:\r\n" + json;
if (!extensions[0].Control.InvokeRequired)
new FaceMessageBox("BoxReelIDInfoMaintain", errmsg, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return false;
}
if (!dic.TryGetValue("CODE", out object value))
{
new FaceMessageBox("BoxReelIDInfoMaintain", "Api return data error:\r\n" + json, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return "";
if (!extensions[0].Control.InvokeRequired)
new FaceMessageBox("BoxReelIDInfoMaintain", "Api return data error:\r\n" + json, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
else
errmsg="Api return data error:\r\n" + json;
return false;
}
if (Convert.ToInt32(value)!=0)
{
new FaceMessageBox("BoxReelIDInfoMaintain", dic["MSG"].ToString(), System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return "";
errmsg = "Api parse error:\r\n" + dic["MSG"].ToString();
if (!extensions[0].Control.InvokeRequired)
new FaceMessageBox("BoxReelIDInfoMaintain", errmsg, System.Windows.Forms.MessageBoxButtons.OK, true).ShowDialog();
return false;
}
if (dic.TryGetValue("ReelID", out value))
return value.ToString();
foreach (var kc in key.Keys)
{
if (dic.TryGetValue(kc, out value))
{
key[kc] = value.ToString();
}
}
if (!string.IsNullOrEmpty(key["ReelID"]))
{
return true;
}
else
return "";
return false;
}
......
......@@ -63,8 +63,9 @@ namespace BLL
}
}
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch,out string errmsg)
{
errmsg = "";
for (int i = 0; i < extensions.Count; i++)
{
if (key.ContainsKey(extensions[i].Key))
......@@ -78,7 +79,7 @@ namespace BLL
if (config.AutoPrint)
PrintLabel(null, EventArgs.Empty);
return true;
}
public void Update()
......
......@@ -52,8 +52,9 @@ namespace BLL
ReadReelID();
}
static bool mesResult = false;
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch,out string errmsg)
{
errmsg = "";
mesResult = false;
SaveAddReelID();
var now = DateTime.Now;
......@@ -86,13 +87,14 @@ namespace BLL
}
if (!mesResult)
{
return;
return false;
}
if (config.AutoPrint)
{
//if (CanPrint())
PrintLabel(null, EventArgs.Empty);
}
return true;
}
public void Update()
......
......@@ -45,8 +45,10 @@ namespace BLL
//mesConn = Http.Ping(mesIP);
}
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch,out string errmsg)
{
errmsg = "";
return true;
//SetComboItem("CboSupplier", originalCode);
//SetComboItem("CboQuantity", originalCode);
//SetComboItem("CboBatch", originalCode);
......
......@@ -78,19 +78,15 @@ namespace BLL
}
}
public void SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
public bool SetKey(string[] originalCode, Dictionary<string, string> key, bool hasMatch, out string errmsg)
{
errmsg = "";
for (int i = 0; i < extensions.Count; i++)
{
if (key.ContainsKey(extensions[i].Key))
extensions[i].Control.Text = key[extensions[i].Key];
}
//int index = extensions.FindIndex(match => match.Control.Name == "TxtSupplierPN");
//if (index == -1) return;
//PNPress(extensions[index].Control, EventArgs.Empty);
return true;
}
public void Update()
......
......@@ -13,7 +13,7 @@ namespace BLL
if (string.IsNullOrWhiteSpace(iomodule))
iom = new KND_IO(ip);
else
iom = new NirenIO(ip);
iom = new NiRenIO(ip);
iom.DI_Changed_Event += Iom_DI_Changed_Event;
}
......
using System;
using BLL;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TcpKPIO;
namespace BLL
class NiRenIO: IO_Interface
{
public class NirenIO : IO_Interface
const int IoCount = 8;
byte station = 1;
public string IP;
TcpClient tcpClient = new TcpClient();
Thread iomonitorThread;
ushort seq = 0;
/// <summary>
///
/// </summary>
/// <param name="changindex">变化的io列表</param>
/// <param name="sta">所有IO状态</param>
public delegate void IO_Changed(List<int> changindex, bool[] sta);
public event IO_Changed DI_Changed_Event_a;
public event IO_Changed DO_Changed_Event;
/// <summary>
/// 连接状态变化, 手动连接不触发
/// </summary>
public event EventHandler<bool> ConnectionState_Event;
public NiRenIO(string ip)
{
static int diCount = 2;
this.IP = ip;
//DOdata[0] = 0x00;
//DOdata[1] = 0x00;
iomonitorThread = new Thread(new ThreadStart(iomonitor));
}
public event IOManage.DI_Changed DI_Changed_Event;
public event IOManage.DI_Changed DI_Changed_Event;
public string IP { get; set; }
~NiRenIO()
{
iomonitorrun = false;
Close();
}
bool systemrun = false;
/// <summary>
/// 打开IO
/// </summary>
/// <returns></returns>
public bool Open()
{
public bool IsConn
tcpClient.Dispose();
tcpClient = new TcpClient();
tcpClient.ReceiveTimeout = 50;
tcpClient.SendTimeout = 50;
lock (tcpClient)
{
get
try
{
var i= 0;
while (i < 5)
var connectResult = tcpClient.ConnectAsync(IP, 12345);
if (connectResult.Wait(1000))
{
var isonline = KPIOServer.DeviceIsOnline(IP);
if (isonline)
return true;
i++;
Thread.Sleep(1000);
systemrun = true;
iomonitorrun = true;
iomonitorThread = new Thread(new ThreadStart(iomonitor));
iomonitorThread.Start();
ConnectionState_Event?.Invoke(this, true);
return true;
}
else
{
tcpClient.EndConnect(connectResult);
tcpClient.Close();
return false;
}
}
catch
{
return false;
}
}
public int Port { get; set; }
public NirenIO(string ip)
}
/// <summary>
/// 关闭IO
/// </summary>
public void Close()
{
try
{
IP = ip;
Port = 6000;
bool rtn = KPIOServer.StartServer(Port);
KPIOServer.DeviceDIChangeEvent += KPIOServer_DeviceDIChangeEvent;
KPIOServer.DeviceOnlineEvent += KPIOServer_DeviceOnlineEvent;
IOLogUtil.info($"开启IO模块:{rtn}");
systemrun = false;
iomonitorrun = false;
if (tcpClient.Connected)
tcpClient.Close();
}
catch { }
}
/// <summary>
/// 连接状态
/// </summary>
public bool IsConn
{
get => iomonitorrun && systemrun;
}
string IO_Interface.IP { get; set; }
public int Port { get; set; }
private void KPIOServer_DeviceOnlineEvent(string ip)
bool iomonitorrun = false;
/// <summary>
/// 循环读全部IO
/// </summary>
void iomonitor()
{
iomonitorrun = true;
while (iomonitorrun && systemrun)
{
IP = ip;
IOLogUtil.info($"IO模块:{IP}上线");
Thread.Sleep(2);
try
{
ReadDO();
}
catch (SocketException)
{
if (tcpClient.Connected)
tcpClient.Close();
ConnectionState_Event?.Invoke(this, false);
iomonitorrun = false;
}
}
if (systemrun)
{
do
{
Thread.Sleep(1000);
} while (systemrun && !Open());
}
}
private void KPIOServer_DeviceDIChangeEvent(string ip, int[] diStatus)
/// <summary>
/// 写io
/// </summary>
/// <param name="donum">地址</param>
/// <param name="state">On/Off</param>
/// <returns></returns>
public bool WriteDO(int donum, bool state)
{
const string CMD_WriteDI = "AT+STACH{0}={1}\r\n";
var CMDSEND = string.Format(CMD_WriteDI, donum + 1, state ? "1": "0");
Debug.WriteLine("CMDSEND:" + CMDSEND);
var sendbyte = Encoding.ASCII.GetBytes(CMDSEND);
lock (tcpClient)
{
Status[] statuses = new Status[diStatus.Length];
for (int i = 0; i < diStatus.Length; i++)
try
{
statuses[i] = diStatus[i] == 0 ? Status.On : Status.Off;
tcpClient.Client.Send(sendbyte);
Thread.Sleep(1);
byte[] result = new byte[100];
var ulength = tcpClient.Client.Receive(result);
if (ulength > 0) {
var recive = Encoding.ASCII.GetString(result, 0, ulength);
Debug.WriteLine("recive:" + recive);
if (recive.StartsWith("OK"))
return true;
}
}
catch
{
return false;
}
DI_Changed_Event?.Invoke(statuses);
}
public void Close()
return false;
}
/// <summary>
/// 所有DI状态
/// </summary>
public bool[] DIstate = new bool[IoCount];
/// <summary>
/// 所有DO状态
/// </summary>
public bool[] DOstate = new bool[IoCount];
bool[] lastDIstate = new bool[IoCount];
bool[] lastDOstate = new bool[IoCount];
/// <summary>
/// 读全部IO
/// </summary>
void ReadDO()
{
const string CMD_ReadDI = "AT+OCCH0=?\r\n";
const string CMD_ReadD0 = "AT+STACH0=?\r\n";
const string CMD_ReadALL = CMD_ReadDI + CMD_ReadD0;
var sendbyte = Encoding.ASCII.GetBytes(CMD_ReadALL);
Debug.WriteLine("CMD_ReadALL:"+ sendbyte);
var resultbuffer = new byte[2048];
int ulength = 0;
lock (tcpClient)
{
KPIOServer.StopServer();
try
{
tcpClient.Client.Send(sendbyte);
Thread.Sleep(1);
ulength = tcpClient.Client.Receive(resultbuffer);
}
catch (SocketException se)
{
throw se;
}
}
if (ulength == 0) {
return;
}
public bool Connect()
{
//throw new NotImplementedException();
return true;
var recive = Encoding.ASCII.GetString(resultbuffer, 0, ulength);
Debug.WriteLine("recive:"+ recive);
var datas = recive.Split(new char[] { '\r', '\n' });
/*
+STACH1:0,100000
+STACH2:0,100000
+OCCH1:0
+OCCH2:0
*/
foreach (var data in datas) {
if (!data.StartsWith("+"))
continue;
if (data.StartsWith("+STACH"))
{
var ds = data.Split(':');
var d = ds[0].Substring(6);
if (!int.TryParse(d, out int doindex))
continue;
doindex = doindex - 1;
var sta = ds[1].StartsWith("1") ? true : false;
DOstate[doindex] = sta;
}
else if (data.StartsWith("+OCCH"))
{
var ds = data.Split(':');
var d = ds[0].Substring(5);
if (!int.TryParse(d, out int doindex))
continue;
doindex = doindex - 1;
var sta = ds[1].StartsWith("1") ? true : false;
DIstate[doindex] = sta;
}
}
public bool ReadDI(Addr add, out Status sta)
for (int i = 0; i < IoCount; i++)
{
sta = Status.Off;
try
List<int> dichgindex = new List<int>();
List<int> dochgindex = new List<int>();
if (lastDIstate[i] != DIstate[i])
{
int index = ((int)add) - 10200;
var onoff = KPIOServer.GetDI(IP, index);
sta = onoff == 0 ? Status.Off : Status.On;
return true;
dichgindex.Add(i);
lastDIstate[i] = DIstate[i];
}
catch
if (lastDOstate[i] != DOstate[i])
{
return false;
dochgindex.Add(i);
lastDOstate[i] = DOstate[i];
}
if (dichgindex.Count > 0)
{
DI_Changed_Event_a?.BeginInvoke(dichgindex, DIstate, null, null);
var statuses =DIstate.Select(d => { return d ? Status.On : Status.Off; }).ToArray();
DI_Changed_Event?.BeginInvoke(statuses, null, null);
}
if (dochgindex.Count > 0)
DO_Changed_Event?.BeginInvoke(dochgindex, DOstate, null, null);
}
public bool ReadDO(Addr add, out Status sta)
}
void seqadd()
{
seq++;
if (seq >= ushort.MaxValue - 10)
seq = 0;
}
public bool Connect()
{
return Open();
}
public bool ReadDI(Addr add, out Status sta)
{
sta = Status.Off;
try
{
sta = KPIOServer.GetDO(IP, (int)add - 100) == 0 ? Status.Off : Status.On;
int index = ((int)add) - 10200;
var onoff = DIstate[index];
sta = onoff? Status.On : Status.Off;
return true;
}
public bool WriteDO(int add, Status sta)
catch
{
return KPIOServer.WriteDO(IP, add, sta== Status.On ?1:0);
return false;
}
}
public bool ReadDO(Addr add, out Status sta)
{
sta = DOstate[(int)add - 100]? Status.On : Status.Off;
return true;
}
public bool WriteDO(int add, Status sta)
{
return WriteDO(add, sta == Status.On);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TcpKPIO;
namespace BLL
{
public class NirenIO1 : IO_Interface
{
static int diCount = 2;
public event IOManage.DI_Changed DI_Changed_Event;
public string IP { get; set; }
public bool IsConn
{
get
{
var i= 0;
while (i < 5)
{
var isonline = KPIOServer.DeviceIsOnline(IP);
if (isonline)
return true;
i++;
Thread.Sleep(1000);
}
return false;
}
}
public int Port { get; set; }
public NirenIO(string ip)
{
IP = ip;
Port = 6000;
bool rtn = KPIOServer.StartServer(Port);
KPIOServer.DeviceDIChangeEvent += KPIOServer_DeviceDIChangeEvent;
KPIOServer.DeviceOnlineEvent += KPIOServer_DeviceOnlineEvent;
IOLogUtil.info($"开启IO模块:{rtn}");
}
private void KPIOServer_DeviceOnlineEvent(string ip)
{
IP = ip;
IOLogUtil.info($"IO模块:{IP}上线");
}
private void KPIOServer_DeviceDIChangeEvent(string ip, int[] diStatus)
{
Status[] statuses = new Status[diStatus.Length];
for (int i = 0; i < diStatus.Length; i++)
{
statuses[i] = diStatus[i] == 0 ? Status.On : Status.Off;
}
DI_Changed_Event?.Invoke(statuses);
}
public void Close()
{
KPIOServer.StopServer();
}
public bool Connect()
{
//throw new NotImplementedException();
return true;
}
public bool ReadDI(Addr add, out Status sta)
{
sta = Status.Off;
try
{
int index = ((int)add) - 10200;
var onoff = KPIOServer.GetDI(IP, index);
sta = onoff == 0 ? Status.Off : Status.On;
return true;
}
catch
{
return false;
}
}
public bool ReadDO(Addr add, out Status sta)
{
sta = KPIOServer.GetDO(IP, (int)add - 100) == 0 ? Status.Off : Status.On;
return true;
}
public bool WriteDO(int add, Status sta)
{
return KPIOServer.WriteDO(IP, add, sta== Status.On ?1:0);
}
}
}
......@@ -289,6 +289,12 @@
</summary>
<returns></returns>
</member>
<member name="M:Asa.Camera.VisionLib.GetImage(System.Int32)">
<summary>
按索引获取当前图像
</summary>
<returns></returns>
</member>
<member name="M:Asa.Camera.VisionLib.GetImage(System.String)">
<summary>
获取当前图像
......
625a16d94e24a12228b3782465bd026b987271aa
1cd8754b4a550d036fb6e1554e1bec03b87aa454
......@@ -96,3 +96,13 @@ D:\rick\vs\SmartScan\BLL\bin\Debug\MvCameraControl.Net.xml
D:\rick\vs\SmartScan\BLL\bin\Debug\TcpKPIO.dll
D:\rick\vs\SmartScan\BLL\bin\Debug\TcpKPIO.pdb
D:\rick\vs\SmartScan\BLL\bin\Debug\TcpKPIO.xml
D:\rick\vs\SmartScan\BLL\bin\Debug\ConfigHelper.dll
D:\rick\vs\SmartScan\BLL\bin\Debug\ConfigHelper.pdb
D:\rick\vs\SmartScan\BLL\bin\Debug\ConfigHelper.xml
D:\rick\vs\SmartScan\BLL\bin\Debug\ClosedXML.dll
D:\rick\vs\SmartScan\BLL\bin\Debug\DocumentFormat.OpenXml.dll
D:\rick\vs\SmartScan\BLL\bin\Debug\ExcelNumberFormat.dll
D:\rick\vs\SmartScan\BLL\bin\Debug\ClosedXML.pdb
D:\rick\vs\SmartScan\BLL\bin\Debug\ClosedXML.xml
D:\rick\vs\SmartScan\BLL\bin\Debug\DocumentFormat.OpenXml.xml
D:\rick\vs\SmartScan\BLL\bin\Debug\ExcelNumberFormat.xml
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ClosedXML" version="0.96.0" targetFramework="net472" />
<package id="DocumentFormat.OpenXml" version="2.16.0" targetFramework="net472" />
<package id="ExcelNumberFormat" version="1.1.0" targetFramework="net472" />
<package id="log4net" version="2.0.12" targetFramework="net461" />
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
<package id="ZXing.Net" version="0.16.6" targetFramework="net461" requireReinstallation="true" />
</packages>
\ No newline at end of file
......@@ -68,3 +68,10 @@ D:\rick\vs\SmartScan\DAL\obj\Debug\DAL.dll
D:\rick\vs\SmartScan\DAL\obj\Debug\DAL.pdb
D:\rick\vs\SmartScan\DAL\bin\Debug\Newtonsoft.Json.dll
D:\rick\vs\SmartScan\DAL\bin\Debug\Newtonsoft.Json.xml
D:\rick\vs\SmartScan\DAL\bin\Debug\Asa.Camera.VisionLib.dll
D:\rick\vs\SmartScan\DAL\bin\Debug\Basler.Pylon.dll
D:\rick\vs\SmartScan\DAL\bin\Debug\MvCameraControl.Net.dll
D:\rick\vs\SmartScan\DAL\bin\Debug\halcondotnet.dll
D:\rick\vs\SmartScan\DAL\bin\Debug\Asa.Camera.VisionLib.pdb
D:\rick\vs\SmartScan\DAL\bin\Debug\Asa.Camera.VisionLib.xml
D:\rick\vs\SmartScan\DAL\bin\Debug\MvCameraControl.Net.xml
......@@ -14,8 +14,7 @@ namespace Model
public void Load(List<ExtensionControl> extensions);
public void SetKey(string[] originalCode, Dictionary<string, string> key,bool hasMatch);
public bool SetKey(string[] originalCode, Dictionary<string, string> key,bool hasMatch, out string errmsg);
public void Update();
public void Dispose();
......
......@@ -2,6 +2,8 @@
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Runtime.Serialization;
using System.Collections.Generic;
using CameraVisionLib.Model;
namespace Model
{
......@@ -20,6 +22,10 @@ namespace Model
[WebInvoke(Method = "POST", UriTemplate = "SmartScan/WorkWithCode", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
WebResultCode WorkWithCode(Stream json);
[OperationContract]
[WebInvoke(Method = "POST", UriTemplate = "SmartScan/ProcessBitmap?param={param}", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
WebResultCode ProcessBitmap(Stream info, string param);
}
[DataContract]
......@@ -48,6 +54,10 @@ namespace Model
public string Msg { get; set; }
[DataMember]
public WebCodeText[] Data { get; set; }
[DataMember]
public List<KeyValuePair<string, string>> workCodeKeyword;
[DataMember]
public List<BarcodeInfo> workCodeInfo = new List<BarcodeInfo>();
public WebResultCode()
{
......
......@@ -38,6 +38,9 @@
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="Asa.Camera.VisionLib">
<HintPath>..\..\Camera\CameraVisionLib\bin\Debug\Asa.Camera.VisionLib.dll</HintPath>
</Reference>
<Reference Include="Asa.Face.Control, Version=1.0.7916.18557, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll</HintPath>
......
01b2d5ca38927b2b61ed6a650f31468a3ffe0e0d
8bca2b2a5d358a7826d322738ed7a7f167128baf
......@@ -47,7 +47,6 @@ D:\rick\vs\SmartScan\Model\bin\Debug\Tesseract.dll
D:\rick\vs\SmartScan\Model\bin\Debug\Asa.Face.Control.pdb
D:\rick\vs\SmartScan\Model\bin\Debug\log4net.xml
D:\rick\vs\SmartScan\Model\bin\Debug\RestSharp.xml
D:\rick\vs\SmartScan\Model\obj\Debug\Model.csproj.AssemblyReference.cache
D:\rick\vs\SmartScan\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache
D:\rick\vs\SmartScan\Model\obj\Debug\Model.csproj.CopyComplete
D:\rick\vs\SmartScan\Model\obj\Debug\Model.dll
......@@ -55,3 +54,10 @@ D:\rick\vs\SmartScan\Model\obj\Debug\Model.pdb
D:\rick\vs\SmartScan\Model\bin\Debug\Asa.Face.Control.dll
D:\rick\vs\SmartScan\Model\bin\Debug\Newtonsoft.Json.dll
D:\rick\vs\SmartScan\Model\bin\Debug\Newtonsoft.Json.xml
D:\rick\vs\SmartScan\Model\bin\Debug\Asa.Camera.VisionLib.dll
D:\rick\vs\SmartScan\Model\bin\Debug\Basler.Pylon.dll
D:\rick\vs\SmartScan\Model\bin\Debug\MvCameraControl.Net.dll
D:\rick\vs\SmartScan\Model\bin\Debug\halcondotnet.dll
D:\rick\vs\SmartScan\Model\bin\Debug\Asa.Camera.VisionLib.pdb
D:\rick\vs\SmartScan\Model\bin\Debug\Asa.Camera.VisionLib.xml
D:\rick\vs\SmartScan\Model\bin\Debug\MvCameraControl.Net.xml
......@@ -4,6 +4,16 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<appSettings>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
</appSettings>
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding maxReceivedMessageSize="90000000" maxBufferPoolSize="90000000" maxBufferSize="90000000" closeTimeout="00:03:00" openTimeout="00:03:00" receiveTimeout="00:01:00" sendTimeout="00:01:00">
<readerQuotas maxStringContentLength="90000000" maxArrayLength="90000000" maxBytesPerRead="90000000" />
<security mode="None"/>
</binding>
</webHttpBinding>
</bindings>
</system.serviceModel>
</configuration>
......@@ -19,6 +19,7 @@ namespace SmartScan
public static ServerCommunication SCMM;
public static List<string> macroKey;
public static List<string> extraKey=new List<string>();
public static int mateMaxCodeID;
public static readonly string[] CODE_SPLIT = new string[] { ",", ";", "@", "#", "$", "%", "&", "-", "_", "+", "|", "!", "^", "*", "?", "/", "\\", "[Space]", "[Tab]" };
......
using BLL;
using ClosedXML.Excel;
using Model;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmartScan
{
public class ExtraFileData
{
static Dictionary<string, Dictionary<string, string>> AllData = new Dictionary<string, Dictionary<string, string>>();
public static void Init() {
var ext = Path.GetExtension(Config.DataSource_String);
if (string.IsNullOrEmpty(ext))
{
return;
}
ext = ext.ToLower();
AllData.Clear();
if (ext == ".xlsx")
LoadXLSALlData();
else if (ext == ".csv")
LoadCSVALlData();
}
public static void LoadCSVALlData()
{
LogNet.log.Info("数据源:" + Config.DataSource_String);
if (!File.Exists(Config.DataSource_String))
{
throw new FileNotFoundException(Config.DataSource_String);
}
var titles = ParseCSVFileTitle(Config.DataSource_String);
Common.extraKey = titles;
string[] files;
if (Config.DataSource_Recursive)
{
var ext = Path.GetExtension(Config.DataSource_String);
var path = Path.GetDirectoryName(Config.DataSource_String);
files=Directory.GetFiles(path, "*" + ext);
}
else
{
files = new string[] { Config.DataSource_String };
}
foreach (var file in files)
{
LogNet.log.Info("数据源加载文件:"+file);
try
{
using var sm = new StreamReader(file, Encoding.GetEncoding(Config.DataSource_Encoding));
while (true)
{
var dataline = sm.ReadLine();
if (string.IsNullOrWhiteSpace(dataline))
break;
var datas = dataline.Split(',');
if (datas.Length < titles.Count)
continue;
string keydata = "";
var rowdata = new Dictionary<string, string>();
for (int i = 0; i < titles.Count; i++)
{
rowdata.Add(titles[i], datas[i]);
if (titles[i] == Config.DataSource_DataTitle)
{
keydata = datas[i];
}
}
if (!string.IsNullOrEmpty(keydata) && !AllData.ContainsKey(keydata))
AllData.Add(keydata, rowdata);
}
}
catch(Exception ex) {
LogNet.log.Info("数据源加载文件出错:" + ex.ToString());
}
}
}
public static List<string> ParseCSVFileTitle(string filename)
{
using var sm = new StreamReader(filename, Encoding.GetEncoding(Config.DataSource_Encoding.Val));
var titleline = sm.ReadLine();
var titles = new List<string>(titleline.Split(','));
return titles;
}
public static void LoadXLSALlData() {
if (!File.Exists(Config.DataSource_String)) {
throw new FileNotFoundException(Config.DataSource_String);
}
var titles = ParseXLSFileTitle(Config.DataSource_String);
Common.extraKey = titles;
string[] files;
if (Config.DataSource_Recursive)
{
var ext = Path.GetExtension(Config.DataSource_String);
var path = Path.GetDirectoryName(Config.DataSource_String);
files = Directory.GetFiles(path, "*" + ext);
}
else
{
files = new string[] { Config.DataSource_String };
}
foreach (var file in files)
{
LogNet.log.Info("数据源加载文件:" + file);
try
{
XLWorkbook wb = new XLWorkbook(file);
IXLWorksheet ws = wb.Worksheet(1);
int emptyrow = 0;
int currow = 0;
while (emptyrow < 3)
{
string keydata = "";
var rowdata = new Dictionary<string, string>();
for (int i = 0; i < titles.Count; i++)
{
var v = ws.Row(currow + 1).Cell(i + 1).Value.ToString().Trim();
rowdata.Add(titles[i], v);
if (titles[i] == Config.DataSource_DataTitle)
{
keydata = v;
if (string.IsNullOrWhiteSpace(v))
emptyrow++;
}
}
if (!string.IsNullOrEmpty(keydata) && !AllData.ContainsKey(keydata))
AllData.Add(keydata, rowdata);
currow++;
}
}
catch (Exception ex)
{
LogNet.log.Info("数据源加载文件出错:" + ex.ToString());
}
}
}
public static List<string> ParseXLSFileTitle(string filename)
{
List<string> titles = new List<string>();
int emptycolcount = 0;
XLWorkbook wb = new XLWorkbook(filename);
IXLWorksheet ws = wb.Worksheet(1);
for (int i = 1; i < 50; i++)
{
var v = ws.Row(1).Cell(i).Value.ToString().Trim();
if (string.IsNullOrEmpty(v))
{
emptycolcount++;
if (emptycolcount > 3)
{
break;
}
}
if (!string.IsNullOrEmpty(v))
{
titles.Add(v);
}
}
return titles;
}
public static Encoding GetEncoding(string coding) {
try
{
return Encoding.GetEncoding(coding);
}
catch {
return Encoding.UTF8;
}
}
}
}
......@@ -17,6 +17,13 @@ namespace SmartScan
InitializeComponent();
faceTextBox1.Text = content;
faceListBox1.Items.AddRange(Common.macroKey.ToArray());
Common.extraKey.ForEach(x =>
{
var has = Common.macroKey.Find(a => a == x);
if (string.IsNullOrEmpty(has))
faceListBox1.Items.Add(x);
});
}
public string Content { get; private set; }
......
......@@ -21,10 +21,10 @@ namespace SmartScan
LogNet.log = log4net.LogManager.GetLogger("SmartScan");
LogNet.log.Info($"===== 程序开始 {version} =====");
Common.config = new();
Common.config = new BLL.Config();
Common.config.SoftVersion = version;
Common.config.Backgrounder = back;
ExtraFileData.Init();
Asa.FaceControl.Language.LoadPath(FilePath.LANGUAGE_DIR);
LogNet.log.Debug("加载语言文件夹:" + FilePath.LANGUAGE_DIR);
Asa.FaceControl.Language.LoadLanguage(Common.config.Language);
......
......@@ -180,7 +180,6 @@ namespace SmartScan
foreach (string key in content.Keys)
str += string.Format("({0}:{1})", key, content[key]);
LogNet.log.Info(str);
//Common.SCMM.SendData(content);
//Bitmap labelBmp = Common.labelEdit.PrintImage(Common.config.DefaultPrintLabel, content, out _);
Common.labelEdit.PrintLast(Common.config.DefaultPrintLabel, Common.config.PrinterName, Common.config.PrintLandscape, content, out string[] barcode);
LogNet.log.Info(string.Format("打印标签 Label[{0}] Printer[{1}]", Common.config.DefaultPrintLabel, Common.config.PrinterName));
......@@ -216,6 +215,8 @@ namespace SmartScan
scanWork = new();
LblVersion.Text = Common.config.SoftVersion;
LblUserName.Text = Common.config.UserName;
if (LblUserName.Text == "None user")
LblUserName.Visible = false;
BtnSet.Enabled = Common.config.UserLevel == UserLevel.Admin;
//扩展面板
......@@ -231,7 +232,7 @@ namespace SmartScan
CboLanguage.SelectedText = Common.config.Language;
if (Common.config.OpenMaximize) Maximize();
BtnTriggerIO.Enabled = false;
if (CheckCamera() && CheckIOModule())
{
......
......@@ -38,6 +38,7 @@ namespace SmartScan
this.BtnCancel = new Asa.FaceControl.FaceButton();
this.PnlTemp = new Asa.FaceControl.FacePanel();
this.BtnApply = new Asa.FaceControl.FaceButton();
this.BtnDataSource = new Asa.FaceControl.FaceButton();
this.SuspendLayout();
//
// BtnWorkMode
......@@ -181,6 +182,21 @@ namespace SmartScan
this.BtnApply.Text = "Apply";
this.BtnApply.Click += new System.EventHandler(this.BtnApply_Click);
//
// BtnDataSource
//
this.BtnDataSource.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnDataSource.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnDataSource.BorderWidth = 2;
this.BtnDataSource.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnDataSource.HoldPress = false;
this.BtnDataSource.Location = new System.Drawing.Point(11, 335);
this.BtnDataSource.Name = "BtnDataSource";
this.BtnDataSource.Padding = new System.Windows.Forms.Padding(3);
this.BtnDataSource.Size = new System.Drawing.Size(160, 50);
this.BtnDataSource.TabIndex = 7;
this.BtnDataSource.Text = "数据源";
this.BtnDataSource.Click += new System.EventHandler(this.BtnMenu_Click);
//
// FrmSet
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
......@@ -189,6 +205,7 @@ namespace SmartScan
this.Controls.Add(this.PnlTemp);
this.Controls.Add(this.BtnCancel);
this.Controls.Add(this.BtnOK);
this.Controls.Add(this.BtnDataSource);
this.Controls.Add(this.BtnKeyword);
this.Controls.Add(this.BtnMaterial);
this.Controls.Add(this.BtnLabel);
......@@ -203,6 +220,7 @@ namespace SmartScan
this.Controls.SetChildIndex(this.BtnLabel, 0);
this.Controls.SetChildIndex(this.BtnMaterial, 0);
this.Controls.SetChildIndex(this.BtnKeyword, 0);
this.Controls.SetChildIndex(this.BtnDataSource, 0);
this.Controls.SetChildIndex(this.BtnOK, 0);
this.Controls.SetChildIndex(this.BtnCancel, 0);
this.Controls.SetChildIndex(this.PnlTemp, 0);
......@@ -222,5 +240,6 @@ namespace SmartScan
private Asa.FaceControl.FaceButton BtnCancel;
private Asa.FaceControl.FacePanel PnlTemp;
private Asa.FaceControl.FaceButton BtnApply;
private Asa.FaceControl.FaceButton BtnDataSource;
}
}
\ No newline at end of file
......@@ -26,6 +26,7 @@ namespace SmartScan
menu.Add(BtnLabel, new UsrPrintTemplate());
menu.Add(BtnMaterial, new UsrMaterialTemplate());
menu.Add(BtnKeyword, new UsrMacro());
menu.Add(BtnDataSource, new UsrDataSource());
foreach (FaceButton button in menu.Keys)
{
......

namespace SmartScan
{
partial class FrmSetPlus
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.BtnLabel = new Asa.FaceControl.FaceButton();
this.BtnMaterial = new Asa.FaceControl.FaceButton();
this.BtnKeyword = new Asa.FaceControl.FaceButton();
this.BtnOK = new Asa.FaceControl.FaceButton();
this.BtnCancel = new Asa.FaceControl.FaceButton();
this.PnlTemp = new Asa.FaceControl.FacePanel();
this.BtnApply = new Asa.FaceControl.FaceButton();
this.BtnLabeling = new Asa.FaceControl.FaceButton();
this.CboLanguage = new Asa.FaceControl.FaceComboBox();
this.SuspendLayout();
//
// BtnLabel
//
this.BtnLabel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnLabel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnLabel.BorderWidth = 2;
this.BtnLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnLabel.HoldPress = false;
this.BtnLabel.Location = new System.Drawing.Point(11, 55);
this.BtnLabel.Name = "BtnLabel";
this.BtnLabel.Padding = new System.Windows.Forms.Padding(3);
this.BtnLabel.Size = new System.Drawing.Size(160, 50);
this.BtnLabel.TabIndex = 5;
this.BtnLabel.Text = "Label";
this.BtnLabel.Click += new System.EventHandler(this.BtnMenu_Click);
//
// BtnMaterial
//
this.BtnMaterial.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnMaterial.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnMaterial.BorderWidth = 2;
this.BtnMaterial.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnMaterial.HoldPress = false;
this.BtnMaterial.Location = new System.Drawing.Point(11, 111);
this.BtnMaterial.Name = "BtnMaterial";
this.BtnMaterial.Padding = new System.Windows.Forms.Padding(3);
this.BtnMaterial.Size = new System.Drawing.Size(160, 50);
this.BtnMaterial.TabIndex = 6;
this.BtnMaterial.Text = "Material";
this.BtnMaterial.Click += new System.EventHandler(this.BtnMenu_Click);
//
// BtnKeyword
//
this.BtnKeyword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnKeyword.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnKeyword.BorderWidth = 2;
this.BtnKeyword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnKeyword.HoldPress = false;
this.BtnKeyword.Location = new System.Drawing.Point(11, 167);
this.BtnKeyword.Name = "BtnKeyword";
this.BtnKeyword.Padding = new System.Windows.Forms.Padding(3);
this.BtnKeyword.Size = new System.Drawing.Size(160, 50);
this.BtnKeyword.TabIndex = 7;
this.BtnKeyword.Text = "Keyword";
this.BtnKeyword.Click += new System.EventHandler(this.BtnMenu_Click);
//
// BtnOK
//
this.BtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnOK.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnOK.BorderWidth = 2;
this.BtnOK.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnOK.HoldPress = false;
this.BtnOK.Location = new System.Drawing.Point(891, 827);
this.BtnOK.Name = "BtnOK";
this.BtnOK.Padding = new System.Windows.Forms.Padding(3);
this.BtnOK.Size = new System.Drawing.Size(120, 40);
this.BtnOK.TabIndex = 9;
this.BtnOK.Text = "Save";
this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// BtnCancel
//
this.BtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnCancel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnCancel.BorderWidth = 2;
this.BtnCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnCancel.HoldPress = false;
this.BtnCancel.Location = new System.Drawing.Point(1017, 827);
this.BtnCancel.Name = "BtnCancel";
this.BtnCancel.Padding = new System.Windows.Forms.Padding(3);
this.BtnCancel.Size = new System.Drawing.Size(120, 40);
this.BtnCancel.TabIndex = 10;
this.BtnCancel.Text = "Cancel";
this.BtnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
//
// PnlTemp
//
this.PnlTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.PnlTemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.PnlTemp.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.PnlTemp.BorderWidth = 2;
this.PnlTemp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.PnlTemp.Location = new System.Drawing.Point(177, 55);
this.PnlTemp.Name = "PnlTemp";
this.PnlTemp.Padding = new System.Windows.Forms.Padding(3);
this.PnlTemp.Size = new System.Drawing.Size(1086, 766);
this.PnlTemp.TabIndex = 11;
this.PnlTemp.Text = "facePanel1";
this.PnlTemp.TitleFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PnlTemp.Visible = false;
//
// BtnApply
//
this.BtnApply.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnApply.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnApply.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnApply.BorderWidth = 2;
this.BtnApply.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnApply.HoldPress = false;
this.BtnApply.Location = new System.Drawing.Point(1143, 827);
this.BtnApply.Name = "BtnApply";
this.BtnApply.Padding = new System.Windows.Forms.Padding(3);
this.BtnApply.Size = new System.Drawing.Size(120, 40);
this.BtnApply.TabIndex = 12;
this.BtnApply.Text = "Apply";
this.BtnApply.Click += new System.EventHandler(this.BtnApply_Click);
//
// BtnLabeling
//
this.BtnLabeling.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnLabeling.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnLabeling.BorderWidth = 2;
this.BtnLabeling.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnLabeling.HoldPress = false;
this.BtnLabeling.Location = new System.Drawing.Point(11, 223);
this.BtnLabeling.Name = "BtnLabeling";
this.BtnLabeling.Padding = new System.Windows.Forms.Padding(3);
this.BtnLabeling.Size = new System.Drawing.Size(160, 50);
this.BtnLabeling.TabIndex = 7;
this.BtnLabeling.Text = "Labeling";
this.BtnLabeling.Click += new System.EventHandler(this.BtnMenu_Click);
//
// CboLanguage
//
this.CboLanguage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboLanguage.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.CboLanguage.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.CboLanguage.BorderWidth = 2;
this.CboLanguage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboLanguage.Location = new System.Drawing.Point(983, 11);
this.CboLanguage.Name = "CboLanguage";
this.CboLanguage.Padding = new System.Windows.Forms.Padding(3);
this.CboLanguage.ReadOnly = true;
this.CboLanguage.SelectedIndex = -1;
this.CboLanguage.SelectedText = "";
this.CboLanguage.Size = new System.Drawing.Size(130, 38);
this.CboLanguage.TabIndex = 13;
this.CboLanguage.Text = "faceComboBox1";
this.CboLanguage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.CboLanguage.SelectedIndexChanged += new System.EventHandler(this.CboLanguage_SelectedIndexChanged);
//
// FrmSetPlus
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1274, 878);
this.Controls.Add(this.CboLanguage);
this.Controls.Add(this.BtnApply);
this.Controls.Add(this.PnlTemp);
this.Controls.Add(this.BtnCancel);
this.Controls.Add(this.BtnOK);
this.Controls.Add(this.BtnLabeling);
this.Controls.Add(this.BtnKeyword);
this.Controls.Add(this.BtnMaterial);
this.Controls.Add(this.BtnLabel);
this.Icon = global::SmartScan.Properties.Resources.NEO_64;
this.Name = "FrmSetPlus";
this.Text = "FrmSet";
this.Load += new System.EventHandler(this.FrmSet_Load);
this.Controls.SetChildIndex(this.BtnLabel, 0);
this.Controls.SetChildIndex(this.BtnMaterial, 0);
this.Controls.SetChildIndex(this.BtnKeyword, 0);
this.Controls.SetChildIndex(this.BtnLabeling, 0);
this.Controls.SetChildIndex(this.BtnOK, 0);
this.Controls.SetChildIndex(this.BtnCancel, 0);
this.Controls.SetChildIndex(this.PnlTemp, 0);
this.Controls.SetChildIndex(this.BtnApply, 0);
this.Controls.SetChildIndex(this.CboLanguage, 0);
this.ResumeLayout(false);
}
#endregion
private Asa.FaceControl.FaceButton BtnLabel;
private Asa.FaceControl.FaceButton BtnMaterial;
private Asa.FaceControl.FaceButton BtnKeyword;
private Asa.FaceControl.FaceButton BtnOK;
private Asa.FaceControl.FaceButton BtnCancel;
private Asa.FaceControl.FacePanel PnlTemp;
private Asa.FaceControl.FaceButton BtnApply;
private Asa.FaceControl.FaceButton BtnLabeling;
private Asa.FaceControl.FaceComboBox CboLanguage;
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using Asa.FaceControl;
using System.Windows.Forms;
namespace SmartScan
{
public partial class FrmSetPlus : FaceFormNormal
{
private readonly Dictionary<FaceButton, Model.ISetMenu> menu = new();
public FrmSetPlus()
{
InitializeComponent();
Language.SetLanguage(this);
}
private void FrmSet_Load(object sender, EventArgs e)
{
foreach (FaceButton button in menu.Keys)
{
Controls.Remove(menu[button].GetPanel());
}
menu.Clear();
menu.Add(BtnLabel, new UsrPrintTemplate());
menu.Add(BtnMaterial, new UsrMaterialTemplate());
menu.Add(BtnKeyword, new UsrMacro());
menu.Add(BtnLabeling, new UsrLabeling());
foreach (FaceButton button in menu.Keys)
{
FacePanel pnl = menu[button].GetPanel();
pnl.Left = PnlTemp.Left;
pnl.Top = PnlTemp.Top;
pnl.Width = PnlTemp.Width;
pnl.Height = PnlTemp.Height;
pnl.Anchor = PnlTemp.Anchor;
pnl.Visible = false;
Controls.Add(pnl);
}
BtnMaterial.HoldPress = true;
menu[BtnMaterial].GetPanel().Visible = true;
//语言
CboLanguage.Items.Clear();
CboLanguage.Items.AddRange(Language.Name);
CboLanguage.SelectedText = Common.config.Language;
}
private void BtnMenu_Click(object sender, EventArgs e)
{
foreach (FaceButton button in menu.Keys)
{
bool rtn = button == sender;
button.HoldPress = rtn;
menu[button].GetPanel().Visible = rtn;
}
}
private void BtnUnlock_Click(object sender, EventArgs e)
{
//if (BtnUnlock.HoldPress)
//{
// BtnUnlock.HoldPress = false;
//}
//else
//{
// DialogResult dr = new FrmUnlock().ShowDialog();
// if (dr == DialogResult.OK)
// BtnUnlock.HoldPress = true;
// else
// return;
//}
//foreach (FaceButton button in menu.Keys)
// menu[button].SetUnlock(BtnUnlock.HoldPress);
}
private void BtnOK_Click(object sender, EventArgs e)
{
foreach (FaceButton button in menu.Keys)
menu[button].Save();
string text = Language.Dialog(Model.LanguageDialogKey.SAVE_SUCCEED);
new FaceMessageBox("", text, MessageBoxButtons.OK).ShowDialog();
Common.extension.Update();
DialogResult = DialogResult.OK;
}
private void BtnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
}
private void BtnApply_Click(object sender, EventArgs e)
{
foreach (FaceButton button in menu.Keys)
menu[button].Save();
string text = Language.Dialog(Model.LanguageDialogKey.SAVE_SUCCEED);
new FaceMessageBox("", text, MessageBoxButtons.OK).ShowDialog();
Common.extension.Update();
}
private void CboLanguage_SelectedIndexChanged(object sender, EventArgs e)
{
if (Common.config.Language != CboLanguage.Text)
{
Language.LoadLanguage(CboLanguage.Text);
Common.config.Language = CboLanguage.Text;
Common.config.Save();
FrmSet_Load(this, EventArgs.Empty);
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file

namespace SmartScan
{
partial class UsrLabeling
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.facePanel1 = new Asa.FaceControl.FacePanel();
this.SuspendLayout();
//
// facePanel1
//
this.facePanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.facePanel1.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.facePanel1.BorderWidth = 2;
this.facePanel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.facePanel1.Location = new System.Drawing.Point(14, 49);
this.facePanel1.Name = "facePanel1";
this.facePanel1.Padding = new System.Windows.Forms.Padding(3);
this.facePanel1.ShowText = false;
this.facePanel1.Size = new System.Drawing.Size(634, 392);
this.facePanel1.TabIndex = 2;
this.facePanel1.Text = "facePanel1";
this.facePanel1.TitleFont = new System.Drawing.Font("宋体", 12F);
//
// UsrLabeling
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.facePanel1);
this.Name = "UsrLabeling";
this.Size = new System.Drawing.Size(662, 491);
this.ResumeLayout(false);
}
#endregion
private Asa.FaceControl.FacePanel facePanel1;
}
}
using Asa.FaceControl;
using Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SmartScan
{
public partial class UsrLabeling : UserControl, ISetMenu
{
public UsrLabeling()
{
InitializeComponent();
}
public FacePanel GetPanel()
{
//throw new NotImplementedException();
return facePanel1;
}
public void Save()
{
//throw new NotImplementedException();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
......@@ -16,8 +16,6 @@ namespace SmartScan
{
Environment.CurrentDirectory = Application.StartupPath;
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
......@@ -27,17 +25,32 @@ namespace SmartScan
bool back = false;
if (args.Length > 0)
back = args[0].ToLower() == "background";
back = args[0].ToLower() == "background" || args[0].ToLower() == "plussetting";
var onnxexe = "onnx\\OcrLiteOnnxForm.exe";
Process.Start(onnxexe);
Application.Run(new FrmLoading(back)); //预加载,完成后自动退出
Common.frmMain = new FrmMain();
Common.frmWaitting = new FrmWaitting();
Application.Run(Common.frmMain);
if (args.Length > 0 && args[0].ToLower() == "plussetting")
{
Application.Run(new FrmSetPlus());
}
else
{
Common.frmMain = new FrmMain();
Common.frmWaitting = new FrmWaitting();
if (back)
{
Common.frmMain.WindowState = FormWindowState.Minimized;
Common.frmWaitting.WindowState = FormWindowState.Minimized;
}
Application.Run(Common.frmMain);
}
Exit();
}
......
......@@ -31,8 +31,10 @@ namespace SmartScan
{
isRun = true;
isTouch = false;
Common.frmMain.Controls["BtnSet"].Enabled = false;
Common.frmMain.Controls["BtnTriggerIO"].Enabled = true;
Common.frmMain.Controls["BtnSet"].Visible = false;
Common.frmMain.Controls["BtnRetrospect"].Visible = false;
Common.frmMain.Controls["BtnAbout"].Visible = false;
Common.frmMain.Controls["BtnTriggerIO"].Visible = true;
LogNet.log.Info("Work Start");
if (Common.config.EnabledCamera)
......@@ -47,8 +49,10 @@ namespace SmartScan
public void Close()
{
isRun = false;
Common.frmMain.Controls["BtnSet"].Enabled = true;
Common.frmMain.Controls["BtnTriggerIO"].Enabled = false;
Common.frmMain.Controls["BtnSet"].Visible = true;
Common.frmMain.Controls["BtnRetrospect"].Visible = true;
Common.frmMain.Controls["BtnAbout"].Visible = true;
Common.frmMain.Controls["BtnTriggerIO"].Visible = false;
LogNet.log.Info("Work Stop");
if (Common.config.EnabledCamera)
......@@ -311,7 +315,7 @@ namespace SmartScan
private void SetKey(bool hasMatch)
{
LogNet.log.Info("Work SetKey hasMatch:"+ hasMatch);
Common.extension.SetKey(originalCodeText, workCodeKeyword, hasMatch);
Common.extension.SetKey(originalCodeText, workCodeKeyword, hasMatch,out _);
if (workCodeKeyword.Count == 0) return;
if (Common.config.PromptAfterPrinting && !Common.config.Backgrounder)
......
......@@ -122,6 +122,8 @@ namespace SmartScan
}
public void SendStatus()
{
if (!server.ToLower().StartsWith("http"))
return;
lock (serverclock)
{
DateTime time = DateTime.Now;
......

namespace SmartScan
{
partial class FrmDataFilePreview
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.BtnOK = new Asa.FaceControl.FaceButton();
this.CboEncoding = new Asa.FaceControl.FaceComboBox();
this.BtnCancel = new Asa.FaceControl.FaceButton();
this.LblEncoding = new Asa.FaceControl.FaceLabel();
this.txtPreview = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// BtnOK
//
this.BtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnOK.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnOK.BorderWidth = 2;
this.BtnOK.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnOK.HoldPress = false;
this.BtnOK.Location = new System.Drawing.Point(499, 394);
this.BtnOK.Name = "BtnOK";
this.BtnOK.Padding = new System.Windows.Forms.Padding(3);
this.BtnOK.Size = new System.Drawing.Size(151, 45);
this.BtnOK.TabIndex = 3;
this.BtnOK.Text = "确认";
this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
//
// CboEncoding
//
this.CboEncoding.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.CboEncoding.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.CboEncoding.BorderWidth = 2;
this.CboEncoding.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboEncoding.Location = new System.Drawing.Point(499, 37);
this.CboEncoding.Name = "CboEncoding";
this.CboEncoding.Padding = new System.Windows.Forms.Padding(3);
this.CboEncoding.SelectedIndex = -1;
this.CboEncoding.SelectedText = "";
this.CboEncoding.Size = new System.Drawing.Size(150, 45);
this.CboEncoding.TabIndex = 2;
this.CboEncoding.SelectedIndexChanged += new System.EventHandler(this.CboEncoding_SelectedIndexChanged);
//
// BtnCancel
//
this.BtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnCancel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnCancel.BorderWidth = 2;
this.BtnCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnCancel.HoldPress = false;
this.BtnCancel.Location = new System.Drawing.Point(11, 394);
this.BtnCancel.Name = "BtnCancel";
this.BtnCancel.Padding = new System.Windows.Forms.Padding(3);
this.BtnCancel.Size = new System.Drawing.Size(151, 45);
this.BtnCancel.TabIndex = 3;
this.BtnCancel.Text = "取消";
this.BtnCancel.Click += new System.EventHandler(this.BtnCancel_Click);
//
// LblEncoding
//
this.LblEncoding.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.LblEncoding.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LblEncoding.BorderWidth = 0;
this.LblEncoding.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblEncoding.Location = new System.Drawing.Point(354, 44);
this.LblEncoding.Name = "LblEncoding";
this.LblEncoding.Padding = new System.Windows.Forms.Padding(3);
this.LblEncoding.Size = new System.Drawing.Size(139, 35);
this.LblEncoding.TabIndex = 22;
this.LblEncoding.Text = "编码格式";
this.LblEncoding.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtPreview
//
this.txtPreview.BackColor = System.Drawing.Color.DimGray;
this.txtPreview.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtPreview.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtPreview.ForeColor = System.Drawing.Color.White;
this.txtPreview.Location = new System.Drawing.Point(11, 88);
this.txtPreview.Multiline = true;
this.txtPreview.Name = "txtPreview";
this.txtPreview.ReadOnly = true;
this.txtPreview.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtPreview.Size = new System.Drawing.Size(639, 291);
this.txtPreview.TabIndex = 23;
//
// FrmDataFilePreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(661, 450);
this.Controls.Add(this.txtPreview);
this.Controls.Add(this.LblEncoding);
this.Controls.Add(this.BtnCancel);
this.Controls.Add(this.BtnOK);
this.Controls.Add(this.CboEncoding);
this.Icon = global::SmartScan.Properties.Resources.NEO_64;
this.Location = new System.Drawing.Point(0, 0);
this.Name = "FrmDataFilePreview";
this.Text = "文件预览";
this.Load += new System.EventHandler(this.FrmDataFilePreview_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Asa.FaceControl.FaceButton BtnOK;
private Asa.FaceControl.FaceComboBox CboEncoding;
private Asa.FaceControl.FaceButton BtnCancel;
private Asa.FaceControl.FaceLabel LblEncoding;
private System.Windows.Forms.TextBox txtPreview;
}
}
\ No newline at end of file
using BLL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SmartScan
{
public partial class FrmDataFilePreview : Asa.FaceControl.FormBase
{
public FrmDataFilePreview()
{
InitializeComponent();
}
public static bool ShowPreview(string filename,out string Encodingtxt) {
FrmDataFilePreview frmDataFile = new FrmDataFilePreview();
frmDataFile.Filename = filename;
Encodingtxt = frmDataFile.EncodingTxt;
if (frmDataFile.ShowDialog() != DialogResult.OK)
return false;
Encodingtxt = frmDataFile.EncodingTxt;
return true;
}
private void CboEncoding_SelectedIndexChanged(object sender, EventArgs e)
{
EncodingTxt = CboEncoding.SelectedText;
loadfile();
}
public string Filename;
public string EncodingTxt;
private void FrmDataFilePreview_Load(object sender, EventArgs e)
{
CboEncoding.Items.Add("UTF-8");
CboEncoding.Items.Add("Shift_JIS");
CboEncoding.Items.Add("EUC-JP");
CboEncoding.Items.Add("GB2312");
CboEncoding.Items.Add("GBK");
CboEncoding.SelectedIndex = 0;
if (!string.IsNullOrEmpty(Config.DataSource_Encoding))
{
CboEncoding.SelectedText = Config.DataSource_Encoding;
}
loadfile();
}
void loadfile() {
txtPreview.Text = "";
using var sm = new StreamReader(Filename, ExtraFileData.GetEncoding(EncodingTxt));
for (int i = 0; i < 10; i++)
{
var titleline = sm.ReadLine();
if (titleline == null)
break;
txtPreview.Text += titleline + "\r\n";
}
}
private void BtnOK_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
this.Close();
}
private void BtnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
this.Close();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
......@@ -14,7 +14,7 @@ namespace SmartScan
{
InitializeComponent();
Asa.FaceControl.Language.SetLanguage(this);
BtnCameraImage.Enabled = Common.cameraVision.Count > 0;
BtnCameraImage.Enabled = Common.cameraVision==null?false:Common.cameraVision.Count > 0;
}
public Asa.FaceControl.FacePanel GetPanel()
......

namespace SmartScan
{
partial class UsrDataSource
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.facePanel1 = new Asa.FaceControl.FacePanel();
this.panel1 = new System.Windows.Forms.Panel();
this.ChkRecursive = new Asa.FaceControl.FaceCheckBox();
this.groupBox_lblkey = new System.Windows.Forms.GroupBox();
this.txtkey = new System.Windows.Forms.TextBox();
this.BtnSelectFile = new Asa.FaceControl.FaceButton();
this.faceLabel2 = new Asa.FaceControl.FaceLabel();
this.faceLabel1 = new Asa.FaceControl.FaceLabel();
this.LblFilestatus = new Asa.FaceControl.FaceLabel();
this.CboDataTitle = new Asa.FaceControl.FaceComboBox();
this.CboDataKey = new Asa.FaceControl.FaceComboBox();
this.TxtDataSource = new Asa.FaceControl.FaceTextBox();
this.LblContent = new Asa.FaceControl.FaceLabel();
this.CboDataType = new Asa.FaceControl.FaceComboBox();
this.facePanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.groupBox_lblkey.SuspendLayout();
this.SuspendLayout();
//
// facePanel1
//
this.facePanel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.facePanel1.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.facePanel1.BorderWidth = 2;
this.facePanel1.Controls.Add(this.panel1);
this.facePanel1.Controls.Add(this.LblContent);
this.facePanel1.Controls.Add(this.CboDataType);
this.facePanel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.facePanel1.Location = new System.Drawing.Point(3, 3);
this.facePanel1.Name = "facePanel1";
this.facePanel1.Padding = new System.Windows.Forms.Padding(3);
this.facePanel1.ShowText = false;
this.facePanel1.Size = new System.Drawing.Size(870, 534);
this.facePanel1.TabIndex = 1;
this.facePanel1.Text = "facePanel1";
this.facePanel1.TitleFont = new System.Drawing.Font("宋体", 12F);
//
// panel1
//
this.panel1.Controls.Add(this.ChkRecursive);
this.panel1.Controls.Add(this.groupBox_lblkey);
this.panel1.Controls.Add(this.BtnSelectFile);
this.panel1.Controls.Add(this.faceLabel2);
this.panel1.Controls.Add(this.faceLabel1);
this.panel1.Controls.Add(this.LblFilestatus);
this.panel1.Controls.Add(this.CboDataTitle);
this.panel1.Controls.Add(this.CboDataKey);
this.panel1.Controls.Add(this.TxtDataSource);
this.panel1.Location = new System.Drawing.Point(6, 76);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(858, 452);
this.panel1.TabIndex = 22;
//
// ChkRecursive
//
this.ChkRecursive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkRecursive.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkRecursive.BorderWidth = 0;
this.ChkRecursive.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkRecursive.Location = new System.Drawing.Point(638, 23);
this.ChkRecursive.Name = "ChkRecursive";
this.ChkRecursive.Padding = new System.Windows.Forms.Padding(3);
this.ChkRecursive.Size = new System.Drawing.Size(217, 45);
this.ChkRecursive.TabIndex = 23;
this.ChkRecursive.Text = "遍历同目录";
//
// groupBox_lblkey
//
this.groupBox_lblkey.Controls.Add(this.txtkey);
this.groupBox_lblkey.ForeColor = System.Drawing.Color.White;
this.groupBox_lblkey.Location = new System.Drawing.Point(388, 115);
this.groupBox_lblkey.Name = "groupBox_lblkey";
this.groupBox_lblkey.Size = new System.Drawing.Size(300, 231);
this.groupBox_lblkey.TabIndex = 22;
this.groupBox_lblkey.TabStop = false;
this.groupBox_lblkey.Text = "标签可用字段";
//
// txtkey
//
this.txtkey.BackColor = System.Drawing.Color.Black;
this.txtkey.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtkey.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtkey.ForeColor = System.Drawing.Color.White;
this.txtkey.Location = new System.Drawing.Point(3, 17);
this.txtkey.Multiline = true;
this.txtkey.Name = "txtkey";
this.txtkey.ReadOnly = true;
this.txtkey.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtkey.Size = new System.Drawing.Size(294, 211);
this.txtkey.TabIndex = 0;
this.txtkey.Tag = "not";
//
// BtnSelectFile
//
this.BtnSelectFile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnSelectFile.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnSelectFile.BorderWidth = 2;
this.BtnSelectFile.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnSelectFile.HoldPress = false;
this.BtnSelectFile.Location = new System.Drawing.Point(542, 23);
this.BtnSelectFile.Name = "BtnSelectFile";
this.BtnSelectFile.Padding = new System.Windows.Forms.Padding(3);
this.BtnSelectFile.Size = new System.Drawing.Size(90, 45);
this.BtnSelectFile.TabIndex = 1;
this.BtnSelectFile.Text = "选择文件";
this.BtnSelectFile.Click += new System.EventHandler(this.BtnSelectFile_Click);
//
// faceLabel2
//
this.faceLabel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.faceLabel2.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.faceLabel2.BorderWidth = 0;
this.faceLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.faceLabel2.Location = new System.Drawing.Point(18, 228);
this.faceLabel2.Name = "faceLabel2";
this.faceLabel2.Padding = new System.Windows.Forms.Padding(3);
this.faceLabel2.Size = new System.Drawing.Size(300, 45);
this.faceLabel2.TabIndex = 21;
this.faceLabel2.Text = "关键字匹配数据标题";
this.faceLabel2.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
//
// faceLabel1
//
this.faceLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.faceLabel1.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.faceLabel1.BorderWidth = 0;
this.faceLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.faceLabel1.Location = new System.Drawing.Point(18, 115);
this.faceLabel1.Name = "faceLabel1";
this.faceLabel1.Padding = new System.Windows.Forms.Padding(3);
this.faceLabel1.Size = new System.Drawing.Size(334, 45);
this.faceLabel1.TabIndex = 21;
this.faceLabel1.Text = "识别关键词";
this.faceLabel1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
//
// LblFilestatus
//
this.LblFilestatus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.LblFilestatus.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LblFilestatus.BorderWidth = 0;
this.LblFilestatus.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblFilestatus.Location = new System.Drawing.Point(23, 74);
this.LblFilestatus.Name = "LblFilestatus";
this.LblFilestatus.Padding = new System.Windows.Forms.Padding(3);
this.LblFilestatus.Size = new System.Drawing.Size(411, 35);
this.LblFilestatus.TabIndex = 21;
this.LblFilestatus.Text = "文件状态:";
this.LblFilestatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// CboDataTitle
//
this.CboDataTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.CboDataTitle.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.CboDataTitle.BorderWidth = 2;
this.CboDataTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboDataTitle.Location = new System.Drawing.Point(23, 279);
this.CboDataTitle.Name = "CboDataTitle";
this.CboDataTitle.Padding = new System.Windows.Forms.Padding(3);
this.CboDataTitle.SelectedIndex = -1;
this.CboDataTitle.SelectedText = "";
this.CboDataTitle.Size = new System.Drawing.Size(239, 45);
this.CboDataTitle.TabIndex = 0;
this.CboDataTitle.Tag = "not";
//
// CboDataKey
//
this.CboDataKey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.CboDataKey.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.CboDataKey.BorderWidth = 2;
this.CboDataKey.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboDataKey.Location = new System.Drawing.Point(23, 166);
this.CboDataKey.Name = "CboDataKey";
this.CboDataKey.Padding = new System.Windows.Forms.Padding(3);
this.CboDataKey.SelectedIndex = -1;
this.CboDataKey.SelectedText = "";
this.CboDataKey.Size = new System.Drawing.Size(239, 45);
this.CboDataKey.TabIndex = 0;
this.CboDataKey.Tag = "not";
//
// TxtDataSource
//
this.TxtDataSource.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.TxtDataSource.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.TxtDataSource.BorderWidth = 2;
this.TxtDataSource.Location = new System.Drawing.Point(23, 23);
this.TxtDataSource.MaxLength = 32767;
this.TxtDataSource.Name = "TxtDataSource";
this.TxtDataSource.Padding = new System.Windows.Forms.Padding(3);
this.TxtDataSource.SelectedText = "";
this.TxtDataSource.SelectionLength = 0;
this.TxtDataSource.SelectionStart = 0;
this.TxtDataSource.ShowDel = false;
this.TxtDataSource.ShowQuery = false;
this.TxtDataSource.Size = new System.Drawing.Size(513, 45);
this.TxtDataSource.TabIndex = 0;
this.TxtDataSource.Tag = "not";
this.TxtDataSource.Text = "faceTextBox1";
//
// LblContent
//
this.LblContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.LblContent.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LblContent.BorderWidth = 0;
this.LblContent.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblContent.Location = new System.Drawing.Point(6, 16);
this.LblContent.Name = "LblContent";
this.LblContent.Padding = new System.Windows.Forms.Padding(3);
this.LblContent.Size = new System.Drawing.Size(121, 35);
this.LblContent.TabIndex = 21;
this.LblContent.Text = "标签数据源";
this.LblContent.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// CboDataType
//
this.CboDataType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.CboDataType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.CboDataType.BorderWidth = 2;
this.CboDataType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboDataType.Location = new System.Drawing.Point(133, 10);
this.CboDataType.Name = "CboDataType";
this.CboDataType.Padding = new System.Windows.Forms.Padding(3);
this.CboDataType.SelectedIndex = -1;
this.CboDataType.SelectedText = "";
this.CboDataType.Size = new System.Drawing.Size(150, 45);
this.CboDataType.TabIndex = 0;
this.CboDataType.Tag = "not";
this.CboDataType.Text = "CboDataType";
//
// UsrDataSource
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.facePanel1);
this.Name = "UsrDataSource";
this.Size = new System.Drawing.Size(905, 553);
this.facePanel1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.groupBox_lblkey.ResumeLayout(false);
this.groupBox_lblkey.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private Asa.FaceControl.FacePanel facePanel1;
private Asa.FaceControl.FaceComboBox CboDataType;
private Asa.FaceControl.FaceLabel LblContent;
private System.Windows.Forms.Panel panel1;
private Asa.FaceControl.FaceTextBox TxtDataSource;
private Asa.FaceControl.FaceButton BtnSelectFile;
private Asa.FaceControl.FaceLabel LblFilestatus;
private Asa.FaceControl.FaceLabel faceLabel2;
private Asa.FaceControl.FaceLabel faceLabel1;
private Asa.FaceControl.FaceComboBox CboDataTitle;
private Asa.FaceControl.FaceComboBox CboDataKey;
private System.Windows.Forms.GroupBox groupBox_lblkey;
private System.Windows.Forms.TextBox txtkey;
private Asa.FaceControl.FaceCheckBox ChkRecursive;
}
}
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using Asa.FaceControl;
using BLL;
using ClosedXML.Excel;
using Model;
namespace SmartScan
{
public partial class UsrDataSource : UserControl, ISetMenu
{
public UsrDataSource()
{
InitializeComponent();
CboDataType.Items.Add("None");
CboDataType.Items.Add("Excel/CSV");
CboDataType.SelectedIndex = 0;
TxtDataSource.TextChanged += TxtDataSource_TextChanged;
TxtDataSource.Text = Config.DataSource_String;
ChkRecursive.Checked= Config.DataSource_Recursive;
Asa.FaceControl.Language.SetLanguage(this);
}
private void TxtDataSource_TextChanged(object sender, EventArgs e)
{
var filestring = TxtDataSource.Text.Trim();
if (string.IsNullOrEmpty(filestring)) {
LblFilestatus.Text = Language.Dialog("selectdatasource","请选择数据文件");
}
if (!File.Exists(filestring))
{
LblFilestatus.Text = Language.Dialog("filenotexists", "文件状态:改文件不存在");
}
List<string> titles;
if (Path.GetExtension(TxtDataSource.Text).ToLower() == ".csv")
{
titles = ExtraFileData.ParseCSVFileTitle(TxtDataSource.Text);
}
else if (Path.GetExtension(TxtDataSource.Text).ToLower() == ".xlsx")
{
try
{
XLWorkbook wb = new XLWorkbook(filestring);
}
catch
{
LblFilestatus.Text = Language.Dialog("filepatseerror", "文件内容解析失败");
return;
}
titles = ExtraFileData.ParseXLSFileTitle(TxtDataSource.Text);
}
else
{
LblFilestatus.Text = Language.Dialog("fileformaterror", "文件格式不正确");
return;
}
txtkey.Text = "";
CboDataTitle.Items.Clear();
titles.ForEach(t => {
CboDataTitle.Items.Add(t);
txtkey.Text += $"{{{t}}}\r\n";
});
if (CboDataTitle.Items.Count > 0)
CboDataTitle.SelectedIndex = 0;
if (!string.IsNullOrEmpty(Config.DataSource_DataTitle))
{
CboDataTitle.SelectedText = Config.DataSource_DataTitle;
}
}
public Asa.FaceControl.FacePanel GetPanel()
{
if (Config.DataSource_Type == "xls")
{
CboDataType.SelectedIndex = 1;
}
else {
}
CboDataKey.Items.Clear();
CboDataKey.Items.AddRange(Common.macroKey.ToArray());
CboDataKey.SelectedIndex = 0;
if (!string.IsNullOrEmpty(Config.DataSource_DataKey))
{
CboDataKey.SelectedText = Config.DataSource_DataKey;
}
TxtDataSource.Text = Config.DataSource_String;
return facePanel1;
}
public void Save()
{
if (CboDataType.SelectedIndex == 1)
Config.DataSource_Type = "xls";
else
Config.DataSource_Type = "none";
Config.DataSource_String = TxtDataSource.Text;
Config.DataSource_DataKey = CboDataKey.Text;
Config.DataSource_DataTitle = CboDataTitle.Text;
Config.DataSource_Recursive = ChkRecursive.Checked;
ExtraFileData.Init();
}
private void BtnSelectFile_Click(object sender, EventArgs e)
{
OpenFileDialog fileDialog = new OpenFileDialog();
fileDialog.Filter = "Excel files (*.csv;*.xlsx)|*.csv;*.xlsx";
fileDialog.RestoreDirectory = true;
if (fileDialog.ShowDialog() != DialogResult.OK)
return;
if (Path.GetExtension(fileDialog.FileName).ToLower() == ".csv")
{
if (!FrmDataFilePreview.ShowPreview(fileDialog.FileName, out string encodingtxt))
return;
Config.DataSource_Encoding = encodingtxt;
}
TxtDataSource.Text = fileDialog.FileName;
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
......@@ -40,15 +40,17 @@ namespace SmartScan
this.LblPrefix = new Asa.FaceControl.FaceLabel();
this.LblPostfix = new Asa.FaceControl.FaceLabel();
this.TxtPrefix = new Asa.FaceControl.FaceTextBox();
this.btn_down = new Asa.FaceControl.FaceButton();
this.btn_up = new Asa.FaceControl.FaceButton();
this.btn_setriid = new Asa.FaceControl.FaceButton();
this.BtnAppendKey = new Asa.FaceControl.FaceButton();
this.BtnUpdateKey = new Asa.FaceControl.FaceButton();
this.BtnDelKey = new Asa.FaceControl.FaceButton();
this.BtnAddKey = new Asa.FaceControl.FaceButton();
this.TxtKey = new Asa.FaceControl.FaceTextBox();
this.LstKey = new Asa.FaceControl.FaceListBox();
this.btn_up = new Asa.FaceControl.FaceButton();
this.btn_down = new Asa.FaceControl.FaceButton();
this.btn_setriid = new Asa.FaceControl.FaceButton();
this.btn_adddatetime = new Asa.FaceControl.FaceButton();
this.ChkResetidbydate = new Asa.FaceControl.FaceCheckBox();
this.facePanel1.SuspendLayout();
this.PnlReelid.SuspendLayout();
this.SuspendLayout();
......@@ -73,7 +75,7 @@ namespace SmartScan
this.facePanel1.Name = "facePanel1";
this.facePanel1.Padding = new System.Windows.Forms.Padding(3);
this.facePanel1.ShowText = false;
this.facePanel1.Size = new System.Drawing.Size(634, 392);
this.facePanel1.Size = new System.Drawing.Size(722, 496);
this.facePanel1.TabIndex = 1;
this.facePanel1.Text = "facePanel1";
this.facePanel1.TitleFont = new System.Drawing.Font("宋体", 12F);
......@@ -83,10 +85,12 @@ namespace SmartScan
this.PnlReelid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.PnlReelid.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.PnlReelid.BorderWidth = 2;
this.PnlReelid.Controls.Add(this.btn_adddatetime);
this.PnlReelid.Controls.Add(this.LblContent);
this.PnlReelid.Controls.Add(this.TxtReelIDMatch);
this.PnlReelid.Controls.Add(this.LblPlaces);
this.PnlReelid.Controls.Add(this.NumReelIDPlaces);
this.PnlReelid.Controls.Add(this.ChkResetidbydate);
this.PnlReelid.Controls.Add(this.ChkReelIDFillZero);
this.PnlReelid.Controls.Add(this.TxtPostfix);
this.PnlReelid.Controls.Add(this.LblPrefix);
......@@ -96,7 +100,7 @@ namespace SmartScan
this.PnlReelid.Location = new System.Drawing.Point(356, 6);
this.PnlReelid.Name = "PnlReelid";
this.PnlReelid.Padding = new System.Windows.Forms.Padding(3);
this.PnlReelid.Size = new System.Drawing.Size(230, 325);
this.PnlReelid.Size = new System.Drawing.Size(230, 431);
this.PnlReelid.TabIndex = 35;
this.PnlReelid.Text = "ReelID";
this.PnlReelid.TitleFont = new System.Drawing.Font("宋体", 12F);
......@@ -255,6 +259,51 @@ namespace SmartScan
this.TxtPrefix.TabIndex = 27;
this.TxtPrefix.Text = "faceTextBox1";
//
// btn_down
//
this.btn_down.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_down.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_down.BorderWidth = 2;
this.btn_down.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_down.HoldPress = false;
this.btn_down.Location = new System.Drawing.Point(92, 312);
this.btn_down.Name = "btn_down";
this.btn_down.Padding = new System.Windows.Forms.Padding(3);
this.btn_down.Size = new System.Drawing.Size(84, 45);
this.btn_down.TabIndex = 34;
this.btn_down.Text = "▼";
this.btn_down.Click += new System.EventHandler(this.btn_down_Click);
//
// btn_up
//
this.btn_up.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_up.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_up.BorderWidth = 2;
this.btn_up.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_up.HoldPress = false;
this.btn_up.Location = new System.Drawing.Point(6, 312);
this.btn_up.Name = "btn_up";
this.btn_up.Padding = new System.Windows.Forms.Padding(3);
this.btn_up.Size = new System.Drawing.Size(80, 45);
this.btn_up.TabIndex = 34;
this.btn_up.Text = "▲";
this.btn_up.Click += new System.EventHandler(this.btn_up_Click);
//
// btn_setriid
//
this.btn_setriid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_setriid.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_setriid.BorderWidth = 2;
this.btn_setriid.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_setriid.HoldPress = false;
this.btn_setriid.Location = new System.Drawing.Point(182, 261);
this.btn_setriid.Name = "btn_setriid";
this.btn_setriid.Padding = new System.Windows.Forms.Padding(3);
this.btn_setriid.Size = new System.Drawing.Size(168, 45);
this.btn_setriid.TabIndex = 34;
this.btn_setriid.Text = "Toggle Auto ReelID";
this.btn_setriid.Click += new System.EventHandler(this.btn_setriid_Click);
//
// BtnAppendKey
//
this.BtnAppendKey.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
......@@ -346,50 +395,35 @@ namespace SmartScan
this.LstKey.TabIndex = 21;
this.LstKey.SelectedIndexChanged += new System.EventHandler(this.LstKey_SelectedIndexChanged);
//
// btn_up
// btn_adddatetime
//
this.btn_up.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_up.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_up.BorderWidth = 2;
this.btn_up.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_up.HoldPress = false;
this.btn_up.Location = new System.Drawing.Point(6, 312);
this.btn_up.Name = "btn_up";
this.btn_up.Padding = new System.Windows.Forms.Padding(3);
this.btn_up.Size = new System.Drawing.Size(80, 45);
this.btn_up.TabIndex = 34;
this.btn_up.Text = "▲";
this.btn_up.Click += new System.EventHandler(this.btn_up_Click);
//
// btn_down
//
this.btn_down.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_down.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_down.BorderWidth = 2;
this.btn_down.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_down.HoldPress = false;
this.btn_down.Location = new System.Drawing.Point(92, 312);
this.btn_down.Name = "btn_down";
this.btn_down.Padding = new System.Windows.Forms.Padding(3);
this.btn_down.Size = new System.Drawing.Size(84, 45);
this.btn_down.TabIndex = 34;
this.btn_down.Text = "▼";
this.btn_down.Click += new System.EventHandler(this.btn_down_Click);
this.btn_adddatetime.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_adddatetime.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_adddatetime.BorderWidth = 2;
this.btn_adddatetime.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_adddatetime.HoldPress = false;
this.btn_adddatetime.Location = new System.Drawing.Point(6, 357);
this.btn_adddatetime.Name = "btn_adddatetime";
this.btn_adddatetime.Padding = new System.Windows.Forms.Padding(3);
this.btn_adddatetime.Size = new System.Drawing.Size(218, 45);
this.btn_adddatetime.TabIndex = 36;
this.btn_adddatetime.Text = "添加日期时间";
this.btn_adddatetime.Click += new System.EventHandler(this.btn_adddatetime_Click);
//
// btn_setriid
// ChkResetidbydate
//
this.btn_setriid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.btn_setriid.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.btn_setriid.BorderWidth = 2;
this.btn_setriid.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.btn_setriid.HoldPress = false;
this.btn_setriid.Location = new System.Drawing.Point(182, 261);
this.btn_setriid.Name = "btn_setriid";
this.btn_setriid.Padding = new System.Windows.Forms.Padding(3);
this.btn_setriid.Size = new System.Drawing.Size(168, 45);
this.btn_setriid.TabIndex = 34;
this.btn_setriid.Text = "Toggle Auto ReelID";
this.btn_setriid.Click += new System.EventHandler(this.btn_setriid_Click);
this.ChkResetidbydate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ChkResetidbydate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkResetidbydate.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkResetidbydate.BorderWidth = 0;
this.ChkResetidbydate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkResetidbydate.Location = new System.Drawing.Point(6, 316);
this.ChkResetidbydate.Name = "ChkResetidbydate";
this.ChkResetidbydate.Padding = new System.Windows.Forms.Padding(3);
this.ChkResetidbydate.Size = new System.Drawing.Size(218, 35);
this.ChkResetidbydate.TabIndex = 25;
this.ChkResetidbydate.Text = "序号每日重置";
//
// UsrMacro
//
......@@ -397,7 +431,7 @@ namespace SmartScan
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.facePanel1);
this.Name = "UsrMacro";
this.Size = new System.Drawing.Size(688, 412);
this.Size = new System.Drawing.Size(848, 533);
this.facePanel1.ResumeLayout(false);
this.PnlReelid.ResumeLayout(false);
this.ResumeLayout(false);
......@@ -426,5 +460,7 @@ namespace SmartScan
private Asa.FaceControl.FaceButton btn_down;
private Asa.FaceControl.FaceButton btn_up;
private Asa.FaceControl.FaceButton btn_setriid;
private Asa.FaceControl.FaceButton btn_adddatetime;
private Asa.FaceControl.FaceCheckBox ChkResetidbydate;
}
}
......@@ -20,6 +20,7 @@ namespace SmartScan
TxtPostfix.Text = Common.config.ReelIDPostfix;
NumReelIDPlaces.Value = Common.config.ReelIDPlaces;
ChkReelIDFillZero.Checked = Common.config.ReelIDFillZero;
ChkResetidbydate.Checked = Common.config.ReelIDAutoResetByDate;
Asa.FaceControl.Language.SetLanguage(this);
}
......@@ -39,6 +40,7 @@ namespace SmartScan
Common.config.ReelIDPostfix = TxtPostfix.Text;
Common.config.ReelIDPlaces = (int)NumReelIDPlaces.Value;
Common.config.ReelIDFillZero = ChkReelIDFillZero.Checked;
Common.config.ReelIDAutoResetByDate = ChkResetidbydate.Checked;
Common.config.Save();
}
void setRIkey() {
......@@ -139,5 +141,11 @@ namespace SmartScan
Common.config.ReelIDKeyWord = keyCopy[LstKey.SelectedIndex];
setRIkey();
}
private void btn_adddatetime_Click(object sender, EventArgs e)
{
string key = "[datetime:yyyyMMdd]";
TxtReelIDMatch.AppendText(key);
}
}
}
......@@ -55,6 +55,18 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\FaceControl\FaceControl\bin\Debug\Asa.Face.Control.dll</HintPath>
</Reference>
<Reference Include="ClosedXML, Version=0.96.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b, processorArchitecture=MSIL">
<HintPath>..\packages\ClosedXML.0.96.0\lib\net46\ClosedXML.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\ConfigHelper\ConfigHelper\bin\Debug\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
<HintPath>..\packages\DocumentFormat.OpenXml.2.16.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelNumberFormat.1.1.0\lib\net20\ExcelNumberFormat.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.12\lib\net45\log4net.dll</HintPath>
</Reference>
......@@ -78,17 +90,43 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Common.cs" />
<Compile Include="ExtraFileData.cs" />
<Compile Include="Form\FrmWaitting.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form\FrmWaitting.Designer.cs">
<DependentUpon>FrmWaitting.cs</DependentUpon>
</Compile>
<Compile Include="PlusSettingFrm\FrmSetPlus.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PlusSettingFrm\FrmSetPlus.Designer.cs">
<DependentUpon>FrmSetPlus.cs</DependentUpon>
</Compile>
<Compile Include="PlusSettingFrm\UsrLabeling.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="PlusSettingFrm\UsrLabeling.Designer.cs">
<DependentUpon>UsrLabeling.cs</DependentUpon>
</Compile>
<Compile Include="ScanWork.cs" />
<Compile Include="ServerCommunication.cs" />
<Compile Include="SetControl\FrmDataFilePreview.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SetControl\FrmDataFilePreview.Designer.cs">
<DependentUpon>FrmDataFilePreview.cs</DependentUpon>
</Compile>
<Compile Include="SetControl\UsrDataSource.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SetControl\UsrDataSource.Designer.cs">
<DependentUpon>UsrDataSource.cs</DependentUpon>
</Compile>
<Compile Include="UserLoginWindow.cs" />
<Compile Include="Form\FrmAbout.cs">
<SubType>Form</SubType>
......@@ -230,6 +268,12 @@
<EmbeddedResource Include="Form\FrmWaitting.resx">
<DependentUpon>FrmWaitting.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PlusSettingFrm\FrmSetPlus.resx">
<DependentUpon>FrmSetPlus.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PlusSettingFrm\UsrLabeling.resx">
<DependentUpon>UsrLabeling.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
......@@ -240,6 +284,12 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="SetControl\FrmDataFilePreview.resx">
<DependentUpon>FrmDataFilePreview.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SetControl\UsrDataSource.resx">
<DependentUpon>UsrDataSource.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SetControl\UsrWorkMode.resx">
<DependentUpon>UsrWorkMode.cs</DependentUpon>
</EmbeddedResource>
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>
</StartArguments>
<StartArguments>background-</StartArguments>
</PropertyGroup>
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
......
......@@ -3,6 +3,9 @@ using System.ServiceModel;
using System.ServiceModel.Activation;
using System.IO;
using Model;
using System.Runtime.Serialization.Formatters.Binary;
using System.Drawing;
using System.Collections.Generic;
namespace SmartScan
{
......@@ -44,7 +47,48 @@ namespace SmartScan
Common.frmMain.Invoke(new Action(() => { msg = Common.frmMain.WebTouchWork(str); }));
return new WebResultCode() { Data = msg };
}
public WebResultCode ProcessBitmap(Stream info, string param)
{
BinaryFormatter bf = new BinaryFormatter();
Bitmap bitmap = (Bitmap)bf.Deserialize(info);
try
{
List<CameraVisionLib.Model.BarcodeInfo> workCodeInfo = new();
Dictionary<string, string> workCodeKeyword;// = new(StringComparer.OrdinalIgnoreCase);
bool[] originalCodeIsUsed = null;
workCodeInfo = Common.cameraVision.GetBarCode(bitmap);
if (workCodeInfo.Count == 0)
return new WebResultCode() { ErrorCode = -1, Msg = "扫码失败" };
bool rtn = Common.mateEdit.MatchingTemplate(workCodeInfo, Common.config.DefaultMaterialName, false, out string mateName, out workCodeKeyword, out originalCodeIsUsed);
LogNet.log.Info("Work SetKey hasMatch:" + rtn);
WebResultCode webResultCode = null;
if (!Common.extension.SetKey(null, workCodeKeyword, rtn, out string errmsg))
{
webResultCode = new WebResultCode() { ErrorCode = -2, Msg = errmsg };
}
if (webResultCode != null)
return webResultCode;
LogNet.log.Info("Work scan is done");
List<KeyValuePair<string, string>> result = new List<KeyValuePair<string, string>>();
foreach (var wc in workCodeKeyword) {
result.Add(new KeyValuePair<string, string>(wc.Key,wc.Value));
}
return new WebResultCode() { workCodeKeyword = result, workCodeInfo = workCodeInfo };
}
catch (Exception ex)
{
LogNet.log.Error("ProcessBitmap", ex);
return new WebResultCode() { ErrorCode = -1, Msg = "扫码失败:"+ ex };
}
}
}
......
......@@ -289,6 +289,12 @@
</summary>
<returns></returns>
</member>
<member name="M:Asa.Camera.VisionLib.GetImage(System.Int32)">
<summary>
按索引获取当前图像
</summary>
<returns></returns>
</member>
<member name="M:Asa.Camera.VisionLib.GetImage(System.String)">
<summary>
获取当前图像
......
1529
\ No newline at end of file
1541
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<appSettings>
<Language>简体中文</Language>
<Language>English</Language>
<PrinterName>Microsoft Print to PDF</PrinterName>
<PrintLandscape>False</PrintLandscape>
<HistoryImage>Original</HistoryImage>
......@@ -16,8 +16,7 @@
<IOTouch>0</IOTouch>
<IOLight>0</IOLight>
<ExtensionWidth>300</ExtensionWidth>
<ReelIDMatch>
</ReelIDMatch>
<ReelIDMatch>[datetime:yyyyMMdd]</ReelIDMatch>
<ReelIDPlaces>9</ReelIDPlaces>
<ReelIDFillZero>True</ReelIDFillZero>
<ReelIDPrefix>C</ReelIDPrefix>
......@@ -30,13 +29,12 @@
<HttpReelID>http://127.0.0.1:8888/test</HttpReelID>
<DefaultMaterialName>m2</DefaultMaterialName>
<TriggerOpenLight>True</TriggerOpenLight>
<WebService>
</WebService>
<WebService>http://127.0.0.1:58137</WebService>
<PromptAfterPrinting>False</PromptAfterPrinting>
<AutoPrint>True</AutoPrint>
<ReelIDKeyWord>
</ReelIDKeyWord>
<ReelIDKeyWord>Reelid</ReelIDKeyWord>
<SmfServer>http://192.168.1.243/smf-core/</SmfServer>
<CID>NeoScan01</CID>
<IOModule>NiRen</IOModule>
<ReelIDAutoResetByDate>False</ReelIDAutoResetByDate>
</appSettings>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Language Name="English">
<Dialog>
<LoginWrong>The login password is incorrect.</LoginWrong>
<SaveSucceed>Save Successfully</SaveSucceed>
<Error>Error</Error>
<CodeCount>The code number is 0</CodeCount>
<SelectPrintContent>Recognition complete, select print content</SelectPrintContent>
<CodeCount>The code number is 0</CodeCount>
<SelectPrintContent>Recognition complete, select print content</SelectPrintContent>
<PrintTemplateAdd>Enter the name of the new print label template</PrintTemplateAdd>
<PrintTemplateDel>Delete print label template [name] ?</PrintTemplateDel>
<PrintTemplateRename>Rename print label template [name] to</PrintTemplateRename>
<MaterialTemplateAdd>Enter the name of the new material template</MaterialTemplateAdd>
<MaterialTemplateDel>Delete material template [name] ?</MaterialTemplateDel>
<MaterialTemplateRename>Rename material template [name] to</MaterialTemplateRename>
<MaterialTemplateNoMatch>The material template does not match</MaterialTemplateNoMatch>
<ServerReturn>The server returned data is error</ServerReturn>
<ServerJson>The server returned data is empty</ServerJson>
<LabelEmpty>Print label content is empty, do you want to continue printing?</LabelEmpty>
<MaterialTemplateAdd>Enter the name of the new material template</MaterialTemplateAdd>
<MaterialTemplateDel>Delete material template [name] ?</MaterialTemplateDel>
<MaterialTemplateRename>Rename material template [name] to</MaterialTemplateRename>
<MaterialTemplateNoMatch>The material template does not match</MaterialTemplateNoMatch>
<ServerReturn>The server returned data is error</ServerReturn>
<ServerJson>The server returned data is empty</ServerJson>
<LabelEmpty>Print label content is empty, do you want to continue printing?</LabelEmpty>
<KeyExists>[name], Key already exists</KeyExists>
<KeyRepeat>Repeat keyword</KeyRepeat>
<KeyEmpty>Keyword can't be empty</KeyEmpty>
<NoMatchSelect>A matching pattern must be selected</NoMatchSelect>
<KeyEmpty>Keyword can't be empty</KeyEmpty>
<NoMatchSelect>A matching pattern must be selected</NoMatchSelect>
<UnlockWrong>Wrong unlock password</UnlockWrong>
<RepeatPrint>The tray label has been printed</RepeatPrint>
<MaterialScanning>In recognition...</MaterialScanning>
<MaterialScanning>In recognition...</MaterialScanning>
<MaterialTemplateMatching>Template matching...</MaterialTemplateMatching>
<MaterialProcessing>Processing results...</MaterialProcessing>
<PleaseWaiting>Please Waiting...</PleaseWaiting>
<MatchType_max>Match at most</MatchType_max>
<MatchType_equals>Match equals</MatchType_equals>
<MatchType_min>Match at least</MatchType_min>
<OcrNeedCodeSetKey>Ocr's based barcode must first match the keyword</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>There are Ocr rules under this matching rule, and all keywords cannot be deleted</ThisMatchHasOcrCantdelete>
<MatchType_max>Match at most</MatchType_max>
<MatchType_equals>Match equals</MatchType_equals>
<MatchType_min>Match at least</MatchType_min>
<OcrNeedCodeSetKey>Ocr's based barcode must first match the keyword</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>There are Ocr rules under this matching rule, and all keywords cannot be deleted</ThisMatchHasOcrCantdelete>
<!--原文:请选择数据文件-->
<selectdatasource>Please select data source</selectdatasource>
<!--原文:文件状态:改文件不存在-->
<filenotexists>文件状态:The file doesn't exit</filenotexists>
<!--原文:文件内容解析失败-->
<filepatseerror>File read fails</filepatseerror>
<!--原文:文件格式不正确-->
<fileformaterror>Incorrect file format</fileformaterror>
</Dialog>
<FrmUsersLogin Text="Login" Font="Arial,24,B,">
<LblUser Text="User name" Font="Arial,11,," />
<TxtUser Text="" Font="Arial,12,," />
<TxtUser Text="" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnLogin Text="Login" Font="Arial,15,B," />
</FrmUsersLogin>
<FrmMain Text="Material Registration System" Font="Arial,24,B,">
<BtnStart Text="Start" Font="Arial,14,B," />
<BtnRetrospect Text="Traceability" Font="Arial,14,B," />
<BtnRetrospect Text="Traceability" Font="Arial,14,B," />
<BtnSet Text="Setting" Font="Arial,14,B," />
<BtnAbout Text="About" Font="Arial,14,B," />
<BtnTriggerIO Text="Trigger Device" Font="Arial,9,," />
<LblCameraExist Text="Recognition connect status" Font="Arial,9,," />
<LblIOExist Text="IO Connect Status" Font="Arial,9,," />
<PnlExtension Text="Infomation" Font="Arial,14,B," />
<BtnTriggerIO Text="Trigger Device" Font="Arial,9,," />
<LblCameraExist Text="Recognition connect status" Font="Arial,9,," />
<LblIOExist Text="IO Connect Status" Font="Arial,9,," />
<PnlExtension Text="Infomation" Font="Arial,14,B," />
</FrmMain>
<FrmSet Text="Setting" Font="Arial,24,B,">
<BtnWorkMode Text="Work Mode" Font="Arial,12,B," />
......@@ -57,7 +65,19 @@
<BtnOK Text="Save" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnApply Text="Apply" Font="Arial,12,," />
<!--原文:Data Source-->
<BtnDataSource Text="Data Source" Font="微软雅黑,12,," />
</FrmSet>
<FrmSetPlus Text="BarCode Rule Setting" Font="Arial,24,B,">
<BtnWorkMode Text="Work Mode" Font="Arial,12,B," />
<BtnIdentify Text="Identify" Font="Arial,12,B," />
<BtnLabel Text="Label Template" Font="Arial,12,B," />
<BtnMaterial Text="Material Template" Font="Arial,12,B," />
<BtnKeyword Text="Keyword" Font="Arial,12,B," />
<BtnOK Text="Save" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
<BtnApply Text="Apply" Font="Arial,12,," />
</FrmSetPlus>
<UsrWorkMode>
<LblPrint Text="Printer" Font="Arial,12,B," />
<LblDefaultLabel Text="Default Print Label" Font="Arial,12,B," />
......@@ -67,14 +87,14 @@
<RdoOriginal Text="Original" Font="Arial,12,," />
<RdoCondense Text="Compressed" Font="Arial,12,," />
<RdoNoImage Text="Not Saving" Font="Arial,12,," />
<ChkSelectPN Text="Query PN from the server" Font="Arial,12,," />
<ChkLabelEmptyCheck Text="Print empy content reminder" Font="Arial,12,," />
<ChkSelectPN Text="Query PN from the server" Font="Arial,12,," />
<ChkLabelEmptyCheck Text="Print empy content reminder" Font="Arial,12,," />
<ChkPrintCompletedClear Text="Clear the contents after printed the label" Font="Arial,12,," />
<ChkOpenEnterWork Text="Enter working mode when software is opened" Font="Arial,12,," />
<ChkOpenEnterWork Text="Enter working mode when software is opened" Font="Arial,12,," />
<ChkOpenMaximize Text="Open software maximized window" Font="Arial,12,," />
<ChkTriggerOpenLight Text="Turn on light after triggering device" Font="Arial,12,," />
<ChkPromptAfterPrinting Text="Prompt message after identification is complete" Font="Arial,12,," />
<ChkAutoPrint Text="Auto Print" Font="Arial,12,," />
<ChkPromptAfterPrinting Text="Prompt message after identification is complete" Font="Arial,12,," />
<ChkAutoPrint Text="Auto Print" Font="Arial,12,," />
<LstPrinter Text="" Font="Arial,12,," />
<LstLabel Text="" Font="Arial,12,," />
<LblDefaultMate Text="First matching template" Font="Arial,12,B," />
......@@ -84,41 +104,57 @@
<BtnOpenLight Text="Turn on light" Font="Arial,12,," />
<BtnCloseLight Text="Turn off light" Font="Arial,12,," />
<BtnCameraImage Text="Gain device image" Font="Arial,12,," />
<BtnLocalImage Text="Open local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnLocalImage Text="Open local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnSaveImage Text="Save image" Font="Arial,12,," />
<LstCode Text="" Font="Arial,12,," />
</UsrCamera>
<UsrPrintTemplate>
<BtnAddLabel Text="New template" Font="Arial,12,," />
<BtnDelLabel Text="Delete template" Font="Arial,12,," />
<BtnCopyLabel Text="Copy label" Font="Arial,12,," />
<BtnRenameLabel Text="Rename" Font="Arial,12,," />
<BtnPrintTest Text="Print test" Font="Arial,12,," />
<BtnAddField Text="Add field" Font="Arial,12,," />
<BtnDelField Text="Delete field" Font="Arial,12,," />
<BtnFieldFont Text="Field font" Font="Arial,12,," />
<BtnSetField Text="Set field content" Font="Arial,12,," />
<LblFieldType Text="Type" Font="Arial,12,B," />
<ChkFieldShowKey Text="Display key" Font="Arial,12,," />
<LblFieldX Text="X(mm)" Font="Arial,12,B," />
<LblFieldY Text="Y(mm)" Font="Arial,12,B," />
<LblFieldW Text="W(mm)" Font="Arial,12,B," />
<LblFieldH Text="L(mm)" Font="Arial,12,B," />
<BtnCopyLabel Text="Copy label" Font="Arial,12,," />
<BtnRenameLabel Text="Rename" Font="Arial,12,," />
<BtnPrintTest Text="Print test" Font="Arial,12,," />
<BtnAddField Text="Add field" Font="Arial,12,," />
<BtnDelField Text="Delete field" Font="Arial,12,," />
<BtnFieldFont Text="Field font" Font="Arial,12,," />
<BtnSetField Text="Set field content" Font="Arial,12,," />
<LblFieldType Text="Type" Font="Arial,12,B," />
<ChkFieldShowKey Text="Display key" Font="Arial,12,," />
<LblFieldX Text="X(mm)" Font="Arial,12,B," />
<LblFieldY Text="Y(mm)" Font="Arial,12,B," />
<LblFieldW Text="W(mm)" Font="Arial,12,B," />
<LblFieldH Text="L(mm)" Font="Arial,12,B," />
</UsrPrintTemplate>
<UsrMaterialTemplate>
<BtnAddMate Text="New label" Font="Arial,12,," />
<BtnDelMate Text="Delete label" Font="Arial,12,," />
<BtnRenameMate Text="Rename" Font="Arial,12,," />
<BtnRenameMate Text="Rename" Font="Arial,12,," />
<BtnOpenLight Text="Turn on light" Font="Arial,12,," />
<BtnCloseLight Text="Turn off light" Font="Arial,12,," />
<BtnCameraImage Text="Gain device image" Font="Arial,12,," />
<BtnLocalImage Text="Open Local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnLocalImage Text="Open Local image" Font="Arial,12,," />
<BtnScanCode Text="Recognition code" Font="Arial,12,," />
<BtnExtractCode Text="Extract code" Font="Arial,12,," />
<BtnOcrCode Text="OCR" Font="Arial,12,," />
<BtnPrimaryCode Text="Set Primary code" Font="Arial,12,," />
<BtnPrimaryCode Text="Set Primary code" Font="Arial,12,," />
</UsrMaterialTemplate>
<UsrDataSource>
<!--原文:遍历同目录-->
<ChkRecursive Text="Search files in the same directory" Font="微软雅黑,12,," />
<!--原文:标签可用字段-->
<groupBox_lblkey Text="Label Available Fields" Font="微软雅黑,12,," />
<!--原文:选择文件-->
<BtnSelectFile Text="Select File" Font="微软雅黑,12,," />
<!--原文:关键字匹配数据标题-->
<faceLabel2 Text="Keyword matches the data title" Font="微软雅黑,12,," />
<!--原文:识别关键词-->
<faceLabel1 Text="Identify Key Words" Font="微软雅黑,12,," />
<!--原文:文件状态:-->
<LblFilestatus Text="File Status:" Font="微软雅黑,12,," />
<!--原文:Label Data Source-->
<LblContent Text="Label Data Source" Font="微软雅黑,12,," />
</UsrDataSource>
<UsrMacro>
<BtnAddKey Text="Add key" Font="Arial,12,," />
<BtnDelKey Text="Delete key" Font="Arial,12,," />
......@@ -129,24 +165,28 @@
<LblContent Text="Build conditions" Font="Arial,12,B," />
<LblPrefix Text="Prefix" Font="Arial,10,," />
<LblPostfix Text="Suffix" Font="Arial,10,," />
<LblPlaces Text="Field length" Font="Arial,10,," />
<ChkReelIDFillZero Text="Fill zero" Font="Arial,12,," />
<LblPlaces Text="Field length" Font="Arial,10,," />
<ChkReelIDFillZero Text="Fill zero" Font="Arial,12,," />
<!--原文:添加日期时间-->
<btn_adddatetime Text="Date" Font="微软雅黑,12,," />
<!--原文:序号每日重置-->
<ChkResetidbydate Text="Serial Number Reset Daily" Font="微软雅黑,12,," />
</UsrMacro>
<UsrCodeExtractList>
<ChkMatchingStart Text="Match starting characters" Font="Arial,12,," />
<ChkMatchingEnd Text="Match ending characters" Font="Arial,12,," />
<ChkMatchingMiddle Text="Contains characters" Font="Arial,12,," />
<ChkMatchingStart Text="Match starting characters" Font="Arial,12,," />
<ChkMatchingEnd Text="Match ending characters" Font="Arial,12,," />
<ChkMatchingMiddle Text="Contains characters" Font="Arial,12,," />
<ChkMatchisnumber Text="Must be a number" Font="Arial,12,," />
<ChkMatchingSplit Text="Barcode split character" Font="Arial,12,," />
<LblSplitPart Text="Get the split part" Font="Arial,12,," />
<ChkCaseSensitivity Text="Case sensitivity" Font="Arial,12,," />
<ChkMinLength Text="Min length" Font="Arial,12,," />
<ChkMaxLength Text="Max length" Font="Arial,12,," />
<LblKeyword Text="Keyword" Font="Arial,12,," />
<LblStart Text="Part code start" Font="Arial,12,," />
<LblLength Text="Part code length" Font="Arial,12,," />
<ChkLengthEnd Text="Code ending" Font="Arial,12,," />
<ChkCheckCodeType Text="Match barcode encode type" Font="Arial,12,," />
<ChkCaseSensitivity Text="Case sensitivity" Font="Arial,12,," />
<ChkMinLength Text="Min length" Font="Arial,12,," />
<ChkMaxLength Text="Max length" Font="Arial,12,," />
<LblKeyword Text="Keyword" Font="Arial,12,," />
<LblStart Text="Part code start" Font="Arial,12,," />
<LblLength Text="Part code length" Font="Arial,12,," />
<ChkLengthEnd Text="Code ending" Font="Arial,12,," />
<ChkCheckCodeType Text="Match barcode encode type" Font="Arial,12,," />
<BtnDel Text="Delete" Font="Arial,12,," />
</UsrCodeExtractList>
<FrmAbout Text="About" Font="Arial,24,B,">
......@@ -154,13 +194,13 @@
</FrmAbout>
<FrmFieldContent Text="Set Field Content" Font="Arial,24,B,">
<LblContent Text="Field Content" Font="Arial,12,," />
<BtnInsert Text="Insert" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnInsert Text="Insert" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
</FrmFieldContent>
<FrmCodeExtract Text="Code Extract" Font="Arial,24,B,">
<BtnAddMatch Text="+" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnOK Text="OK" Font="Arial,12,," />
<BtnCancel Text="Cancel" Font="Arial,12,," />
</FrmCodeExtract>
<FrmCodeOCR Text="OCR" Font="Arial,24,B,">
......@@ -174,7 +214,7 @@
<FrmRetrospect Text="Traceability" Font="Arial,24,B,">
<LblDateRange Text="Date range" Font="Arial,12,," />
<LblCode Text="Material ID" Font="Arial,12,," />
<BtnSelect Text="Search" Font="Arial,12,," />
<BtnSelect Text="Search" Font="Arial,12,," />
<BtnExport Text="Export" Font="Arial,12,," />
<BtnExportAll Text="Export All" Font="Arial,12,," />
<LblAllCode Text="Material barcode" Font="Arial,12,," />
......
......@@ -3,19 +3,19 @@
<Dialog>
<LoginWrong>登录密码错误。</LoginWrong>
<SaveSucceed>保存成功</SaveSucceed>
<Error>错误</Error>
<CodeCount>条码数量为0</CodeCount>
<SelectPrintContent>识别完成,选择打印内容</SelectPrintContent>
<Error>错误</Error>
<CodeCount>条码数量为0</CodeCount>
<SelectPrintContent>识别完成,选择打印内容</SelectPrintContent>
<PrintTemplateAdd>输入新的打印标签模板名称</PrintTemplateAdd>
<PrintTemplateDel>确定要删除打印标签模板 [name] 吗?</PrintTemplateDel>
<PrintTemplateRename>把模板 [name] 重命名为</PrintTemplateRename>
<MaterialTemplateAdd>输入新的物料模板名称</MaterialTemplateAdd>
<MaterialTemplateDel>确定要删除物料模板 [name] 吗?</MaterialTemplateDel>
<MaterialTemplateRename>把模板 [name] 重命名为</MaterialTemplateRename>
<MaterialTemplateNoMatch>没有匹配到物料模板</MaterialTemplateNoMatch>
<ServerReturn>服务端返回数据错误</ServerReturn>
<ServerJson>服务端数据为空</ServerJson>
<LabelEmpty>打印标签内容有空内容,是否继续打印?</LabelEmpty>
<MaterialTemplateAdd>输入新的物料模板名称</MaterialTemplateAdd>
<MaterialTemplateDel>确定要删除物料模板 [name] 吗?</MaterialTemplateDel>
<MaterialTemplateRename>把模板 [name] 重命名为</MaterialTemplateRename>
<MaterialTemplateNoMatch>没有匹配到物料模板</MaterialTemplateNoMatch>
<ServerReturn>服务端返回数据错误</ServerReturn>
<ServerJson>服务端数据为空</ServerJson>
<LabelEmpty>打印标签内容有空内容,是否继续打印?</LabelEmpty>
<KeyExists>[name],关键字已存在</KeyExists>
<KeyRepeat>重复关键字</KeyRepeat>
<NoMatchSelect>必须选择一个匹配模式</NoMatchSelect>
......@@ -25,28 +25,30 @@
<MaterialScanning>拍照识别...</MaterialScanning>
<MaterialTemplateMatching>模版匹配...</MaterialTemplateMatching>
<MaterialProcessing>计算结果...</MaterialProcessing>
<PleaseWaiting>请稍后...</PleaseWaiting>
<MatchType_max>匹配数量至多</MatchType_max>
<MatchType_equals>匹配数量等于</MatchType_equals>
<MatchType_min>匹配数量至少</MatchType_min>
<OcrNeedCodeSetKey>Ocr的基准条码必须先匹配关键字</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>该匹配规则下有Ocr规则,不能删除全部关键字</ThisMatchHasOcrCantdelete>
<PleaseWaiting>请稍后...</PleaseWaiting>
<MatchType_max>匹配数量至多</MatchType_max>
<MatchType_equals>匹配数量等于</MatchType_equals>
<MatchType_min>匹配数量至少</MatchType_min>
<OcrNeedCodeSetKey>Ocr的基准条码必须先匹配关键字</OcrNeedCodeSetKey>
<ThisMatchHasOcrCantdelete>该匹配规则下有Ocr规则,不能删除全部关键字</ThisMatchHasOcrCantdelete>
</Dialog>
<FrmUsersLogin Text="登录" Font="微软雅黑,24,B,">
<LblUser Text="用户名:" Font="微软雅黑,11,," />
<TxtUser Text="" Font="微软雅黑,12,," />
<TxtUser Text="" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnLogin Text="登录" Font="微软雅黑,15,B," />
</FrmUsersLogin>
<FrmMain Text="物料注册系统" Font="微软雅黑,24,B,">
<BtnStart Text="开始" Font="微软雅黑,14,B," />
<BtnRetrospect Text="追溯" Font="微软雅黑,14,B," />
<BtnRetrospect Text="追溯" Font="微软雅黑,14,B," />
<BtnSet Text="设置" Font="微软雅黑,14,B," />
<BtnAbout Text="关于" Font="微软雅黑,14,B," />
<BtnTriggerIO Text="触发识别设备" Font="微软雅黑,9,," />
<LblCameraExist Text="识别设备连接" Font="微软雅黑,9,," />
<LblIOExist Text="IO模块连接" Font="微软雅黑,9,," />
<PnlExtension Text="功能" Font="微软雅黑,14,B," />
<BtnTriggerIO Text="触发识别设备" Font="微软雅黑,9,," />
<LblCameraExist Text="识别设备连接" Font="微软雅黑,9,," />
<LblIOExist Text="IO模块连接" Font="微软雅黑,9,," />
<PnlExtension Text="功能" Font="微软雅黑,14,B," />
<!--原文:简体中文-->
<CboLanguage Text="简体中文" Font="微软雅黑,12,," />
</FrmMain>
<FrmSet Text="设置" Font="微软雅黑,24,B,">
<BtnWorkMode Text="工作模式" Font="微软雅黑,12,B," />
......@@ -57,24 +59,36 @@
<BtnOK Text="保存" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnApply Text="应用" Font="微软雅黑,12,," />
<!--原文:数据源-->
<BtnDataSource Text="数据源" Font="微软雅黑,12,," />
</FrmSet>
<FrmSetPlus Text="条码规则设置" Font="微软雅黑,24,B,">
<BtnWorkMode Text="工作模式" Font="微软雅黑,12,B," />
<BtnIdentify Text="识别设备" Font="微软雅黑,12,B," />
<BtnLabel Text="打印模版" Font="微软雅黑,12,B," />
<BtnMaterial Text="物料模版" Font="微软雅黑,12,B," />
<BtnKeyword Text="关键字" Font="微软雅黑,12,B," />
<BtnOK Text="保存" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
<BtnApply Text="应用" Font="微软雅黑,12,," />
</FrmSetPlus>
<UsrWorkMode>
<LblPrint Text="打印机" Font="微软雅黑,12,B," />
<LblDefaultLabel Text="默认打印标签" Font="微软雅黑,12,B," />
<RdoLandscape Text="横向打印" Font="微软雅黑,12,," />
<RdoVertical Text="纵向打印" Font="微软雅黑,12,," />
<LblHistoryImage Text="追溯图像保存" Font="微软雅黑,12,B," />
<RdoOriginal Text="原图" Font="微软雅黑,12,," />
<LblHistoryImage Text="追溯图像保存" Font="微软雅黑,12,B," />
<RdoOriginal Text="原图" Font="微软雅黑,12,," />
<RdoCondense Text="压缩图像" Font="微软雅黑,12,," />
<RdoNoImage Text="不保存" Font="微软雅黑,12,," />
<ChkSelectPN Text="从服务器上查询PN" Font="微软雅黑,12,," />
<ChkLabelEmptyCheck Text="打印标签空内容提醒" Font="微软雅黑,12,," />
<ChkSelectPN Text="从服务器上查询PN" Font="微软雅黑,12,," />
<ChkLabelEmptyCheck Text="打印标签空内容提醒" Font="微软雅黑,12,," />
<ChkPrintCompletedClear Text="打印标签后清除内容" Font="微软雅黑,12,," />
<ChkOpenEnterWork Text="打开软件自动进入工作模式" Font="微软雅黑,12,," />
<ChkOpenEnterWork Text="打开软件自动进入工作模式" Font="微软雅黑,12,," />
<ChkOpenMaximize Text="打开软件最大化窗口" Font="微软雅黑,12,," />
<ChkTriggerOpenLight Text="触发信号后在打开光源" Font="微软雅黑,12,," />
<ChkPromptAfterPrinting Text="识别完成后提示" Font="微软雅黑,12,," />
<ChkAutoPrint Text="自动打印" Font="微软雅黑,12,," />
<ChkPromptAfterPrinting Text="识别完成后提示" Font="微软雅黑,12,," />
<ChkAutoPrint Text="自动打印" Font="微软雅黑,12,," />
<LstPrinter Text="" Font="微软雅黑,12,," />
<LstLabel Text="" Font="微软雅黑,12,," />
<LblDefaultMate Text="优先匹配模板" Font="微软雅黑,12,B," />
......@@ -84,69 +98,73 @@
<BtnOpenLight Text="打开光源" Font="微软雅黑,12,," />
<BtnCloseLight Text="关闭光源" Font="微软雅黑,12,," />
<BtnCameraImage Text="获取设备图像" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnSaveImage Text="保存图像" Font="微软雅黑,12,," />
<LstCode Text="" Font="微软雅黑,12,," />
</UsrCamera>
<UsrPrintTemplate>
<BtnAddLabel Text="新建标签" Font="微软雅黑,12,," />
<BtnDelLabel Text="删除标签" Font="微软雅黑,12,," />
<BtnCopyLabel Text="复制标签" Font="微软雅黑,12,," />
<BtnRenameLabel Text="重命名" Font="微软雅黑,12,," />
<BtnPrintTest Text="打印测试" Font="微软雅黑,12,," />
<BtnCopyLabel Text="复制标签" Font="微软雅黑,12,," />
<BtnRenameLabel Text="重命名" Font="微软雅黑,12,," />
<BtnPrintTest Text="打印测试" Font="微软雅黑,12,," />
<BtnAddField Text="添加字段" Font="微软雅黑,12,," />
<BtnDelField Text="删除字段" Font="微软雅黑,12,," />
<BtnFieldFont Text="字段字体" Font="微软雅黑,12,," />
<BtnSetField Text="设置字段内容" Font="微软雅黑,12,," />
<LblFieldType Text="码制" Font="微软雅黑,12,B," />
<ChkFieldShowKey Text="显示关键字" Font="微软雅黑,12,," />
<LblFieldX Text="X(mm)" Font="微软雅黑,12,B," />
<LblFieldY Text="Y(mm)" Font="微软雅黑,12,B," />
<LblFieldW Text="W(mm)" Font="微软雅黑,12,B," />
<LblFieldH Text="L(mm)" Font="微软雅黑,12,B," />
<BtnDelField Text="删除字段" Font="微软雅黑,12,," />
<BtnFieldFont Text="字段字体" Font="微软雅黑,12,," />
<BtnSetField Text="设置字段内容" Font="微软雅黑,12,," />
<LblFieldType Text="码制" Font="微软雅黑,12,B," />
<ChkFieldShowKey Text="显示关键字" Font="微软雅黑,12,," />
<LblFieldX Text="X(mm)" Font="微软雅黑,12,B," />
<LblFieldY Text="Y(mm)" Font="微软雅黑,12,B," />
<LblFieldW Text="W(mm)" Font="微软雅黑,12,B," />
<LblFieldH Text="L(mm)" Font="微软雅黑,12,B," />
</UsrPrintTemplate>
<UsrMaterialTemplate>
<BtnAddMate Text="新建模板" Font="微软雅黑,12,," />
<BtnDelMate Text="删除模板" Font="微软雅黑,12,," />
<BtnRenameMate Text="重命名" Font="微软雅黑,12,," />
<BtnRenameMate Text="重命名" Font="微软雅黑,12,," />
<BtnOpenLight Text="打开光源" Font="微软雅黑,12,," />
<BtnCloseLight Text="关闭光源" Font="微软雅黑,12,," />
<BtnCameraImage Text="获取设备图像" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnExtractCode Text="提取条码" Font="微软雅黑,12,," />
<BtnOcrCode Text="OCR" Font="微软雅黑,12,," />
<BtnPrimaryCode Text="特征码" Font="微软雅黑,12,," />
<BtnLocalImage Text="打开本地图片" Font="微软雅黑,12,," />
<BtnScanCode Text="识别条码" Font="微软雅黑,12,," />
<BtnExtractCode Text="提取条码" Font="微软雅黑,12,," />
<BtnOcrCode Text="OCR" Font="微软雅黑,12,," />
<BtnPrimaryCode Text="特征码" Font="微软雅黑,12,," />
</UsrMaterialTemplate>
<UsrMacro>
<BtnAddKey Text="添加" Font="微软雅黑,12,," />
<BtnDelKey Text="删除" Font="微软雅黑,12,," />
<BtnUpdateKey Text="更新" Font="微软雅黑,12,," />
<BtnAppendKey Text="添加到生成条件" Font="微软雅黑,12,," />
<btn_setriid Text="切换自动RI" Font="微软雅黑,12,," />
<btn_setriid Text="切换自动RI" Font="微软雅黑,12,," />
<PnlReelid Text="Reel ID" Font="微软雅黑,12,," />
<LblContent Text="生成条件" Font="微软雅黑,12,B," />
<LblPrefix Text="开头字符串" Font="微软雅黑,12,," />
<LblPostfix Text="结尾字符串" Font="微软雅黑,12,," />
<LblPlaces Text="数字位数" Font="微软雅黑,12,," />
<ChkReelIDFillZero Text="位数不足前面补0" Font="微软雅黑,12,," />
<LblPlaces Text="数字位数" Font="微软雅黑,12,," />
<ChkReelIDFillZero Text="位数不足前面补0" Font="微软雅黑,12,," />
<!--原文:添加日期时间-->
<btn_adddatetime Text="添加日期时间" Font="微软雅黑,12,," />
<!--原文:序号每日重置-->
<ChkResetidbydate Text="序号每日重置" Font="微软雅黑,12,," />
</UsrMacro>
<UsrCodeExtractList>
<ChkMatchingStart Text="匹配开头字符" Font="微软雅黑,12,," />
<ChkMatchingEnd Text="匹配结尾字符" Font="微软雅黑,12,," />
<ChkMatchingMiddle Text="匹配任意位置字符" Font="微软雅黑,12,," />
<ChkMatchingStart Text="匹配开头字符" Font="微软雅黑,12,," />
<ChkMatchingEnd Text="匹配结尾字符" Font="微软雅黑,12,," />
<ChkMatchingMiddle Text="匹配任意位置字符" Font="微软雅黑,12,," />
<ChkMatchisnumber Text="必须为数字" Font="微软雅黑,12,," />
<ChkMatchingSplit Text="条码分割字符" Font="微软雅黑,12,," />
<LblSplitPart Text="获取分割部分" Font="微软雅黑,12,," />
<ChkCaseSensitivity Text="区分大小写" Font="微软雅黑,12,," />
<ChkMinLength Text="最小长度" Font="微软雅黑,12,," />
<ChkMaxLength Text="最大长度" Font="微软雅黑,12,," />
<LblKeyword Text="设置关键字" Font="微软雅黑,12,," />
<LblStart Text="内容截取起始位" Font="微软雅黑,12,," />
<LblLength Text="内容截取长度" Font="微软雅黑,12,," />
<ChkLengthEnd Text="截取至结尾" Font="微软雅黑,12,," />
<ChkCheckCodeType Text="匹配条码编码类型" Font="微软雅黑,12,," />
<ChkCaseSensitivity Text="区分大小写" Font="微软雅黑,12,," />
<ChkMinLength Text="最小长度" Font="微软雅黑,12,," />
<ChkMaxLength Text="最大长度" Font="微软雅黑,12,," />
<LblKeyword Text="设置关键字" Font="微软雅黑,12,," />
<LblStart Text="内容截取起始位" Font="微软雅黑,12,," />
<LblLength Text="内容截取长度" Font="微软雅黑,12,," />
<ChkLengthEnd Text="截取至结尾" Font="微软雅黑,12,," />
<ChkCheckCodeType Text="匹配条码编码类型" Font="微软雅黑,12,," />
<BtnDel Text="删除" Font="微软雅黑,12,," />
</UsrCodeExtractList>
<FrmAbout Text="关于" Font="微软雅黑,24,B,">
......@@ -154,13 +172,13 @@
</FrmAbout>
<FrmFieldContent Text="字段内容设置" Font="微软雅黑,24,B,">
<LblContent Text="字段内容" Font="微软雅黑,12,," />
<BtnInsert Text="插入" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnInsert Text="插入" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
</FrmFieldContent>
<FrmCodeExtract Text="提取条码" Font="微软雅黑,24,B,">
<BtnAddMatch Text="+" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnOK Text="确定" Font="微软雅黑,12,," />
<BtnCancel Text="取消" Font="微软雅黑,12,," />
</FrmCodeExtract>
<FrmCodeOCR Text="OCR" Font="微软雅黑,24,B,">
......@@ -174,7 +192,7 @@
<FrmRetrospect Text="追溯" Font="微软雅黑,24,B,">
<LblDateRange Text="日期范围" Font="微软雅黑,12,," />
<LblCode Text="条码" Font="微软雅黑,12,," />
<BtnSelect Text="查询" Font="微软雅黑,12,," />
<BtnSelect Text="查询" Font="微软雅黑,12,," />
<BtnExport Text="导出" Font="微软雅黑,12,," />
<BtnExportAll Text="导出所有" Font="微软雅黑,12,," />
<LblAllCode Text="物料条码" Font="微软雅黑,12,," />
......
[2022-07-29 09:32:31,079][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17166 =====
[2022-07-29 09:32:31,105][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 09:32:31,292][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 09:32:31,293][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 09:32:31,297][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 09:32:31,300][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 09:32:31,321][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 09:32:33,012][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 09:32:33,013][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 09:32:33,464][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 09:32:33,486][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 09:32:33,487][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 09:32:33,487][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:32:35,402][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:32:35,410][BLL.General:34]INFO Clear()
[2022-07-29 09:32:35,577][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:32:41,071][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:32:41,565][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:32:41,567][BLL.MaterialEdit+<>c:141]INFO 扫描到 Code 39,3N1F2G1V331A361 500
[2022-07-29 09:32:41,568][BLL.MaterialEdit+<>c:141]INFO 扫描到 Code 39,3N2 N4L-N7607LD9 105530
[2022-07-29 09:32:41,568][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220303000096
ST.09.08.0019
20220303
1
500
[2022-12-15 08:44:02,165][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:02,218][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:03,533][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:03,538][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:03,650][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,651][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:03,800][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:03,866][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,866][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:03,878][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:03,955][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,956][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:03,971][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:04,307][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:04,307][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:04,312][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:04,315][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:04,322][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:06,208][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:06,239][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:06,635][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:06,639][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:06,644][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:11,275][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:12,712][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:14,394][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:30,928][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:44:30,960][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:44:30,961][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220303
220303000096-1
[2022-07-29 09:32:41,569][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:32:41,576][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:41,578][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m2,关键字个数 3
[2022-07-29 09:32:41,591][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:32:43,723][Model.Http:77]INFO Return:
[2022-07-29 09:32:45,632][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:32:47,608][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:32:47,610][BLL.General:34]INFO Clear()
[2022-07-29 09:32:47,956][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:32:57,564][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:32:59,467][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:32:59,468][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:32:59,468][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:44:41,015][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:41,053][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:41,984][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:41,987][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:42,081][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,081][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:42,223][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:42,291][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,292][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:42,303][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:42,380][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,380][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:42,393][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:42,570][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:42,571][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:42,574][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:42,576][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:42,580][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:43,907][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:43,909][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:44,267][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:44,270][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:44,272][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:46,740][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:48,659][DAL.ConfigRW:92]INFO Save Config
[2022-12-15 08:44:48,664][DAL.ConfigRW:92]INFO Save Config
[2022-12-15 08:44:48,714][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:48,717][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:48,792][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:48,792][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:48,888][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:48,959][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:48,960][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:48,974][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:49,031][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:49,031][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:49,045][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:51,257][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:44:51,273][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:44:51,274][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:32:59,469][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,470][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,470][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m2,关键字个数 4
[2022-07-29 09:32:59,474][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:33:01,526][Model.Http:77]INFO Return:
[2022-07-29 09:33:03,364][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:33:04,723][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:33:04,726][BLL.General:34]INFO Clear()
[2022-07-29 09:33:05,043][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:33:10,780][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 09:35:10,202][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:35:11,225][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:35:11,226][BLL.General:34]INFO Clear()
[2022-07-29 09:35:11,544][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:35:14,997][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:35:15,479][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:35:15,479][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:44:54,548][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:54,580][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:55,491][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:55,495][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:55,586][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,587][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:55,728][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:55,791][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,791][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:55,803][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:55,878][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,879][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:55,891][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:56,070][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:56,070][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:56,072][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:56,074][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:56,077][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:57,355][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:57,355][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:57,654][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:57,658][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:57,660][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:58,386][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:45:05,246][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:45:05,256][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:45:05,258][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:35:15,479][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:35:15,479][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:35:15,479][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,479][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,480][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,480][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,481][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:35:15,481][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,481][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:35:15,481][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:40,606][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17299 =====
[2022-07-29 09:36:40,634][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 09:36:40,817][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 09:36:40,817][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 09:36:40,821][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 09:36:40,823][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 09:36:40,837][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 09:36:42,155][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 09:36:42,156][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 09:36:42,618][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 09:36:42,639][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 09:36:42,640][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 09:36:42,641][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:36:44,049][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:36:44,054][BLL.General:34]INFO Clear()
[2022-07-29 09:36:44,160][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:36:48,156][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:36:48,628][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:36:48,631][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:45:49,846][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:45:49,885][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:45:50,816][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:45:50,820][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:45:50,912][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:50,913][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:45:51,052][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:45:51,117][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:51,118][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:45:51,129][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:45:51,206][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:51,206][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:45:51,219][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:45:51,402][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:45:51,403][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:45:51,406][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:45:51,408][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:45:51,412][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:45:52,757][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:45:52,758][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:45:53,061][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:45:53,064][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:45:53,066][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:45:54,065][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:46:01,446][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:46:01,457][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:46:01,459][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:36:48,632][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:36:48,632][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:36:48,640][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,641][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:36:48,643][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,645][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 09:36:50,366][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:36:52,432][Model.Http:77]INFO Return:
[2022-07-29 09:36:53,699][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:37:00,014][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 09:37:00,052][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 09:37:00,053][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:03:30,353][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17324 =====
[2022-07-29 13:03:30,386][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:03:30,576][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:03:30,577][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:03:30,582][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:03:30,586][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:03:30,610][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:03:32,232][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:03:32,233][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:03:33,179][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:03:33,207][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:03:33,208][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:03:33,209][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:07:25,713][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17324 =====
[2022-07-29 13:07:25,742][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:07:25,926][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:07:25,927][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:07:25,930][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:07:25,932][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:07:25,946][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:07:27,384][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:07:27,384][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:07:27,875][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:07:27,899][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:07:27,900][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:07:27,901][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:07:29,149][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:07:45,575][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:07:45,596][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:07:45,596][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:12:53,468][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.23786 =====
[2022-07-29 13:12:53,494][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:12:53,672][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:12:53,673][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:12:53,676][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:12:53,679][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:12:53,694][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:12:55,147][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:12:55,148][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:12:55,614][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:12:55,633][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:12:55,634][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:12:55,635][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:15:10,400][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:15:10,407][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:15:10,407][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:15:16,402][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.23786 =====
[2022-07-29 13:15:16,427][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:15:16,606][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:15:16,607][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:15:16,610][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:15:16,612][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:15:16,624][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:15:17,998][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:15:17,999][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:15:18,481][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:15:18,500][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:15:18,503][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:15:18,504][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:15:19,708][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:15:37,349][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:15:37,358][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:15:37,359][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:24:24,263][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24131 =====
[2022-07-29 13:24:24,293][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:24:24,499][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:24:24,499][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:24:24,503][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:24:24,506][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:24:24,527][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:24:26,073][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:24:26,073][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:24:26,538][BLL.General:151]INFO ReadReelID True text=1529
[2022-07-29 13:24:26,564][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:24:26,565][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:24:26,566][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:24:28,091][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:24:28,107][BLL.General:35]INFO Clear()
[2022-07-29 13:24:28,249][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:24:33,053][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:24:33,523][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:24:33,525][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000135-1
[2022-07-29 13:24:33,527][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:24:33,528][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:24:33,535][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:24:33,537][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,537][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:24:33,537][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,538][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:24:33,554][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:24:35,608][Model.Http:76]INFO Return:
[2022-07-29 13:24:36,797][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:24:42,305][Model.Http:76]INFO Return:
[2022-07-29 13:25:02,659][Model.Http:76]INFO Return:
[2022-07-29 13:25:06,912][Model.Http:76]INFO Return:
[2022-07-29 13:26:05,066][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24181 =====
[2022-07-29 13:26:05,093][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:26:05,269][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:26:05,269][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:26:05,273][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:26:05,276][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:26:05,290][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:26:06,656][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:26:06,657][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:26:07,181][BLL.General:152]INFO ReadReelID True text=1529
[2022-07-29 13:26:07,202][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:26:07,203][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:26:07,204][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:26:08,200][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:26:18,455][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:26:19,246][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:26:19,250][BLL.General:35]INFO Clear()
[2022-07-29 13:26:19,369][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:26:23,228][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:26:23,680][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:26:23,683][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000135-1
[2022-07-29 13:26:23,684][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:26:23,685][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:26:23,693][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,694][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:26:23,694][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,694][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:26:23,694][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,697][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:26:23,700][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:26:25,744][Model.Http:76]INFO Return:
[2022-07-29 13:26:30,113][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:27:00,638][SmartScan.FrmMain:159]INFO 追溯内容:(PN:R2A25416SPW0LP)(QTY:2500)(DATE:2021/11/02)(LOT:54)214518A0Q2-001)(ReelID:123123)
[2022-07-29 13:27:11,509][SmartScan.ServerCommunication:139]WARN Data发送到SMF失败:{"PN":"R2A25416SPW0LP","QTY":"2500","DATE":"2021/11/02","LOT":"54)214518A0Q2-001","ReelID":"123123"}
[2022-07-29 13:27:39,690][SmartScan.FrmMain:134]INFO 保存历史记录
[2022-07-29 13:27:54,172][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:28:26,999][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:28:27,010][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:28:27,010][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:31:05,758][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24316 =====
[2022-07-29 13:31:05,786][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:31:05,976][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:31:05,976][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:31:05,979][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:31:05,982][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:31:05,996][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:31:07,308][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:31:07,309][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:31:07,918][BLL.General:152]INFO ReadReelID True text=1529
[2022-07-29 13:31:07,939][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:31:07,940][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:31:07,941][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:31:12,838][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:31:12,842][BLL.General:35]INFO Clear()
[2022-07-29 13:31:12,953][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:31:17,468][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:31:17,927][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:31:17,929][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000137
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000137-1
[2022-07-29 13:31:17,929][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A19U-001(55)2021/11/05(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K26 UKC0358A04(5H)JAPAN(5J)MALAYSIA(5M)UKC0358A04(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:31:17,930][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:31:17,938][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,939][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:31:17,939][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:31:17,941][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,942][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:31:17,947][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:31:20,007][Model.Http:76]INFO Return:
[2022-07-29 13:31:21,328][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:31:25,429][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:31:43,859][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:31:43,868][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:31:43,869][SmartScan.Program:64]INFO =====程序结束=====
[2022-12-15 08:50:10,869][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15904 =====
[2022-12-15 08:50:10,912][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:50:11,877][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:50:11,881][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:50:11,971][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:11,972][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:50:12,109][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:50:12,175][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:12,176][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:50:12,187][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:50:12,262][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:12,262][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:50:12,274][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:50:12,457][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:50:12,458][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:50:12,460][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:50:12,462][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:50:12,467][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:50:13,751][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:50:13,751][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:50:14,039][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:50:14,046][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:50:14,049][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:50:17,562][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:50:17,571][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:50:17,572][SmartScan.Program:77]INFO =====程序结束=====
[2022-07-29 09:32:31,079][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17166 =====
[2022-07-29 09:32:31,105][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 09:32:31,151][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 09:32:31,165][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 09:32:31,165][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 09:32:31,166][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 09:32:31,167][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 09:32:31,210][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:32:31,238][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:32:31,264][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:32:31,290][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:32:31,291][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 09:32:31,292][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 09:32:31,293][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 09:32:31,297][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 09:32:31,300][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 09:32:31,321][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 09:32:33,012][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 09:32:33,013][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 09:32:33,464][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 09:32:33,486][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 09:32:33,487][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 09:32:33,487][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:32:35,402][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:32:35,410][BLL.General:34]INFO Clear()
[2022-07-29 09:32:35,577][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:32:39,447][Asa.Barcode.Identify:81]INFO to hobj time:1066
[2022-07-29 09:32:39,613][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=2 time:163
[2022-07-29 09:32:40,505][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1054
[2022-07-29 09:32:40,520][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1069
[2022-07-29 09:32:40,798][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=0 time:1039
[2022-07-29 09:32:41,071][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:32:41,565][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:32:41,567][BLL.MaterialEdit+<>c:141]INFO 扫描到 Code 39,3N1F2G1V331A361 500
[2022-07-29 09:32:41,568][BLL.MaterialEdit+<>c:141]INFO 扫描到 Code 39,3N2 N4L-N7607LD9 105530
[2022-07-29 09:32:41,568][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220303000096
ST.09.08.0019
20220303
1
500
[2022-12-15 08:44:02,165][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:02,218][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:03,533][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:03,538][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:03,650][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,651][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:03,800][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:03,866][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,866][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:03,878][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:03,955][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:03,956][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:03,971][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:04,104][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-12-15 08:44:04,138][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-12-15 08:44:04,138][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-12-15 08:44:04,139][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-12-15 08:44:04,142][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-12-15 08:44:04,216][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:04,248][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:04,276][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:04,305][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:04,306][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-12-15 08:44:04,307][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:04,307][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:04,312][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:04,315][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:04,322][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:06,208][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:06,239][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:06,635][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:06,639][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:06,644][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:11,275][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:12,712][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:14,394][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:30,928][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:44:30,947][Asa.HIK.IPCamera:380]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-12-15 08:44:30,948][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-12-15 08:44:30,960][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:44:30,961][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220303
220303000096-1
[2022-07-29 09:32:41,569][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:32:41,576][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:41,578][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m2,关键字个数 3
[2022-07-29 09:32:41,591][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:32:43,723][Model.Http:77]INFO Return:
[2022-07-29 09:32:45,632][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:32:47,608][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:32:47,610][BLL.General:34]INFO Clear()
[2022-07-29 09:32:47,956][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:32:56,234][Asa.Barcode.Identify:81]INFO to hobj time:188
[2022-07-29 09:32:56,370][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:135
[2022-07-29 09:32:57,277][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1042
[2022-07-29 09:32:57,314][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1051
[2022-07-29 09:32:57,323][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1088
[2022-07-29 09:32:57,564][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:32:59,467][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:32:59,468][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:32:59,468][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:44:41,015][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:41,053][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:41,984][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:41,987][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:42,081][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,081][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:42,223][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:42,291][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,292][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:42,303][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:42,380][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:42,380][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:42,393][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:42,446][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-12-15 08:44:42,455][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-12-15 08:44:42,456][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-12-15 08:44:42,456][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-12-15 08:44:42,457][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-12-15 08:44:42,495][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:42,520][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:42,545][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:42,569][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:42,570][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-12-15 08:44:42,570][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:42,571][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:42,574][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:42,576][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:42,580][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:43,907][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:43,909][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:44,267][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:44,270][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:44,272][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:46,740][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:44:48,659][DAL.ConfigRW:92]INFO Save Config
[2022-12-15 08:44:48,664][DAL.ConfigRW:92]INFO Save Config
[2022-12-15 08:44:48,714][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:48,717][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:48,792][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:48,792][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:48,888][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:48,959][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:48,960][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:48,974][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:49,031][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:49,031][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:49,045][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:51,257][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:44:51,264][Asa.HIK.IPCamera:380]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-12-15 08:44:51,265][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-12-15 08:44:51,273][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:44:51,274][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:32:59,469][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,470][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,470][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:32:59,470][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:32:59,471][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:32:59,471][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m2,关键字个数 4
[2022-07-29 09:32:59,474][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:33:01,526][Model.Http:77]INFO Return:
[2022-07-29 09:33:03,364][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:33:04,723][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:33:04,726][BLL.General:34]INFO Clear()
[2022-07-29 09:33:05,043][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:33:10,780][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 09:35:10,202][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:35:11,225][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:35:11,226][BLL.General:34]INFO Clear()
[2022-07-29 09:35:11,544][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:35:13,416][Asa.Barcode.Identify:81]INFO to hobj time:186
[2022-07-29 09:35:13,528][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:111
[2022-07-29 09:35:14,460][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1042
[2022-07-29 09:35:14,511][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1073
[2022-07-29 09:35:14,737][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1299
[2022-07-29 09:35:14,997][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:35:15,479][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:35:15,479][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:44:54,548][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:44:54,580][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:44:55,491][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:44:55,495][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:44:55,586][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,587][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:44:55,728][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:44:55,791][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,791][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:44:55,803][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:44:55,878][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:44:55,879][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:44:55,891][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:44:55,938][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-12-15 08:44:55,948][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-12-15 08:44:55,948][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-12-15 08:44:55,949][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-12-15 08:44:55,950][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-12-15 08:44:55,989][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:56,014][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:56,042][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:56,068][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:44:56,069][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-12-15 08:44:56,070][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:44:56,070][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:44:56,072][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:44:56,074][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:44:56,077][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:44:57,355][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:44:57,355][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:44:57,654][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:44:57,658][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:44:57,660][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:44:58,386][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:45:05,246][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:45:05,254][Asa.HIK.IPCamera:380]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-12-15 08:45:05,254][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-12-15 08:45:05,256][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:45:05,258][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:35:15,479][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:35:15,479][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:35:15,479][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,479][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,480][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,480][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:35:15,480][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,481][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:35:15,481][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:35:15,481][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:35:15,481][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:40,606][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17299 =====
[2022-07-29 09:36:40,634][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 09:36:40,677][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 09:36:40,690][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 09:36:40,691][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 09:36:40,691][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 09:36:40,692][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 09:36:40,735][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:36:40,762][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:36:40,790][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:36:40,815][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 09:36:40,816][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 09:36:40,817][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 09:36:40,817][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 09:36:40,821][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 09:36:40,823][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 09:36:40,837][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 09:36:42,155][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 09:36:42,156][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 09:36:42,618][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 09:36:42,639][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 09:36:42,640][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 09:36:42,641][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 09:36:44,049][SmartScan.FrmMain:325]INFO 按钮点击触发Work
[2022-07-29 09:36:44,054][BLL.General:34]INFO Clear()
[2022-07-29 09:36:44,160][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 09:36:46,553][Asa.Barcode.Identify:81]INFO to hobj time:425
[2022-07-29 09:36:46,668][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:103
[2022-07-29 09:36:47,611][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1045
[2022-07-29 09:36:47,665][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1097
[2022-07-29 09:36:47,904][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1234
[2022-07-29 09:36:48,156][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 09:36:48,628][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 09:36:48,631][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
[2022-12-15 08:45:49,846][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15720 =====
[2022-12-15 08:45:49,885][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:45:50,816][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:45:50,820][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:45:50,912][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:50,913][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:45:51,052][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:45:51,117][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:51,118][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:45:51,129][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:45:51,206][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:45:51,206][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:45:51,219][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:45:51,272][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-12-15 08:45:51,282][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-12-15 08:45:51,282][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-12-15 08:45:51,282][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-12-15 08:45:51,283][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-12-15 08:45:51,321][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:45:51,347][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:45:51,373][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:45:51,401][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:45:51,402][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-12-15 08:45:51,402][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:45:51,403][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:45:51,406][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:45:51,408][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:45:51,412][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:45:52,757][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:45:52,758][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:45:53,061][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:45:53,064][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:45:53,066][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:45:54,065][SmartScan.ScanWork:56]INFO Work Stop
[2022-12-15 08:46:01,446][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:46:01,453][Asa.HIK.IPCamera:380]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-12-15 08:46:01,455][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-12-15 08:46:01,457][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:46:01,459][SmartScan.Program:77]INFO =====程序结束=====
P.0028
20220311
220311000135-1
[2022-07-29 09:36:48,632][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 09:36:48,632][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 09:36:48,640][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,641][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 09:36:48,642][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,642][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 09:36:48,643][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 09:36:48,645][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 09:36:50,366][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 09:36:52,432][Model.Http:77]INFO Return:
[2022-07-29 09:36:53,699][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 09:37:00,014][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 09:37:00,047][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 09:37:00,051][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 09:37:00,052][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 09:37:00,053][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:03:30,353][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17324 =====
[2022-07-29 13:03:30,386][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:03:30,432][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:03:30,446][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:03:30,447][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:03:30,448][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:03:30,449][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:03:30,494][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:03:30,522][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:03:30,547][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:03:30,574][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:03:30,575][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:03:30,576][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:03:30,577][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:03:30,582][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:03:30,586][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:03:30,610][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:03:32,232][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:03:32,233][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:03:33,179][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:03:33,207][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:03:33,208][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:03:33,209][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:07:25,713][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.17324 =====
[2022-07-29 13:07:25,742][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:07:25,784][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:07:25,800][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:07:25,801][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:07:25,801][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:07:25,803][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:07:25,845][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:07:25,871][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:07:25,899][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:07:25,925][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:07:25,926][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:07:25,926][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:07:25,927][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:07:25,930][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:07:25,932][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:07:25,946][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:07:27,384][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:07:27,384][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:07:27,875][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:07:27,899][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:07:27,900][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:07:27,901][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:07:29,149][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:07:45,575][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:07:45,594][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 13:07:45,595][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 13:07:45,596][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:07:45,596][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:12:53,468][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.23786 =====
[2022-07-29 13:12:53,494][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:12:53,533][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:12:53,547][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:12:53,548][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:12:53,548][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:12:53,549][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:12:53,590][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:12:53,618][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:12:53,644][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:12:53,671][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:12:53,671][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:12:53,672][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:12:53,673][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:12:53,676][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:12:53,679][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:12:53,694][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:12:55,147][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:12:55,148][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:12:55,614][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:12:55,633][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:12:55,634][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:12:55,635][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:15:10,400][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:15:10,406][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 13:15:10,407][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 13:15:10,407][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:15:10,407][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:15:16,402][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.23786 =====
[2022-07-29 13:15:16,427][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:15:16,467][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:15:16,482][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:15:16,482][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:15:16,483][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:15:16,484][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:15:16,526][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:15:16,552][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:15:16,579][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:15:16,605][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:15:16,606][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:15:16,606][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:15:16,607][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:15:16,610][BLL.Extension:37]INFO 加载扩展:General
[2022-07-29 13:15:16,612][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:15:16,624][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:15:17,998][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:15:17,999][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:15:18,481][BLL.General:150]INFO ReadReelID True text=1529
[2022-07-29 13:15:18,500][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:15:18,503][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:15:18,504][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:15:19,708][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:15:37,349][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:15:37,357][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 13:15:37,358][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 13:15:37,358][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:15:37,359][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:24:24,263][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24131 =====
[2022-07-29 13:24:24,293][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:24:24,338][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:24:24,353][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:24:24,354][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:24:24,355][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:24:24,356][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:24:24,398][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:24:24,433][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:24:24,464][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:24:24,497][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:24:24,498][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:24:24,499][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:24:24,499][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:24:24,503][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:24:24,506][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:24:24,527][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:24:26,073][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:24:26,073][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:24:26,538][BLL.General:151]INFO ReadReelID True text=1529
[2022-07-29 13:24:26,564][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:24:26,565][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:24:26,566][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:24:28,091][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:24:28,107][BLL.General:35]INFO Clear()
[2022-07-29 13:24:28,249][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:24:31,045][Asa.Barcode.Identify:81]INFO to hobj time:705
[2022-07-29 13:24:31,160][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:112
[2022-07-29 13:24:32,101][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1051
[2022-07-29 13:24:32,286][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1124
[2022-07-29 13:24:32,813][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1035
[2022-07-29 13:24:33,053][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:24:33,523][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:24:33,525][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000135-1
[2022-07-29 13:24:33,527][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:24:33,528][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:24:33,535][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:24:33,536][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,536][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:24:33,537][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,537][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:24:33,537][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:24:33,538][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:24:33,554][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:24:35,608][Model.Http:76]INFO Return:
[2022-07-29 13:24:36,797][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:24:42,305][Model.Http:76]INFO Return:
[2022-07-29 13:25:02,659][Model.Http:76]INFO Return:
[2022-07-29 13:25:06,912][Model.Http:76]INFO Return:
[2022-07-29 13:26:05,066][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24181 =====
[2022-07-29 13:26:05,093][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:26:05,132][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:26:05,144][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:26:05,145][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:26:05,145][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:26:05,146][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:26:05,187][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:26:05,214][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:26:05,241][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:26:05,267][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:26:05,268][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:26:05,269][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:26:05,269][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:26:05,273][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:26:05,276][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:26:05,290][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:26:06,656][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:26:06,657][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:26:07,181][BLL.General:152]INFO ReadReelID True text=1529
[2022-07-29 13:26:07,202][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:26:07,203][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:26:07,204][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:26:08,200][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:26:18,455][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:26:19,246][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:26:19,250][BLL.General:35]INFO Clear()
[2022-07-29 13:26:19,369][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:26:21,718][Asa.Barcode.Identify:81]INFO to hobj time:390
[2022-07-29 13:26:21,812][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:90
[2022-07-29 13:26:22,764][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1042
[2022-07-29 13:26:22,778][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1055
[2022-07-29 13:26:22,988][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1175
[2022-07-29 13:26:23,228][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:26:23,680][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:26:23,683][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000135
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000135-1
[2022-07-29 13:26:23,684][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A0Q2-001(55)2021/11/02(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K46 UKC1029A02(5H)JAPAN(5J)MALAYSIA(5M)UKC1029A02(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:26:23,685][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:26:23,693][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,694][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:26:23,694][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,694][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:26:23,694][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,695][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:26:23,695][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:26:23,697][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:26:23,700][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:26:25,744][Model.Http:76]INFO Return:
[2022-07-29 13:26:30,113][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:27:00,638][SmartScan.FrmMain:159]INFO 追溯内容:(PN:R2A25416SPW0LP)(QTY:2500)(DATE:2021/11/02)(LOT:54)214518A0Q2-001)(ReelID:123123)
[2022-07-29 13:27:11,509][SmartScan.ServerCommunication:139]WARN Data发送到SMF失败:{"PN":"R2A25416SPW0LP","QTY":"2500","DATE":"2021/11/02","LOT":"54)214518A0Q2-001","ReelID":"123123"}
[2022-07-29 13:27:39,690][SmartScan.FrmMain:134]INFO 保存历史记录
[2022-07-29 13:27:54,172][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:28:26,999][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:28:27,009][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 13:28:27,010][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 13:28:27,010][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:28:27,010][SmartScan.Program:64]INFO =====程序结束=====
[2022-07-29 13:31:05,758][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8245.24316 =====
[2022-07-29 13:31:05,786][DAL.ConfigRW:17]INFO 读取配置文件
[2022-07-29 13:31:05,827][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-07-29 13:31:05,841][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-07-29 13:31:05,842][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-07-29 13:31:05,842][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-07-29 13:31:05,844][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-07-29 13:31:05,891][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:31:05,919][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:31:05,947][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:31:05,974][Asa.Region.Feature:51]INFO Feature init 0
[2022-07-29 13:31:05,975][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-07-29 13:31:05,976][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-07-29 13:31:05,976][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-07-29 13:31:05,979][BLL.Extension:38]INFO 加载扩展:General
[2022-07-29 13:31:05,982][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-07-29 13:31:05,996][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-07-29 13:31:07,308][SmartScan.WebService:19]INFO WebService没有配置,不开启
[2022-07-29 13:31:07,309][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-07-29 13:31:07,918][BLL.General:152]INFO ReadReelID True text=1529
[2022-07-29 13:31:07,939][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-07-29 13:31:07,940][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-07-29 13:31:07,941][SmartScan.ScanWork:36]INFO Work Start
[2022-07-29 13:31:12,838][SmartScan.FrmMain:349]INFO 按钮点击触发Work
[2022-07-29 13:31:12,842][BLL.General:35]INFO Clear()
[2022-07-29 13:31:12,953][SmartScan.ScanWork:211]INFO Work GetCodeInfo
[2022-07-29 13:31:16,083][Asa.Barcode.Identify:81]INFO to hobj time:436
[2022-07-29 13:31:16,186][Asa.Barcode.Identify:171]INFO Halcon Extract1DCode Count=0 time:99
[2022-07-29 13:31:17,135][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode Data Matrix ECC 200 Count=0 time:1047
[2022-07-29 13:31:17,150][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode QR Code Count=1 time:1060
[2022-07-29 13:31:17,221][Asa.Barcode.Identify+<>c__DisplayClass6_1:243]INFO Halcon Extract2DCode PDF417 Count=1 time:1034
[2022-07-29 13:31:17,468][SmartScan.ScanWork:265]INFO Work AddCodeCenter
[2022-07-29 13:31:17,927][SmartScan.ScanWork:279]INFO Work MatchingTemplate
[2022-07-29 13:31:17,929][BLL.MaterialEdit+<>c:141]INFO 扫描到 QR Code,BP
220311000137
ST.09.05.0005
20220311
1
2500
P.0028
20220311
220311000137-1
[2022-07-29 13:31:17,929][BLL.MaterialEdit+<>c:141]INFO 扫描到 PDF417,[)>0603(51)R2A25416SPW0LP(52)R2A25416SP(53)2500(54)214518A19U-001(55)2021/11/05(57)T.(58)2(59)1(68)R2A25416SP#W0(69)W0LP(5D)02(5F)1K26 UKC0358A04(5H)JAPAN(5J)MALAYSIA(5M)UKC0358A04(6B)R2A25416SP#W0(67)0(6D)R2A25416SP W0LP(6K)JP(6L)MY
[2022-07-29 13:31:17,930][BLL.MaterialEdit:149]INFO 优先匹配 m2
[2022-07-29 13:31:17,938][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,939][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m5
[2022-07-29 13:31:17,939][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:167]INFO 带主键[LOT]匹配 m7
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:167]INFO 带主键[PN]匹配 m8
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:182]INFO 不带主键匹配 m1
[2022-07-29 13:31:17,940][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,940][BLL.MaterialEdit:182]INFO 不带主键匹配 m3
[2022-07-29 13:31:17,941][BLL.MaterialEdit:415]INFO OCR匹配 0
[2022-07-29 13:31:17,942][SmartScan.ScanWork+<>c__DisplayClass19_0:289]INFO 模板匹配 m3,关键字个数 4
[2022-07-29 13:31:17,947][SmartScan.ScanWork:313]INFO Work SetKey hasMatch:True
[2022-07-29 13:31:20,007][Model.Http:76]INFO Return:
[2022-07-29 13:31:21,328][SmartScan.ScanWork:106]INFO Work scan is done
[2022-07-29 13:31:25,429][SmartScan.ScanWork:52]INFO Work Stop
[2022-07-29 13:31:43,859][SmartScan.Program:59]INFO =====准备退出...=====
[2022-07-29 13:31:43,868][Asa.HIK.IPCamera:379]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-07-29 13:31:43,868][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-07-29 13:31:43,868][SmartScan.WebService:42]INFO Web服务已关闭
[2022-07-29 13:31:43,869][SmartScan.Program:64]INFO =====程序结束=====
[2022-12-15 08:50:10,869][SmartScan.FrmLoading:22]INFO ===== 程序开始 3.1.8384.15904 =====
[2022-12-15 08:50:10,912][DAL.ConfigRW:17]INFO 读取配置文件
[2022-12-15 08:50:11,877][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\853点料机(1).xlsx
[2022-12-15 08:50:11,881][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\ML5(1).xlsx
[2022-12-15 08:50:11,971][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:11,972][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\MT-CIMI软件(2).xlsx
[2022-12-15 08:50:12,109][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH 0830.xlsx
[2022-12-15 08:50:12,175][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:12,176][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBDH软件(1).xlsx
[2022-12-15 08:50:12,187][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SBSH软件(1).xlsx
[2022-12-15 08:50:12,262][SmartScan.ExtraFileData:123]INFO 数据源加载文件出错:ClosedXML.Excel.CalcEngine.Exceptions.NameNotRecognizedException: The identifier `_xlfn.XLOOKUP` was not recognised.
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAtom() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 466
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDivUnary() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 398
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParsePower() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 385
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseMulDiv() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 372
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseAddSub() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 359
在 ClosedXML.Excel.CalcEngine.CalcEngine.ParseCompare() 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 346
在 ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 96
在 ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\ExpressionCache.cs:行号 46
在 ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression) 位置 C:\projects\closedxml\ClosedXML\Excel\CalcEngine\CalcEngine.cs:行号 124
在 ClosedXML.Excel.XLCell.RecalculateFormula(String fA1) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 446
在 ClosedXML.Excel.XLCell.Evaluate(Boolean force) 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 482
在 ClosedXML.Excel.XLCell.get_Value() 位置 C:\projects\closedxml\ClosedXML\Excel\Cells\XLCell.cs:行号 644
在 SmartScan.ExtraFileData.LoadXLSALlData() 位置 D:\rick\vs\SmartScan\SmartScan\ExtraFileData.cs:行号 123
[2022-12-15 08:50:12,262][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\SO1053ML5机构IO.xlsx
[2022-12-15 08:50:12,274][SmartScan.ExtraFileData:110]INFO 数据源加载文件:C:\Users\刘韬\Desktop\傅雷对口地址.xlsx
[2022-12-15 08:50:12,327][Asa.Camera.VisionLib:11]DEBUG GetConfig Path=D:\rick\vs\SmartScan\SmartScan\bin\Debug\Config\Camera.json
[2022-12-15 08:50:12,336][Asa.Camera.VisionLib:35]DEBUG GetConfig_CodeOrder
[2022-12-15 08:50:12,337][Asa.Camera.VisionLib:41]DEBUG GetConfig_Halcon
[2022-12-15 08:50:12,337][Asa.Camera.VisionLib:53]DEBUG GetConfig_EyemLib
[2022-12-15 08:50:12,338][Asa.Camera.VisionLib:69]DEBUG GetConfig_Region
[2022-12-15 08:50:12,378][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:50:12,404][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:50:12,429][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:50:12,456][Asa.Region.Feature:51]INFO Feature init 0
[2022-12-15 08:50:12,457][Asa.Camera.VisionLib:107]DEBUG GetConfig_HIKIPCamera
[2022-12-15 08:50:12,457][SmartScan.FrmLoading:33]INFO 加载相机,数量:0
[2022-12-15 08:50:12,458][SmartScan.FrmLoading:46]INFO 加载OCR模块
[2022-12-15 08:50:12,460][BLL.Extension:38]INFO 加载扩展:General
[2022-12-15 08:50:12,462][BLL.PrintLabelEdit:49]INFO 读取打印标签
[2022-12-15 08:50:12,467][BLL.MaterialEdit:20]INFO 读取物料模板
[2022-12-15 08:50:13,751][SmartScan.WebService:25]INFO Web服务已开启,URL=http://127.0.0.1:58137
[2022-12-15 08:50:13,751][SmartScan.FrmLoading:62]INFO 读取关键字文件
[2022-12-15 08:50:14,039][SmartScan.FrmMain:46]INFO 相机已禁用
[2022-12-15 08:50:14,046][SmartScan.FrmMain:72]INFO IO模块已禁用
[2022-12-15 08:50:14,049][SmartScan.ScanWork:38]INFO Work Start
[2022-12-15 08:50:17,562][SmartScan.Program:72]INFO =====准备退出...=====
[2022-12-15 08:50:17,569][Asa.HIK.IPCamera:380]INFO IPCamera Dispose failed, IP=192.168.10.64, errorcode=3
[2022-12-15 08:50:17,570][Asa.Camera.VisionLib:61]INFO Dispose Camera
[2022-12-15 08:50:17,571][SmartScan.WebService:42]INFO Web服务已关闭
[2022-12-15 08:50:17,572][SmartScan.Program:77]INFO =====程序结束=====
......@@ -4,6 +4,16 @@
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
<appSettings>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true"/>
</appSettings>
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding maxReceivedMessageSize="90000000" maxBufferPoolSize="90000000" maxBufferSize="90000000" closeTimeout="00:03:00" openTimeout="00:03:00" receiveTimeout="00:01:00" sendTimeout="00:01:00">
<readerQuotas maxStringContentLength="90000000" maxArrayLength="90000000" maxBytesPerRead="90000000" />
<security mode="None"/>
</binding>
</webHttpBinding>
</bindings>
</system.serviceModel>
</configuration>
7b63aa4ffa34bf61a68afae14d5eecc716e25843
29118a0e85ae73ebe328af796212ada2655bcbd6
......@@ -163,6 +163,17 @@ D:\rick\vs\SmartScan\SmartScan\bin\Debug\Asa.Camera.VisionLib.pdb
D:\rick\vs\SmartScan\SmartScan\bin\Debug\Asa.Camera.VisionLib.xml
D:\rick\vs\SmartScan\SmartScan\bin\Debug\MvCameraControl.Net.xml
D:\rick\vs\SmartScan\SmartScan\bin\Debug\Asa.Face.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\TcpKPIO.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\TcpKPIO.pdb
D:\rick\vs\SmartScan\SmartScan\bin\Debug\TcpKPIO.xml
D:\rick\vs\SmartScan\SmartScan\obj\Debug\SmartScan.FrmSetPlus.resources
D:\rick\vs\SmartScan\SmartScan\obj\Debug\SmartScan.UsrLabeling.resources
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ConfigHelper.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ConfigHelper.pdb
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ConfigHelper.xml
D:\rick\vs\SmartScan\SmartScan\obj\Debug\SmartScan.UsrDataSource.resources
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ClosedXML.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\DocumentFormat.OpenXml.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ExcelNumberFormat.dll
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ClosedXML.pdb
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ClosedXML.xml
D:\rick\vs\SmartScan\SmartScan\bin\Debug\DocumentFormat.OpenXml.xml
D:\rick\vs\SmartScan\SmartScan\bin\Debug\ExcelNumberFormat.xml
D:\rick\vs\SmartScan\SmartScan\obj\Debug\SmartScan.FrmDataFilePreview.resources
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ClosedXML" version="0.96.0" targetFramework="net472" />
<package id="DocumentFormat.OpenXml" version="2.16.0" targetFramework="net472" />
<package id="ExcelNumberFormat" version="1.1.0" targetFramework="net472" />
<package id="log4net" version="2.0.12" targetFramework="net461" />
<package id="Microsoft.CSharp" version="4.7.0" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
</packages>
\ No newline at end of file
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!