v2 up aiogja80a
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 03 2018 11:55:48 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/
|
||||||
var AutomaticDispose_Branch = "master";
|
var AutomaticDispose_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
|
|||||||
Vendored
+16
-5
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 03 2018 11:55:48 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18871,7 +18871,7 @@ class AutomaticDispose {
|
|||||||
if (self.MyRunner == 'os') {
|
if (self.MyRunner == 'os') {
|
||||||
self.OweSecure = true;
|
self.OweSecure = true;
|
||||||
}
|
}
|
||||||
self.GetMissionConfiguration(self.MyRunner == 'kt' ? 147 : Mission.type);
|
self.GetMissionConfiguration(Mission.type);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -18905,35 +18905,45 @@ class AutomaticDispose {
|
|||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
console.log('StartAlarmProcess')
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
|
console.log('PrepareVehicleNeedList')
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
|
console.log('CollectInvolvedVehicles')
|
||||||
return await self.CollectInvolvedVehicles();
|
return await self.CollectInvolvedVehicles();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
|
console.log('CollectPatients')
|
||||||
return await self.CollectPatients();
|
return await self.CollectPatients();
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessEmergencyMedicalService')
|
||||||
return await self.ProcessEmergencyMedicalService()
|
return await self.ProcessEmergencyMedicalService()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessFireDepartment')
|
||||||
return await self.ProcessFireDepartment()
|
return await self.ProcessFireDepartment()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessPoliceDepartment')
|
||||||
return await self.ProcessPoliceDepartment()
|
return await self.ProcessPoliceDepartment()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessTechnicalEmergencyService')
|
||||||
return await self.ProcessTechnicalEmergencyService()
|
return await self.ProcessTechnicalEmergencyService()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessWaterRescue')
|
||||||
return await self.ProcessWaterRescue()
|
return await self.ProcessWaterRescue()
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
||||||
|
console.log('OweSecure?')
|
||||||
if (self.OweSecure) {
|
if (self.OweSecure) {
|
||||||
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').length > 0) {
|
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').length > 0) {
|
||||||
$('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)')[0].click();
|
$('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)')[0].click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log('MissionConfig.share?')
|
||||||
// TODO check cars driving or already there
|
// TODO check cars driving or already there
|
||||||
if (self.MissionConfig.share){
|
if (self.MissionConfig.share){
|
||||||
console.log('self.MissionConfig.share',self.MissionConfig.share)
|
console.log('self.MissionConfig.share',self.MissionConfig.share)
|
||||||
@@ -18944,9 +18954,10 @@ class AutomaticDispose {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
elems[i].click();
|
elems[i].click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
console.log('MissionConfig.share - after')
|
||||||
}
|
|
||||||
|
|
||||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||||
console.log("WILL KLICK SEND")
|
console.log("WILL KLICK SEND")
|
||||||
|
|||||||
+15
-4
@@ -1279,7 +1279,7 @@ class AutomaticDispose {
|
|||||||
if (self.MyRunner == 'os') {
|
if (self.MyRunner == 'os') {
|
||||||
self.OweSecure = true;
|
self.OweSecure = true;
|
||||||
}
|
}
|
||||||
self.GetMissionConfiguration(self.MyRunner == 'kt' ? 147 : Mission.type);
|
self.GetMissionConfiguration(Mission.type);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -1313,35 +1313,45 @@ class AutomaticDispose {
|
|||||||
StartAlarmProcess() {
|
StartAlarmProcess() {
|
||||||
const self = this;
|
const self = this;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
console.log('StartAlarmProcess')
|
||||||
Promise.resolve().then(async () => {
|
Promise.resolve().then(async () => {
|
||||||
|
console.log('PrepareVehicleNeedList')
|
||||||
return await self.PrepareVehicleNeedList();
|
return await self.PrepareVehicleNeedList();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
|
console.log('CollectInvolvedVehicles')
|
||||||
return await self.CollectInvolvedVehicles();
|
return await self.CollectInvolvedVehicles();
|
||||||
}).then(async () => {
|
}).then(async () => {
|
||||||
|
console.log('CollectPatients')
|
||||||
return await self.CollectPatients();
|
return await self.CollectPatients();
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessEmergencyMedicalService')
|
||||||
return await self.ProcessEmergencyMedicalService()
|
return await self.ProcessEmergencyMedicalService()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessFireDepartment')
|
||||||
return await self.ProcessFireDepartment()
|
return await self.ProcessFireDepartment()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessPoliceDepartment')
|
||||||
return await self.ProcessPoliceDepartment()
|
return await self.ProcessPoliceDepartment()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessTechnicalEmergencyService')
|
||||||
return await self.ProcessTechnicalEmergencyService()
|
return await self.ProcessTechnicalEmergencyService()
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
console.log('ProcessWaterRescue')
|
||||||
return await self.ProcessWaterRescue()
|
return await self.ProcessWaterRescue()
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
||||||
|
console.log('OweSecure?')
|
||||||
if (self.OweSecure) {
|
if (self.OweSecure) {
|
||||||
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').length > 0) {
|
if ($('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)').length > 0) {
|
||||||
$('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)')[0].click();
|
$('#vehicle_show_table_all tr[vehicle_type="FuStW"] input[type="checkbox"]:not(:checked)')[0].click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log('MissionConfig.share?')
|
||||||
// TODO check cars driving or already there
|
// TODO check cars driving or already there
|
||||||
if (self.MissionConfig.share){
|
if (self.MissionConfig.share){
|
||||||
console.log('self.MissionConfig.share',self.MissionConfig.share)
|
console.log('self.MissionConfig.share',self.MissionConfig.share)
|
||||||
@@ -1352,9 +1362,10 @@ class AutomaticDispose {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
elems[i].click();
|
elems[i].click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
console.log('MissionConfig.share - after')
|
||||||
}
|
|
||||||
|
|
||||||
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
console.log("Clicked Vehicles: ", $('#vehicle_show_table_all input[type="checkbox"]:checked').length, $('#vehicle_show_table_all input[type="checkbox"]:checked'));
|
||||||
console.log("WILL KLICK SEND")
|
console.log("WILL KLICK SEND")
|
||||||
|
|||||||
Reference in New Issue
Block a user