- fix: symbol rate corrupted on LG LA/LN models

- disable LG sat channel list editing when preset program numbers are present
This commit is contained in:
hbeham
2013-05-16 21:06:44 +02:00
parent 0d03481232
commit d8902a8b5a
14 changed files with 638 additions and 286 deletions

View File

@@ -4,6 +4,7 @@ namespace ChanSort.Loader.Samsung
{
internal class ModelConstants
{
public readonly string series;
public readonly int dvbsSatelliteLength;
public readonly int dvbsTransponderLength;
public readonly int dvbsChannelLength;
@@ -18,6 +19,7 @@ namespace ChanSort.Loader.Samsung
public ModelConstants(IniFile.Section iniSection)
{
this.series = iniSection.Name.Substring(iniSection.Name.Length - 1);
this.avbtChannelLength = iniSection.GetInt("map-AirA");
this.dvbtChannelLength = iniSection.GetInt("map-AirD");
this.dvbsChannelLength = iniSection.GetInt("map-SateD");

View File

@@ -560,5 +560,13 @@ namespace ChanSort.Loader.Samsung
"Device Settings",
MessageBoxButtons.OK, MessageBoxIcon.Information);
}
// ------- testing -----------
internal string Series { get { return c.series; } }
internal int AnalogChannelLength { get { return c.avbtChannelLength; } }
internal int DigitalChannelLength { get { return c.dvbtChannelLength; } }
internal int SatChannelLength { get { return c.dvbsChannelLength; } }
internal int HdPlusChannelLength { get { return c.hdplusChannelLength; } }
}
}