Fix pressure sensor tag path: use _PS suffix, not _PPE
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0b1f2c0c69
commit
48bb43f471
@ -131,7 +131,7 @@ function getIgnitionTagPath(label: string, mcm: string): string | null {
|
|||||||
if (/_LPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Long_Range/${label}`;
|
if (/_LPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Long_Range/${label}`;
|
||||||
if (/_FPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Full/${label}`;
|
if (/_FPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Full/${label}`;
|
||||||
if (/_JPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Jam/${label}`;
|
if (/_JPE\d*$/i.test(label)) return `System/${mcm}/Sensor/Jam/${label}`;
|
||||||
if (/_PPE\d*$/i.test(label) || /_PS\d*$/i.test(label)) return `System/${mcm}/Sensor/Pressure/${label}`;
|
if (/_PS\d*$/i.test(label)) return `System/${mcm}/Sensor/Pressure/${label}`;
|
||||||
// Controls / Station
|
// Controls / Station
|
||||||
if (/_JR\d*_PB$/i.test(label) || /_JR\d*$/i.test(label)) return `System/${mcm}/Station/Jam_Reset/${label}`;
|
if (/_JR\d*_PB$/i.test(label) || /_JR\d*$/i.test(label)) return `System/${mcm}/Station/Jam_Reset/${label}`;
|
||||||
if (/_SS\d*_PB$/i.test(label)) return `System/${mcm}/Station/Start_Stop/${label}`;
|
if (/_SS\d*_PB$/i.test(label)) return `System/${mcm}/Station/Start_Stop/${label}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user