예제 #1
0
 private void RaisePostureDetected(PosturesEnum posture)
 {
     if (_lastPosture == posture)
     {
         return;
     }
     Raise(() => PostureDetected(this, new PostureEventArgs {
         Posture = posture
     }));
     _lastPosture = posture;
 }
예제 #2
0
 private void RaisePostureDetected(PosturesEnum posture)
 {
     if (_lastPosture == posture)
     {
         return;
     }
     Raise(() => PostureDetected(this, new PostureEventArgs { Posture = posture }));
     _lastPosture = posture;
 }