Exemplo n.º 1
0
 private void RemoveWatch(string wlName, RAMValue rvt)
 {
     rvt.RemoveKey();
     if (wlName == "ReadWatchList")
     {
         ReadWatchList.Remove(rvt);
     }
     else if (wlName == "WriteWatchList")
     {
         WriteWatchList.Remove(rvt);
     }
     else if (wlName == "FreezeWatchList")
     {
         FreezeWatchList.Remove(rvt);
     }
     else if (wlName == "ALL")
     {
         ReadWatchList.Remove(rvt);
         WriteWatchList.Remove(rvt);
         FreezeWatchList.Remove(rvt);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add RAM Value Type to the watch list
 /// </summary>
 /// <param name="rvt"></param>
 public void Add(RAMValue rvt)
 {
     RAMValueQueue.Enqueue(rvt);
 }