示例#1
0
 public void OnProcessTriger(object owner, MatrixSensorEventArgs eventArgs)
 {
     if (ProcessTrigerEvent != null)
     {
         if (owner != this)
         {
             eventArgs.MediumTransmitters.Add(this);
         }
         ProcessTrigerEvent(owner, eventArgs);
     }
 }
示例#2
0
 protected void Triger(object owner, MatrixSensorEventArgs eventArgs)
 {
     if (FireTrigerEvent != null)
     {
         if (eventArgs == null)
         {
             eventArgs = new MatrixSensorEventArgs();
         }
         if (owner != this)
         {
             eventArgs.MediumTransmitters.Add(this);
         }
         FireTrigerEvent(owner, eventArgs);
     }
 }
示例#3
0
 public void Triger(MatrixSensorEventArgs eventArgs)
 {
     Triger(this, eventArgs);
 }