public AlertStateContext()
 {
     currentState = new Vibration();
 }
 public void SetState(IMobileAlertState state)
 {
     currentState = state;
 }
示例#3
0
 public AlertStateContext()
 {
     currentState = new Ringing();
 }