public UpdateEndpointCommand( string serialNumber, EEndpointState switchState) { SerialNumber = serialNumber; SwitchState = switchState; }
public Endpoint( string serialNumber, int meterModelId, int meterNumber, string meterFirmwareVersion, EEndpointState switchState) { SerialNumber = serialNumber; MeterModelId = meterModelId; MeterNumber = meterNumber; MeterFirmwareVersion = meterFirmwareVersion; SwitchState = switchState; }
public void Arm() { SwitchState = EEndpointState.Armed; }
public void Connect() { SwitchState = EEndpointState.Connected; }
public void Disconnect() { SwitchState = EEndpointState.Disconnected; }
public void Update(EEndpointState switchState) { SwitchState = switchState; }