adding subtypes for dragger and pressure

This commit is contained in:
csawatzky 2025-05-14 12:38:48 -06:00
parent b7881e3e01
commit b0fdc67372
4 changed files with 13 additions and 3 deletions

4
package-lock.json generated
View file

@ -42,7 +42,7 @@
"mui-tel-input": "^7.0.0",
"notistack": "^3.0.1",
"openweathermap-ts": "^1.2.10",
"protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#master",
"protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#dev",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-color": "^2.19.3",
@ -10864,7 +10864,7 @@
},
"node_modules/protobuf-ts": {
"version": "1.0.0",
"resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#f8704561c094b208029340cdf2ce0c510ef1eb12",
"resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#f7d57e5a1a880fcea3628bbc10889c75314216e4",
"dependencies": {
"protobufjs": "^6.8.8"
}

View file

@ -52,7 +52,7 @@
"mui-tel-input": "^7.0.0",
"notistack": "^3.0.1",
"openweathermap-ts": "^1.2.10",
"protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#master",
"protobuf-ts": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#dev",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
"react-color": "^2.19.3",

View file

@ -87,6 +87,11 @@ export function dragerGasDongle(subtype: number = 0): ComponentTypeExtension {
key: quack.DragerGasDongleSubtype.DRAGER_GAS_DONGLE_SUBTYPE_H2S,
value: "DRAGER_GAS_DONGLE_SUBTYPE_H2S",
friendlyName: "Drager Gas H2S"
},
{
key: quack.DragerGasDongleSubtype.DRAGER_GAS_DONGLE_SUBTYPE_LEL,
value: "DRAGER_GAS_DONGLE_SUBTYPE_LEL",
friendlyName: "Drager Gas LEL"
}
],
friendlyName: "Drager Gas",

View file

@ -45,6 +45,11 @@ export function Pressure(subtype: number = 0): ComponentTypeExtension {
key: quack.PressureSubtype.PRESSURE_SUBTYPE_FROG,
value: "PRESSURE_SUBTYPE_FROG",
friendlyName: "Pressure (Frog)"
} as Subtype,
{
key: quack.PressureSubtype.PRESSURE_SUBTYPE_DIFFERENTIAL_PRESSURE,
value: "PRESSURE_SUBTYPE_DIFFERENTIAL_PRESSURE",
friendlyName: "Pressure Differential"
} as Subtype
],
friendlyName: "Pressure",