generated from wenjy/SlnMesnac
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
722 B
C#
32 lines
722 B
C#
using Microsoft.Extensions.Logging;
|
|
using SlnMesnac.Config;
|
|
using SlnMesnac.Repository.service;
|
|
using SlnMesnac.TouchSocket;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SlnMesnac.Business.@base
|
|
{
|
|
public class InOutControl
|
|
{
|
|
private ILogger<InOutControl> _logger;
|
|
|
|
private static InOutControl instance;
|
|
|
|
public InOutControl(ILogger<InOutControl> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public static InOutControl GetInstance(ILogger<InOutControl> logger)
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = new InOutControl(logger);
|
|
}
|
|
return instance;
|
|
}
|
|
}
|
|
}
|