Exemple #1
0
 public void DoAlarm(Context context)
 {
     context.RecordLog("非常ベル(夜間)");
     context.ChangeState(UrgentState.GetInstance());
 }
 public void DoAlarm(Context context)
 {
     context.CallSecurityCenter("非常ベル(昼間)");
     context.ChangeState(UrgentState.GetInstance());
 }