philon-
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
25 additions and
1 deletions
-
src/components/PageComponents/ModuleConfig/Paxcounter.tsx
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
import type { PaxcounterValidation } from "@app/validation/moduleConfig/paxcounter.tsx"; |
|
|
|
import type { PaxcounterValidation } from "@app/validation/moduleConfig/paxcounter.ts"; |
|
|
|
import { create } from "@bufbuild/protobuf"; |
|
|
|
import { DynamicForm } from "@components/Form/DynamicForm.tsx"; |
|
|
|
import { useDevice } from "@core/stores/deviceStore.ts"; |
|
|
|
@ -48,6 +48,30 @@ export const Paxcounter = () => { |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: "number", |
|
|
|
name: "wifiThreshold", |
|
|
|
label: "WiFi RSSI Threshold", |
|
|
|
description: |
|
|
|
"At what WiFi RSSI level should the counter increase. Defaults to -80.", |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: "number", |
|
|
|
name: "bleThreshold", |
|
|
|
label: "BLE RSSI Threshold", |
|
|
|
description: |
|
|
|
"At what BLE RSSI level should the counter increase. Defaults to -80.", |
|
|
|
disabledBy: [ |
|
|
|
{ |
|
|
|
fieldName: "enabled", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
]} |
|
|
|
|