public void GetLocoInfo(LokAdresse adresse)
 {
     if (adresse is null)
     {
         return;
     }
     byte[] bytes = new byte[9];
     bytes[0] = 0x09;
     bytes[1] = 0;
     bytes[2] = 0x40;
     bytes[3] = 0;
     bytes[4] = 0xE3;
     bytes[5] = 0xF0;
     bytes[6] = adresse.ValueBytes.Adr_MSB;
     bytes[7] = adresse.ValueBytes.Adr_LSB;
     bytes[8] = (byte)(bytes[4] ^ bytes[5] ^ bytes[6] ^ bytes[7]);
     Console.WriteLine("LAN X GET LOCO INFO " + getByteString(bytes) + " (#" + adresse.Value.ToString() + ")");
     Senden(bytes);
 }
 public void SetLocoFunction(LokAdresse adresse, Function function, ToggleType toggelType)
 {
     byte[] bytes = GetLocoFunctionByteArray(adresse, function, toggelType);
     Senden(bytes);
 }