new(basic.gblib) New SET SCHEDULE keyword.
This commit is contained in:
parent
46c38bbfd3
commit
8cbb45aad1
1 changed files with 3 additions and 1 deletions
|
@ -441,9 +441,11 @@ export class SystemKeywords {
|
|||
const e = result.split(';');
|
||||
const hr = Number.parseInt(filter.value.split(':')[0]);
|
||||
let lastHour = Number.parseInt(e[0]);
|
||||
let found = false;
|
||||
await CollectionUtil.asyncForEach(e, async hour => {
|
||||
if (lastHour <= hr && hr <= hour) {
|
||||
if (!found && lastHour <= hr && hr <= hour) {
|
||||
filterAcceptCount++;
|
||||
found = true;
|
||||
}
|
||||
lastHour = hour;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue