Esempio n. 1
0
 public SensorState(string sensorid, string tag, string role, Reading current, Reading previous)
 {
     SensorId = sensorid;
     Tag      = tag;
     Role     = role;
     Current  = current;
     Previous = previous;
 }
Esempio n. 2
0
 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;
 }