-
Notifications
You must be signed in to change notification settings - Fork 4
/
EventManuel.m
43 lines (37 loc) · 2.91 KB
/
EventManuel.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
global MATB_DATA
% % EVENT MATB
%
% SON minimum 15 secondes entre les MESSAGES
%
% -1: Bas 1: Haut -1: Error Pmp -1:Error 1:PluError 1:Own -1:Others
% Seconds F1 F2 F3 F4 F5 F6 1 2 3 4 5 6 7 8 NAV1 NAV2 COM1 COM2
EVENT{1}=[
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 -1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
];
EVENT{2}=[
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
4 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
];
MATB_DATA.RESMAN.FluxPompe{1}=[70 60 70 60 60 60 40 40 80 80]/3; % Flux des pompes en unités
MATB_DATA.RESMAN.FluxPompe{2}=[70 60 70 60 60 60 40 40 80 80]/3;
MATB_DATA.TRACK.Difficulty{1}=0; % Easy = 0 / Hard = 1
MATB_DATA.TRACK.Difficulty{2}=0;
MATB_DATA.EVENT{1}=EVENT{1}; % Attribute EVENT into MATB_DATA
MATB_DATA.EVENT{2}=EVENT{2};