public State(State rhs) { PersistedVersionSequenceNumber = rhs.PersistedVersionSequenceNumber; LPMName = rhs.LPMName; Config = rhs.Config; PDODeviceTypeStr = rhs.PDODeviceTypeStr; Connected = rhs.Connected; SelectedSettings = new SelectedSettings(rhs.SelectedSettings); InputsState = new InputsState(rhs.InputsState); OutputsState = new OutputsState(rhs.OutputsState); PositionState = new PositionState(rhs.PositionState); DisplayState = new DisplayState(rhs.DisplayState); CycleCount = rhs.CycleCount; CmdRateHz = rhs.CmdRateHz; }
public bool IsEqualTo(SelectedSettings rhs) { return (SelectedMapResultPatternIndex == rhs.SelectedMapResultPatternIndex && SelectedCarrierTypeSpecIndex == rhs.SelectedCarrierTypeSpecIndex && SelectedMapResultPattern == rhs.SelectedMapResultPattern && SelectedMapResultSlotStateList.IsEqualTo(rhs.SelectedMapResultSlotStateList) && SelectedCarrierTypeSpec == rhs.SelectedCarrierTypeSpec && SelectedCarrierType == rhs.SelectedCarrierType && SelectedInfoPads == rhs.SelectedInfoPads ); }
public State() { LPMName = String.Empty; PDODeviceTypeStr = String.Empty; SelectedSettings = new SelectedSettings(); InputsState = new InputsState(); OutputsState = new OutputsState(); PositionState = new PositionState(); DisplayState = new DisplayState(); }
public SelectedSettings(SelectedSettings rhs) { SelectedMapResultPatternIndex = rhs.SelectedMapResultPatternIndex; SelectedCarrierTypeSpecIndex = rhs.SelectedCarrierTypeSpecIndex; SelectedMapResultPattern = rhs.SelectedMapResultPattern; SelectedMapResultSlotStateList = new List<SlotState>(rhs.SelectedMapResultSlotStateList); SelectedCarrierTypeSpec = rhs.SelectedCarrierTypeSpec; SelectedCarrierType = rhs.SelectedCarrierType; SelectedInfoPads = rhs.SelectedInfoPads; }