Inheritance: NFIHeartBeat
Ejemplo n.º 1
0
 public override void AddHeartBeat(string strHeartBeatName, float fTime, NFIHeartBeat.HeartBeatEventHandler handler, NFIDataList valueList)
 {
     if (!mhtHeartBeat.ContainsKey(strHeartBeatName))
     {
         NFIHeartBeat xHeartBeat = new NFCHeartBeat(mSelf, strHeartBeatName, fTime, valueList);
         mhtHeartBeat.Add(strHeartBeatName, xHeartBeat);
         xHeartBeat.RegisterCallback(handler);
     }
 }
 public override void AddHeartBeat(string strHeartBeatName, float fTime, int nCount, NFIHeartBeat.HeartBeatEventHandler handler)
 {
     if (!mhtHeartBeat.ContainsKey(strHeartBeatName))
     {
         NFIHeartBeat xHeartBeat = new NFCHeartBeat(mSelf, strHeartBeatName, fTime, nCount);
         mhtHeartBeat.Add(strHeartBeatName, xHeartBeat);
         xHeartBeat.RegisterCallback(handler);
     }
 }