master
liuwf 3 months ago
parent 6f6907d55e
commit 82bbb9ad2a

@ -87,13 +87,21 @@ namespace SlnMesnac.Business
InitClearTimer();
}
/// <summary>
/// 接收光电模块信号
/// </summary>
/// <param name="ip"></param>
/// <param name="flag"></param>
public static LogoBusiness GetInstance(ILogger<LogoBusiness> logger, ILogoConfigService logoConfigService, IBaseMaterialService baseMaterialService, ILogoIdentifyService ocrVerfiyService, PlcPool _plcPool, TcpServer _tcpServer)
{
if (instance == null)
{
instance = new LogoBusiness(logger, logoConfigService, baseMaterialService, ocrVerfiyService, _plcPool, _tcpServer);
}
return instance;
}
/// <summary>
/// 接收光电模块信号
/// </summary>
/// <param name="ip"></param>
/// <param name="flag"></param>
private void SerialSignalPush(string ip, int flag)
{
// 光电触发拍照
@ -125,15 +133,6 @@ namespace SlnMesnac.Business
}
public static LogoBusiness GetInstance(ILogger<LogoBusiness> logger, ILogoConfigService logoConfigService, IBaseMaterialService baseMaterialService, ILogoIdentifyService ocrVerfiyService, PlcPool _plcPool, TcpServer _tcpServer)
{
if (instance == null)
{
instance = new LogoBusiness(logger, logoConfigService, baseMaterialService, ocrVerfiyService, _plcPool, _tcpServer);
}
return instance;
}
/// <summary>
/// 条码触发相机拍照校验

Loading…
Cancel
Save