Update yy

This commit is contained in:
2018-11-26 07:50:44 +01:00
parent c05ef23e9c
commit 6699d3f900
4 changed files with 57 additions and 47 deletions

25
dist/autoloader.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 21:42:55 GMT+0100 (CET)*/
/*Generated on:Mon Nov 26 2018 07:50:44 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();
@@ -17827,13 +17827,20 @@ ADisDB.on("ready", () => {
return await ADis_CollectPatients();
})
.then(async () => {
return await Promise.all([
ADis_ProcessEmergencyMedicalService(),
ADis_ProcessFireDepartment(),
ADis_ProcessPoliceDepartment(),
ADis_ProcessTechnicalEmergencyService(),
ADis_ProcessWaterRescue(),
]).then((result) => {
return await ADis_ProcessEmergencyMedicalService()
})
.then(async () => {
return await ADis_ProcessFireDepartment()
})
.then(async () => {
return await ADis_ProcessPoliceDepartment()
})
.then(async () => {
return await ADis_ProcessTechnicalEmergencyService()
})
.then(async () => {
return await ADis_ProcessWaterRescue()
}).then(() => {
var updateData = {
last_check: CurrentTime,
next_check: CurrentTime + 60
@@ -17848,8 +17855,6 @@ ADisDB.on("ready", () => {
}, 250);
}
})
});
}, 500);
}

2
dist/standalone.js vendored
View File

@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 21:42:55 GMT+0100 (CET)*/
/*Generated on:Mon Nov 26 2018 07:50:44 GMT+0100 (CET)*/
function includesString(string1, string2) {
return string1.toLowerCase().includes(string2.toLowerCase());
}

View File

@@ -68,4 +68,4 @@ gulp.task("minify2", ["scripts2"], function (cb) {
);
});
gulp.task("default", ["minify"]);
gulp.task("default", ["scripts"]);

View File

@@ -158,13 +158,20 @@ function AD_StartAlarmProcess() {
return await ADis_CollectPatients();
})
.then(async () => {
return await Promise.all([
ADis_ProcessEmergencyMedicalService(),
ADis_ProcessFireDepartment(),
ADis_ProcessPoliceDepartment(),
ADis_ProcessTechnicalEmergencyService(),
ADis_ProcessWaterRescue(),
]).then((result) => {
return await ADis_ProcessEmergencyMedicalService()
})
.then(async () => {
return await ADis_ProcessFireDepartment()
})
.then(async () => {
return await ADis_ProcessPoliceDepartment()
})
.then(async () => {
return await ADis_ProcessTechnicalEmergencyService()
})
.then(async () => {
return await ADis_ProcessWaterRescue()
}).then(() => {
var updateData = {
last_check: CurrentTime,
next_check: CurrentTime + 60
@@ -179,8 +186,6 @@ function AD_StartAlarmProcess() {
}, 250);
}
})
});
}, 500);
}