private void ChangeDisconnectedStatus(ServiceDisconnectedStatus disconnectedStatus) { DisconnectedStatus = disconnectedStatus; _DomainManagerProxy.AddMessage( new DeviceVariableUpdateMessage(DisconnectedStatusName, DisconnectedStatus) ); }
public void ChangeConnectionStatus(ServiceConnectionStatus status, ServiceDisconnectedStatus disconnectedStatus, ServiceMachineStatus machineConnectionStatus = ServiceMachineStatus.Disconnected) { ChangeConnectionStatus(status, machineConnectionStatus); ChangeDisconnectedStatus(disconnectedStatus); _DomainManagerProxy.SendAllMessagePackets(); }