diff --git a/SlnMesnac.Business/LogoBusiness.cs b/SlnMesnac.Business/LogoBusiness.cs
index d37f8ac..ebf42a0 100644
--- a/SlnMesnac.Business/LogoBusiness.cs
+++ b/SlnMesnac.Business/LogoBusiness.cs
@@ -87,13 +87,21 @@ namespace SlnMesnac.Business
InitClearTimer();
}
-
-
- ///
- /// 接收光电模块信号
- ///
- ///
- ///
+ public static LogoBusiness GetInstance(ILogger 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;
+ }
+
+
+ ///
+ /// 接收光电模块信号
+ ///
+ ///
+ ///
private void SerialSignalPush(string ip, int flag)
{
// 光电触发拍照
@@ -125,15 +133,6 @@ namespace SlnMesnac.Business
}
- public static LogoBusiness GetInstance(ILogger 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;
- }
-
///
/// 条码触发相机拍照校验