added HPG VEhicles Mission, Audio settings; mission Context menu
This commit is contained in:
11
apps/dispatch/app/helpers/hpgStateToFmsStatus.ts
Normal file
11
apps/dispatch/app/helpers/hpgStateToFmsStatus.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { HpgState } from "@repo/db";
|
||||
|
||||
export const hpgStateToFMSStatus = (state: HpgState): string => {
|
||||
if (state === "DISPATCHED") {
|
||||
return "3";
|
||||
}
|
||||
if (state === "ON_SCENE") {
|
||||
return "4";
|
||||
}
|
||||
return "2";
|
||||
};
|
||||
Reference in New Issue
Block a user