v2 up handler variables
This commit is contained in:
@@ -20,6 +20,16 @@ class AutomaticDispose {
|
||||
constructor() {
|
||||
let self = this;
|
||||
|
||||
self.MissionType = null
|
||||
self.MissionID= null
|
||||
self.MyRunner= null
|
||||
self.MyRunnerSettings= null
|
||||
|
||||
self._ADisVehiclesNeed = {}
|
||||
self.MissionConfig = {}
|
||||
self.Vehicles = {}
|
||||
self.Patients = {}
|
||||
|
||||
this.ADis_MyHead = document.getElementsByTagName('head')[0];
|
||||
this.ADis_MyBody = document.getElementsByTagName('body')[0];
|
||||
|
||||
@@ -1075,10 +1085,7 @@ class AutomaticDispose {
|
||||
// -
|
||||
// - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
||||
MissionType = null;
|
||||
MissionID = null;
|
||||
MyRunner = null;
|
||||
MyRunnerSettings = null;
|
||||
|
||||
StartMission() {
|
||||
const self = this;
|
||||
self.MissionType = null;
|
||||
@@ -1243,7 +1250,7 @@ class AutomaticDispose {
|
||||
}
|
||||
}
|
||||
|
||||
MissionConfig = {}
|
||||
|
||||
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
@@ -1266,9 +1273,7 @@ class AutomaticDispose {
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Vehicles = {}
|
||||
Patients = {}
|
||||
|
||||
|
||||
StartAlarmProcess() {
|
||||
const self = this;
|
||||
@@ -2081,8 +2086,6 @@ class AutomaticDispose {
|
||||
return false;
|
||||
}
|
||||
|
||||
_ADisVehiclesNeed = {}
|
||||
|
||||
PrepareVehicleNeedList() {
|
||||
const self = this;
|
||||
for (VehicleTypeID = 0; VehicleTypeID <= MaxVehicleID; VehicleTypeID++) {
|
||||
|
||||
Reference in New Issue
Block a user