-
Notifications
You must be signed in to change notification settings - Fork 0
/
LogEvents.m
44 lines (40 loc) · 854 Bytes
/
LogEvents.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
classdef LogEvents
%LOGEVENTS enum for log events
%
properties
code=-1;
end
methods
function LE = LogEvents(c)
LE.code = c;
end
end
methods(Static)
function LE = setMFC(MFC)
if(MFC == 1)
LE=LogEvents.setMFC1;
else
LE=LogEvents.setMFC2;
end
end
function LE = sampleMFC(MFC)
if(MFC == 1)
LE=LogEvents.sampleMFC1;
else
LE=LogEvents.sampleMFC2;
end
end
end
enumeration
connect(1)
setMFC1(2)
setMFC2(3)
sampleMFC1(4)
sampleMFC2(5)
setOderValve(6)
setFinalValve(7)
stimulusStage(8)
trigger(9)
setSolenoid(10)
end
end