public DeviceInspectionGrain(RestClient client, MsvClientCtrlSDK msv, IMapper mapper) { Mapper = mapper; _restClient = client; _msvClient = msv; _onlineMembers = new List <int>(); _monitorMember = new Dictionary <string, int>(); }
public DeviceMonitorService(IServiceProvider services, IGrainIdentity id, Silo silo, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, IGrainFactory grainFactory, MsvClientCtrlSDK msv, RestClient client) : base(id, silo, loggerFactory) { Logger = Sobey.Core.Log.LoggerManager.GetLogger("MonitorService"); _lstTimerScheduleDevice = new List <ChannelInfo>(); _timer = null; _msvClient = msv; _restClient = client; _grainFactory = grainFactory; _grainKey = string.Empty; }
public TaskHandlerBase(RestClient rest, MsvClientCtrlSDK msv) { Logger = LoggerManager.GetLogger("TaskHandlerBase"); restClient = rest; msvClient = msv; }
public VtrBatchTaskHandler(RestClient rest, MsvClientCtrlSDK msv) : base(rest, msv) { }
public NormalTaskHandler(RestClient rest, MsvClientCtrlSDK msv, IConfiguration configuration) : base(rest, msv) { taskStartPrevious = configuration.GetSection("Task:TaskStartPrevious").Get<int>(); taskStopBehind = configuration.GetSection("Task:TaskStopBehind").Get<int>(); }