. Коды событий равны кодам записей
.
Каждое событие добавляет в комбинацию флагов состояний свой флаг и сбрасывает некоторые другие флаги.
Код события | Мнемоника события | Маска события | Событие сбрасывает флаги |
1 | LOGOPEN | 00000001 | LOGCLOSE |
2 | LOGCLOSE | 00000002 | LOGOPEN |
3 | START | 00000004 | STOP, CONFIG, RESET, READY, ENABLED, REJECT, STACK, FULL, DISPOSED, CHEATED, FAILURE, UNKNOWN, RESTORE, DETECT, PAUSE, RETURN |
4 | STOP | 00000008 | START, CONFIG, RESET, READY, ENABLED, REJECT, STACK, FULL, DISPOSED, CHEATED, FAILURE, UNKNOWN, RESTORE, DETECT, PAUSE, RETURN |
5 | CONFIG | 00000010 | - |
6 | OFFLINE | 00000020 | ONLINE, RESET, READY, ENABLED, REJECT, STACK, FULL, DISPOSED, CHEATED, FAILURE, UNKNOWN, RESTORE, DETECT, PAUSE, RETURN |
7 | ONLINE | 00000040 | OFFLINE, RESTORE, PAUSE |
8 | RESET | 00000080 | OFFLINE (только в CCNET (•)), READY, ENABLED, REJECT, STACK, CHEATED, FAILURE, RESTORE, DETECT, RETURN |
9 | READY | 00000100 | OFFLINE, RESET, ENABLED, REJECT, STACK, DISPOSED, CHEATED, FAILURE (только в CCNET (••)), FULL, DETECT, PAUSE, RETURN |
10 | ENABLED | 00000200 | OFFLINE, RESET, REJECT, STACK, DISPOSED, DETECT, PAUSE, RETURN |
11 | REJECT | 00000400 | OFFLINE, RESET, STACK, RESTORE, DETECT, PAUSE, RETURN |
12 | STACK | 00000800 | OFFLINE, RESET, REJECT, FULL, DISPOSED, RESTORE, DETECT, PAUSE, RETURN |
13 | FULL | 00001000 | OFFLINE, RESET, DISPOSED, RESTORE, READY, PAUSE |
14 | DISPOSED | 00002000 | OFFLINE, RESET, READY, ENABLED, STACK, FULL, RESTORE, DETECT, PAUSE, RETURN |
15 | CHEATED | 00004000 | PAUSE |
16 | FAILURE | 00008000 | READY, RESTORE, PAUSE |
17 | UNKNOWN | 00010000 | PAUSE |
18 | RESTORE | 00020000 | FAILURE |
19 | DETECT | 00040000 | OFFLINE, RESET, REJECT, STACK, RESTORE, PAUSE, RETURN |
20 | PAUSE | 00080000 | - |
21 | RETURN | 00100000 | - |