Exemplo n.º 1
0
 public void OnRecovered(FuseEventArgs e)
 {
     if (!m_isWorking)
     {
         m_isWorking = true;
         if (m_recovered != null)
         {
             m_recovered.Invoke();
         }
         if (m_recoveredEventHandle != null)
         {
             m_recoveredEventHandle(this, e);
         }
     }
 }
Exemplo n.º 2
0
 public void OnBlew(FuseEventArgs e)
 {
     if (m_isWorking)
     {
         m_isWorking = false;
         if (m_blew != null)
         {
             m_blew.Invoke();
         }
         if (m_blewEventHandle != null)
         {
             m_blewEventHandle(this, e);
         }
     }
 }