function Basic_settingsModelDefines() {
}
{
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_AUTOINFO = "de.loewe.sl2.i32.basic.settings.osd.autoinfo";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_AUTOINFO_COUNTER = "de.loewe.sl2.i32.basic.settings.osd.autoinfo.counter";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_TIME = "de.loewe.sl2.i32.basic.settings.osd.display.time";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_VOLUME = "de.loewe.sl2.i32.basic.settings.osd.display.volume";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_PERMANENT_CLOCK = "de.loewe.sl2.i32.basic.settings.osd.display.permanentclock";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_HMDI_HINT = "de.loewe.sl2.i32.basic.settings.osd.display.hdmihint";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_SUBTITLE_MODE = "de.loewe.sl2.i32.basic.settings.enum.dvb.mode.subtitle";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_AUDIO_MODE = "de.loewe.sl2.i32.basic.settings.enum.dvb.mode.audio";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_DVB_CHARSET_EXIST = "de.loewe.sl2.i32.basic.settings.dvb.charset.exist";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET = "de.loewe.sl2.i32.basic.settings.enum.dvb.charset";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_TVSET_LOCATION = "de.loewe.sl2.i32.basic.settings.tvset.location";

    // Now, We use time offset to UTC (region code) to represent the region, if the 
    // time offset is not a multiple of 3600, we use the default region of a location.
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_TVSET_REGION_CODE = "de.loewe.sl2.i32.basic.settings.tvset.region.code";

    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_TVSET_LOCATION_AUSTRALIA = "de.loewe.sl2.i32.basic.settings.tvset.location.australia";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY = "de.loewe.sl2.i32.basic.settings.enum.energy.efficiency";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_QUICKSTART_TIME_INTERVAL_MORNING = "de.loewe.sl2.i32.basic.settings.quickstart.time.interval.morning";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_QUICKSTART_TIME_INTERVAL_AFTERNOON = "de.loewe.sl2.i32.basic.settings.quickstart.time.interval.afternoon";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_QUICKSTART_TIME_INTERVAL_EVENING = "de.loewe.sl2.i32.basic.settings.quickstart.time.interval.evening";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_QUICKSTART_MODE_EXIST = "de.loewe.sl2.i32.basic.settings.quickstart.mode.exist";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_OPERATION_MODE = "de.loewe.sl2.i32.basic.settings.enum.operation.mode";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_BATTERY_LEVEL = "de.loewe.sl2.i32.basic.settings.battery.level";
    Basic_settingsModelDefines.SL2_TVAPI_ACTION_BASIC_SETTINGS_MESSAGE_REQUEST = "de.loewe.sl2.action.basic.settings.message.request";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_KEY_INFO = "de.loewe.sl2.i32.basic.settings.osd.key.info";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_MENU_DELAY_DISAPPEAR = "de.loewe.sl2.i32.basic.settings.menu.delay.disappear";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_SMART_REMOTE_CONTROL = "de.loewe.sl2.i32.basic.settings.smart.remote.control";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ANYVIEWSTREAM_SWITCH = "de.loewe.sl2.i32.basic.settings.anyviewstream.switch";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_DISCLAIMER = "de.loewe.sl2.i32.basic.settings.disclaimer";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_IMPROVE_HIS = "de.loewe.sl2.i32.basic.settings.improve.his";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_IS_INSTALLATION = "de.loewe.sl2.i32.basic.settings.starting.navigation";
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_TIME_MIN = 2;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_OSD_DISPLAY_TIME_MAX = 9;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_SUBTITLE_MODE_OFF = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_SUBTITLE_MODE_ON = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_SUBTITLE_MODE_IMPAIRED = 2;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_AUDIO_MODE_NORMAL = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_AUDIO_MODE_IMPAIRED = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET_WESTERN_EUROPEAN = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET_STANDARD = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET_POLISH = 2;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET_GREEK = 3;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_CHARSET_TURKISH = 4;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRIA = 0;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA = 1;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_BELGIUM = 2;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_CHINA = 3;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_CZECHREPUBLIC = 4;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_DENMARK = 5;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_FINLAND = 6;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_FRANCE = 7;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_GERMANY = 8;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_GREATBRITAIN = 9;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_GREECE = 10;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_HUNGARY = 11;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_IRELAND = 12;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_ITALY = 13;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_KOREA = 14;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_LUXEMBOURG = 15;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_NETHERLANDS = 16;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_NEWZEALAND = 17;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_NORWAY = 18;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_POLAND = 19;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_PORTUGAL = 20;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_RUSSIA = 21;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SLOVENIA = 22;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SPAIN = 23;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SWEDEN = 24;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SWITZERLAND = 25;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_TURKEY = 26;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_OTHERCOUNTRY = 27;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SLOVAKIA = 28;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_ROMANIA = 29;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_BULGARIA = 30;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_CYPRUS = 31;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_ESTONIA = 32;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_ICELAND = 33;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_LATVIA = 34;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_LITHUANIA = 35;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_MALTA = 36;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_LIECHTENSTEIN = 37;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_BELARUS = 38;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_UKRAINE = 39;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_SERBIA = 40;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATION_CROATIA = 41;
    Basic_settingsModelDefines.SL2_TVAPI_BASIC_SETTINGS_ENUM_TVSET_LOCATIONS = 42;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_NEWSOUTHWALES = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_QUEESNLAND = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_SOUTHAUSTRALIA = 2;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_NOTHERNTERRITORY = 3;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_WESTERNAUSTRALIA = 4;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_VICTORIA = 5;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_TVSET_LOCATION_AUSTRALIA_TASMANIA = 6;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY_HOME = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY_PREMIUM = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY_SHOP = 2;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY_QUICKSTART = 3;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_ENERGY_EFFICIENCY_UNDEF = -1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_OPERATION_MODE_TV = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_OPERATION_MODE_MONITOR = 1;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_BATTERY_LEVEL_LOW = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_BATTERY_LEVEL_NORMAL = 1;
    Basic_settingsModelDefines.SL2_TVAPI_ACTION_BASIC_SETTINGS_MESSAGE_REQUEST_PARAM_MESSAGE_ID = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_MENU_DELAY_DISAPPEAR_MAX = 60;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_MENU_DELAY_DISAPPEAR_MIN = 0;
    Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_MENU_DELAY_DISAPPEAR_DEFAULT = 20
}
function Basic_settingsModel(_) {
    SubModel.call(this, _, Basic_settingsModelDefines);
    //this.registerSubObject = function () {

        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_TVSET_LOCATION, "getTvsetLocation", "setTvsetLocation", "onTvsetLocationChaged", null, null);
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_TVSET_REGION_CODE, "getTvsetRegionCode", "setTvsetRegionCode", "onTvsetRegionCodeChaged", null, null);

        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_SUBTITLE_MODE, "getEnumDvbModeSubtitle", "setEnumDvbModeSubtitle", "onEnumDvbModeSubtitleChaged", null, null);
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ENUM_DVB_AUDIO_MODE, "getEnumDvbAudioMode", "setEnumDvbAudioMode", "onEnumDvbAudioModeChaged", null, null);
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_MENU_DELAY_DISAPPEAR, "getMenuDelayDisappear", "setMenuDelayDisappear", "onMenuDelayDisappearChaged", null, null);
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_DISCLAIMER, "getDisclaimer", "setDisclaimer", "onDisclaimerChaged", null, null);
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_IMPROVE_HIS, "getImproveHis", "setImproveHis", "onImproveHisChaged", null, null)
        this.registerIntegerObject(Basic_settingsModelDefines.SL2_TVAPI_I32_BASIC_SETTINGS_ANYVIEWSTREAM_SWITCH, "getAnyviewstreamSwitch", "setAnyviewstreamSwitch", "onAnyviewstreamSwitchChaged", null, null);
    //}

}
Basic_settingsModel.prototype = new SubModel;
Basic_settingsModel.prototype.constructor = Basic_settingsModel;
{
    SubModel.registerStaticConstants(Basic_settingsModel, Basic_settingsModelDefines, [])
}
