feat(feat(init): serviceOfMachines):

This commit is contained in:
2024-03-26 16:03:24 +03:00
parent 6eb9973b61
commit f6ca446f92
22 changed files with 4644 additions and 458 deletions

View File

@@ -0,0 +1,41 @@
import {vi} from 'vitest'
const apiModalMachine = {
"zav_nomer": "007",
"type": "АВФ-1М.2",
"railway_name": "РЖД",
"org_name": "ДКРЭ",
"nomer_zn8": 19413152,
"machine_type": "АВФ-1М.2 № 007",
"machine_id": 5862,
"imei": 868136032634217,
"device_number": "КР190617",
"device_id": 6248
}
const appModalMachine = {
"zavNomer": "007",
"type": "АВФ-1М.2",
"railwayName": "РЖД",
"orgName": "ДКРЭ",
"nomerZn8": 19413152,
"machineType": "АВФ-1М.2 № 007",
"machineId": 5862,
"imei": 868136032634217,
"deviceNumber": "КР190617",
"deviceId": 6248
}
const apiModalListMachines = [apiModalMachine]
const appModalListMachines = [appModalMachine]
class AdapterOfMachines {
constructor(url) {
this.url = url
}
getModalMachines (){
return appModalListMachines
}
}
export { apiModalMachine, appModalMachine, apiModalListMachines, appModalListMachines, AdapterOfMachines}