public SensorState(string sensorid, string tag, string role, Reading current, Reading previous) { SensorId = sensorid; Tag = tag; Role = role; Current = current; Previous = previous; }
public SensorState(string sensorid, string tag, string role, Reading current, Reading previous, ImmutableDictionary <string, ICommand> pendingCommands, ImmutableHashSet <IMassTransitEvent> pendingResponses) { SensorId = sensorid; Tag = tag; Role = role; Current = current; Previous = previous; PendingCommands = pendingCommands; PendingResponses = pendingResponses; }