internal static int LocoAddress(this LocoConfiguration me) =>
 me.IsLongAddress ?
 ((me.ExtendedAddressMsb - 192) * 256) + me.ExtendedAddressLsb :
 me.PrimaryAddress;
Example #2
0
 public IEnumerable <Message> Analyse(LocoConfiguration configuration) =>
 LocoAddressService.TryGetAddress(configuration.LocoAddress) is LocoAddressBooking booking?