First MP export draft.
2 using System.Collections.Generic;
4 using System.Reflection;
5 using System.Runtime.CompilerServices;
7 using System.Threading.Tasks;
14 public string Name { get; set; }
15 //------------------------------------------------------
17 public string OrbitalPosition { get; set; }
19 public string Satellite { get; set; }
21 public string Frequency { get; set; }
23 public string Polarisation { get; set; }
25 public string Transponder { get; set; }
27 public string Beam { get; set; }
29 public string Standard { get; set; }
31 public string Modulation { get; set; }
33 public string SymbolRate { get; set; }
35 public string FEC { get; set; }
37 public string Provider { get; set; }
39 public string Bitrate { get; set; }
41 public string NetworkID { get; set; }
43 public string TransponderID { get; set; }
44 //------------------------------------------------------
46 public string Country { get; set; }
48 public string Category { get; set; }
50 public string Packages { get; set; }
52 public string Encryption { get; set; }
54 public string SID { get; set; }
56 public string VPID { get; set; }
58 public string Audio { get; set; }
60 public string PMT { get; set; }
62 public string PCR { get; set; }
64 public string TXT { get; set; }
67 public override string ToString()
69 string res = "============[Channel]============\n";
70 PropertyInfo[] properties = typeof(Channel).GetProperties();
71 foreach (PropertyInfo property in properties)
73 object value = property.GetValue(this);
76 res += property.Name + ": " + value + "\n";