v2 up aiogja80a

This commit is contained in:
2018-12-03 12:00:44 +01:00
parent ec01dfbec1
commit ea290015ef
3 changed files with 30 additions and 8 deletions

19
dist/autoloaderV2.js vendored
View File

@@ -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
* ===============================================
@@ -18871,7 +18871,7 @@ class AutomaticDispose {
if (self.MyRunner == 'os') {
self.OweSecure = true;
}
self.GetMissionConfiguration(self.MyRunner == 'kt' ? 147 : Mission.type);
self.GetMissionConfiguration(Mission.type);
}
});
}
@@ -18905,35 +18905,45 @@ class AutomaticDispose {
StartAlarmProcess() {
const self = this;
setTimeout(function () {
console.log('StartAlarmProcess')
Promise.resolve().then(async () => {
console.log('PrepareVehicleNeedList')
return await self.PrepareVehicleNeedList();
}).then(async () => {
console.log('CollectInvolvedVehicles')
return await self.CollectInvolvedVehicles();
}).then(async () => {
console.log('CollectPatients')
return await self.CollectPatients();
})
.then(async () => {
console.log('ProcessEmergencyMedicalService')
return await self.ProcessEmergencyMedicalService()
})
.then(async () => {
console.log('ProcessFireDepartment')
return await self.ProcessFireDepartment()
})
.then(async () => {
console.log('ProcessPoliceDepartment')
return await self.ProcessPoliceDepartment()
})
.then(async () => {
console.log('ProcessTechnicalEmergencyService')
return await self.ProcessTechnicalEmergencyService()
})
.then(async () => {
console.log('ProcessWaterRescue')
return await self.ProcessWaterRescue()
}).then(() => {
console.log('OweSecure?')
if (self.OweSecure) {
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();
}
}
console.log('MissionConfig.share?')
// TODO check cars driving or already there
if (self.MissionConfig.share){
console.log('self.MissionConfig.share',self.MissionConfig.share)
@@ -18944,10 +18954,11 @@ class AutomaticDispose {
continue;
}
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("WILL KLICK SEND")
setTimeout(() => {