//////////////////////////////////////////////////////////////////////////////////
// //
// Copyright © 2005-2020 nzsjb //
// //
// This Program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2, or (at your option) //
// any later version. //
// //
// This Program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with GNU Make; see the file COPYING. If not, write to //
// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. //
// http://www.gnu.org/copyleft/gpl.html //
// //
//////////////////////////////////////////////////////////////////////////////////
using System;
namespace DVBServices
{
///
/// The reply codes from the protocol collectors.
///
public enum CollectorReply
{
///
/// The collection was successful.
///
OK,
///
/// The collection failed.
///
GeneralFailure,
///
/// There was a format error in the received data.
///
FatalFormatError,
///
/// The was an error loading the reference data.
///
ReferenceDataError,
///
/// There was an error in the broadcast data.
///
BroadcastDataError,
///
/// The collection was cancelled.
///
Cancelled
}
///
/// The current scope
///
[Flags]
public enum Scope
{
///
/// No scope restrictions
///
All = 0x7fffffff,
///
/// Program Map table
///
PMT = 0x0002,
///
/// Program Association table
///
PAT = 0x0004,
///
/// Network Information table
///
NIT = 0x0008,
///
/// Bouquet Association table
///
BAT = 0x0010,
///
/// Service Description table
///
SDT = 0x0020,
///
/// Event Information table
///
EIT = 0x0040,
///
/// Time and Date table
///
TDT = 0x0080,
///
/// Time offset table
///
TOT = 0x0100,
///
/// Running Status table
///
RST = 0x0200,
///
/// Stuffing table
///
ST = 0x0400,
///
/// Discontinuity Information table
///
DIT = 0x0800,
///
/// Selection Information table
///
SIT = 0x1000,
///
/// Application Information table
///
AIT = 0x2000,
///
/// DSMCC sections
///
DSMCC = 0x4000,
}
///
/// The action to take for non-Ascii characters in text strings.
///
public enum ReplaceMode
{
///
/// The non-ASCII character is removed.
///
Ignore,
///
/// The non-ASCII character is set to space.
///
SetToSpace,
///
/// The non-ASCII character is not changed in the output text.
///
TransferUnchanged,
///
/// The non-ASCII character is converted to its ASCII equivalent (EIT 0x8a only at present)
///
Convert,
///
/// The non-ASCII character is converted using the byte conversion table)
///
ConvertUsingTable
}
///
/// The data broadcast ID values.
///
public enum DataBroadcastId
{
///
/// DVB data pipe.
///
DvbDataPipe = 0x0001, // EN 301 192 section 4.2.1
///
/// Asynchronous data stream
///
AsyncDataStream = 0x0002, // EN 301 192 section 5.2.1
///
/// Synchronous data stream
///
SynchronousDataStream = 0x0003, // EN 301 192 section 6.2.1
///
/// Synchronous data streams
///
SynchronousDataStreams = 0x0004, // EN 301 192 section 6.2.1
///
/// Multiprotocol encapsulation
///
MultiProtocolEncapsulation = 0x0005, // EN 301 192 section 4.2.1
///
/// Data carousel
///
DataCarousel = 0x0006,
///
/// Object carousel
///
ObjectCarousel = 0x0007,
///
/// DVB ATM stream
///
DvbAtmStream = 0x0008,
///
/// Higher protocol asynchronous stream
///
HigherProtcolAsyncStream = 0x0009,
///
/// System software update service
///
SsuService = 0x000a,
///
/// IP/MAC notification service
///
IpMacNotificationService = 0x000b,
///
/// MHP object carousel
///
MhpObjectCarousel = 0x00f0, // TS 101 812
///
/// MHP multiprotocol encapsulation
///
MhpMultiProtoclEncapsulation = 0x000f1, // TS 101 812
///
/// MHP application presence
///
MhpApplicationPresence = 0x00f2,
///
/// MHEG5 stream
///
Mheg5 = 0x0106
}
}