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