public Condition(int id, string deviceName, int pin, string host, string @operator, int value, string type, string model, ISensorMapper valueMapper) { LastMatch = DateTime.MinValue; Id = id; DeviceName = deviceName; Pin = pin; Host = host; Operator = @operator; Value = value; Type = type; Model = model; ValueMapper = valueMapper; }
public VirtualDeviceRepository(ISensorMapper mapper) { _mapper = mapper; }