Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public static byte ToByte(this Zubehörschalten value)
 {
     return(Convert.ToByte(value));
 }
Example #2
0
 /// <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 });
 }