- added missing config file

- added support for LG LX9500
This commit is contained in:
hbeham
2013-04-03 13:30:08 +02:00
parent 3835cc0690
commit c0e0268fdf
10 changed files with 537 additions and 99 deletions

View File

@@ -24,22 +24,36 @@ namespace ChanSort.Loader.TllFile
var mapping = this.tvSerializer.GetFirmwareMapping();
if (mapping != null)
{
this.cbAutoChannelUpdate.Checked = mapping.SettingsAutomaticChannelUpdate;
this.cbHbbTv.Checked = mapping.HbbTvEnabled;
this.cbHotelMode.Checked = mapping.HotelModeEnabled;
this.cbDtvUpdate.Checked = mapping.HotelModeDtvUpdate;
this.grpInformation.Visible = false;
this.Height -= this.grpInformation.Height;
}
this.grpFirmwareNote.Visible = false;
this.Height -= this.grpFirmwareNote.Height;
if (mapping == null || !mapping.SupportsAutoChannelUpdate)
{
this.grpSetup.Visible = false;
this.Height -= this.grpSetup.Height;
}
else
{
this.cbAutoChannelUpdate.Enabled = false;
this.cbHbbTv.Enabled = false;
this.cbHotelMode.Enabled = false;
this.cbDtvUpdate.Enabled = false;
this.cbAutoChannelUpdate.Checked = mapping.SettingsAutomaticChannelUpdate;
}
}
if (mapping == null || !mapping.SupportsHbbTv)
this.cbHbbTv.Enabled = false;
else
this.cbHbbTv.Checked = mapping.HbbTvEnabled;
if (mapping == null || !mapping.SupportsHotelMenu)
{
this.grpHotelMode.Visible = false;
this.Height -= this.grpHotelMode.Height;
}
else
{
this.cbHotelMode.Checked = mapping.HotelModeEnabled;
this.cbDtvUpdate.Checked = mapping.HotelModeDtvUpdate;
}
}
private void btnOk_Click(object sender, EventArgs e)
{
@@ -61,5 +75,10 @@ namespace ChanSort.Loader.TllFile
? TextEditStyles.Standard
: TextEditStyles.DisableTextEditor;
}
private void lblHotelMenuAutoDetect_Click(object sender, EventArgs e)
{
this.lblHotelMenuAutoDetect.Text = this.tvSerializer.GetHotelMenuOffset().ToString();
}
}
}