/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public static byte ToByte(this Zubehörschalten value) { return(Convert.ToByte(value)); }
/// <summary> /// /// </summary> /// <param name="adresse"></param> /// <param name="schalten"></param> /// <returns></returns> public static byte[] Schalten(Int32 adresse, Zubehörschalten schalten) { return(new byte[] { 0, Typ.Zubehör.ToByte(), ZubehörAdresse(adresse), schalten.ToByte(), 0 }); }