private void updateGui(DeviceStatus deviceStatus) { setGuiState(deviceStatus.State, deviceStatus.SubState); setGuiColor(deviceStatus.Color.R, deviceStatus.Color.G, deviceStatus.Color.B); setGuiSpeed(deviceStatus.Speed); }