master
liuwf 4 months ago
parent 6f6907d55e
commit 82bbb9ad2a

@ -87,6 +87,14 @@ namespace SlnMesnac.Business
InitClearTimer(); InitClearTimer();
} }
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>
@ -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> /// <summary>
/// 条码触发相机拍照校验 /// 条码触发相机拍照校验

Loading…
Cancel
Save