delete SUBSTREAM parameter
This commit is contained in:
parent
9d98f5d800
commit
9a1e329adc
@ -2859,9 +2859,7 @@ app.put('/device-parameters', async (req, res) => {
|
|||||||
DATEMOD,
|
DATEMOD,
|
||||||
TIMEFORMAT,
|
TIMEFORMAT,
|
||||||
LANGUAGE,
|
LANGUAGE,
|
||||||
VIDEOFORMAT,
|
|
||||||
GEOMOD,
|
GEOMOD,
|
||||||
SUBSTREAMMODE,
|
|
||||||
TIMEZ,
|
TIMEZ,
|
||||||
NE,
|
NE,
|
||||||
TE,
|
TE,
|
||||||
|
@ -129,7 +129,6 @@ for (let radioButton of radioButtons) {
|
|||||||
document.getElementById('system-language').value = data.DATA.GSP.LANT;
|
document.getElementById('system-language').value = data.DATA.GSP.LANT;
|
||||||
document.getElementById('system-timezone').value = data.DATA.TIMEP.TIMEZ;
|
document.getElementById('system-timezone').value = data.DATA.TIMEP.TIMEZ;
|
||||||
document.getElementById('system-geo').value = data.DATA.GSP.GM;
|
document.getElementById('system-geo').value = data.DATA.GSP.GM;
|
||||||
document.getElementById('system-stream').value = data.DATA.SUBSTRNET.SM;
|
|
||||||
document.getElementById('NE').checked = data.DATA.EOSD[0].NE === 1;
|
document.getElementById('NE').checked = data.DATA.EOSD[0].NE === 1;
|
||||||
document.getElementById('TE').checked = data.DATA.EOSD[0].TE === 1;
|
document.getElementById('TE').checked = data.DATA.EOSD[0].TE === 1;
|
||||||
document.getElementById('VE').checked = data.DATA.EOSD[0].VE === 1;
|
document.getElementById('VE').checked = data.DATA.EOSD[0].VE === 1;
|
||||||
|
@ -208,15 +208,6 @@
|
|||||||
<option value="720A">(МСК+9) Камчатка</option>
|
<option value="720A">(МСК+9) Камчатка</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="parameters-input">
|
|
||||||
<label for="system-stream">Формат трансляции</label>
|
|
||||||
<select name="SUBSTREAMMODE" id="system-stream">
|
|
||||||
<option value="0">Плавно</option>
|
|
||||||
<option value="1">Менее качественно, но более плавно</option>
|
|
||||||
<option value="2">Менее плавно, но более качественно</option>
|
|
||||||
<option value="3">Качество</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="parameters-input">
|
<div class="parameters-input">
|
||||||
<label for="system-language">Язык системы</label>
|
<label for="system-language">Язык системы</label>
|
||||||
<select name="LANGUAGE" id="system-language">
|
<select name="LANGUAGE" id="system-language">
|
||||||
@ -944,7 +935,6 @@ const requestBody = {
|
|||||||
|
|
||||||
const DATEMOD = document.getElementById('system-date').value;
|
const DATEMOD = document.getElementById('system-date').value;
|
||||||
const TIMEFORMAT = document.getElementById('system-time').value;
|
const TIMEFORMAT = document.getElementById('system-time').value;
|
||||||
const SUBSTREAMMODE = document.getElementById('system-stream').value;
|
|
||||||
const LANGUAGE = document.getElementById('system-language').value;
|
const LANGUAGE = document.getElementById('system-language').value;
|
||||||
const GEOMOD = document.getElementById('system-geo').value;
|
const GEOMOD = document.getElementById('system-geo').value;
|
||||||
const TIMEZ = document.getElementById('system-timezone').value;
|
const TIMEZ = document.getElementById('system-timezone').value;
|
||||||
@ -961,7 +951,6 @@ const requestBody = {
|
|||||||
const requestData = {
|
const requestData = {
|
||||||
DATEMOD,
|
DATEMOD,
|
||||||
TIMEFORMAT,
|
TIMEFORMAT,
|
||||||
SUBSTREAMMODE,
|
|
||||||
LANGUAGE,
|
LANGUAGE,
|
||||||
GEOMOD,
|
GEOMOD,
|
||||||
TIMEZ,
|
TIMEZ,
|
||||||
|
Loading…
Reference in New Issue
Block a user