fix SUBSTREAM
This commit is contained in:
parent
9a1e329adc
commit
f0ef35acbe
17
server.js
17
server.js
@ -2211,20 +2211,6 @@ async function getParameters(serial) {
|
||||
|
||||
await new Promise(resolve => setTimeout(resolve, 300));
|
||||
|
||||
|
||||
const requestResponse4 = await axios.get(`http://${process.env.SERVER_IP}:8080/http/parameters/request?serial=${serial}`, {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data: JSON.stringify({
|
||||
"FIELDS": [
|
||||
"SUBSTRNET"
|
||||
]
|
||||
}),
|
||||
});
|
||||
|
||||
await new Promise(resolve => setTimeout(resolve, 300));
|
||||
|
||||
const requestResponse5 = await axios.get(`http://${process.env.SERVER_IP}:8080/http/parameters/request?serial=${serial}`, {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@ -2881,9 +2867,6 @@ app.put('/device-parameters', async (req, res) => {
|
||||
"LANT": parseInt(LANGUAGE, 10),
|
||||
"GM": parseInt(GEOMOD, 10)
|
||||
},
|
||||
"SUBSTRNET": {
|
||||
"SM": parseInt(SUBSTREAMMODE, 10)
|
||||
},
|
||||
"EOSD": [
|
||||
{ "GE": GE, "NE": NE, "SE": SE, "TE": TE, "VE": VE, "DE": DE },
|
||||
{ "GE": GE, "NE": NE, "SE": SE, "TE": TE, "VE": VE, "DE": DE },
|
||||
|
Loading…
Reference in New Issue
Block a user