diff --git a/server.js b/server.js index 33c2007..6d6b5d1 100644 --- a/server.js +++ b/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 },