equal
deleted
inserted
replaced
9 public class Annotation |
9 public class Annotation |
10 { |
10 { |
11 private String _id; |
11 private String _id; |
12 private float _tcBegin; |
12 private float _tcBegin; |
13 private float _dur; |
13 private float _dur; |
14 private String _gestureType; |
14 private List<String> _gestureType; |
15 private Color _color; |
15 private Color _color; |
16 |
16 |
17 public Annotation(String idPar, float tcBeginPar, float durPar, String gesturePar, Color colorPar) |
17 public Annotation(String idPar, float tcBeginPar, float durPar, List<String> gesturePar, Color colorPar) |
18 { |
18 { |
19 this._id = idPar; |
19 this._id = idPar; |
20 this._tcBegin = tcBeginPar; |
20 this._tcBegin = tcBeginPar; |
21 this._dur = durPar; |
21 this._dur = durPar; |
22 this._gestureType = gesturePar; |
22 this._gestureType = gesturePar; |
51 if (value == _dur || float.IsNaN(value)) |
51 if (value == _dur || float.IsNaN(value)) |
52 return; |
52 return; |
53 _dur = value; |
53 _dur = value; |
54 } |
54 } |
55 } |
55 } |
56 public String GestureType |
56 public List<String> GestureType |
57 { |
57 { |
58 get { return _gestureType; } |
58 get { return _gestureType; } |
59 set |
59 set |
60 { |
60 { |
61 if (value == _gestureType || String.IsNullOrEmpty(value)) |
61 if (value == _gestureType) |
62 return; |
62 return; |
63 _gestureType = value; |
63 _gestureType = value; |
64 } |
64 } |
65 } |
65 } |
66 public Color Color |
66 public Color Color |