/// <summary> /// Initializes a new instance of the <see cref="TagDataPointCoordinator"/> class. /// </summary> /// <param name="timeSeriesMapper"><see cref="ITimeSeriesMapper"/> for identity mapping of TimeSeries.</param> /// <param name="dataPointsState"><see cref="IDataPointsState"/> for working with the state.</param> /// <param name="logger"><see cref="ILogger"/> for logging.</param> public TagDataPointCoordinator( ITimeSeriesMapper timeSeriesMapper, IDataPointsState dataPointsState, ILogger logger) { _timeSeriesMapper = timeSeriesMapper; _logger = logger; _dataPointsState = dataPointsState; }
/// <summary> /// Initializes a new instance of <see cref="TagDataPointHandler"/> /// </summary> /// <param name="client"><see cref="ICommunicationClient"/> to use for communication</param> /// <param name="mapper"><see cref="ITimeSeriesMapper"/> for mapping</param> /// <param name="serializer"><see cref="ISerializer">JSON serializer</see></param> /// <param name="logger"><see cref="ILogger"/> for logging</param> public TagDataPointHandler( ICommunicationClient client, ITimeSeriesMapper mapper, ISerializer serializer, ILogger logger) { _client = client; _mapper = mapper; _serializer = serializer; _logger = logger; _logger.Information("Identity Translation Message Handler"); }