Beispiel #1
0
 /// <summary>
 /// Create a DiSEqC message information instance.
 /// </summary>
 /// <remarks>
 /// No command is sent but the burst state is provided.
 /// </remarks>
 /// <param name="channel">The channel to tune upon.</param>
 /// <returns>A DiSEqC message.</returns>
 public override DiSEqCMessage CreateMessage(SatelliteChannel channel)
 {
     // Send the burst
     return new DiSEqCMessage(new byte[0], Data[0], 1);
 }
Beispiel #2
0
 /// <summary>
 /// Create a DiSEqC message description.
 /// </summary>
 /// <remarks>
 /// This method replaced the direct call to <see cref="Data"/>.
 /// </remarks>
 /// <param name="channel">Related satellite channel.</param>
 /// <returns>A DiSEqC message to be sent.</returns>
 public abstract DiSEqCMessage CreateMessage(SatelliteChannel channel);