HamBook – Diff between revs 1 and 5
?pathlinks?
Rev 1 | Rev 5 | |||
---|---|---|---|---|
Line 16... | Line 16... | |||
16 | private string _port = "COM1"; |
16 | private string _port = "COM1"; |
|
17 | private int _speed = 38400; |
17 | private int _speed = 38400; |
|
18 | private int _dataBits = 8; |
18 | private int _dataBits = 8; |
|
19 | private Parity _parity = Parity.None; |
19 | private Parity _parity = Parity.None; |
|
20 | private StopBits _stopBits = StopBits.One; |
20 | private StopBits _stopBits = StopBits.One; |
|
- | 21 | private Definitions _definitions = new Definitions(); |
||
Line 21... | Line 22... | |||
21 | |
22 | |
|
22 | public bool LaunchOnBoot |
23 | public bool LaunchOnBoot |
|
23 | { |
24 | { |
|
24 | get => _launchOnBoot; |
25 | get => _launchOnBoot; |
|
Line 122... | Line 123... | |||
122 | _stopBits = value; |
123 | _stopBits = value; |
|
123 | OnPropertyChanged(); |
124 | OnPropertyChanged(); |
|
124 | } |
125 | } |
|
125 | } |
126 | } |
|
Line -... | Line 127... | |||
- | 127 | |
||
- | 128 | public Definitions Definitions |
||
- | 129 | { |
||
- | 130 | get => _definitions; |
||
- | 131 | set |
||
- | 132 | { |
||
- | 133 | if (value == _definitions) |
||
- | 134 | { |
||
- | 135 | return; |
||
- | 136 | } |
||
- | 137 | |
||
- | 138 | _definitions = value; |
||
- | 139 | OnPropertyChanged(); |
||
- | 140 | } |
||
- | 141 | } |
||
- | 142 | |
||
- | 143 | public Configuration() |
||
- | 144 | { |
||
- | 145 | } |
||
126 | |
146 | |
|
Line 127... | Line 147... | |||
127 | public event PropertyChangedEventHandler PropertyChanged; |
147 | public event PropertyChangedEventHandler PropertyChanged; |
|
128 | |
148 | |
|
129 | [NotifyPropertyChangedInvocator] |
149 | [NotifyPropertyChangedInvocator] |