示例#1
0
 public static void AddOrReplace(IDatapointType dptype)
 {
     if (_list.ContainsKey(dptype.Id))
     {
         _list.Remove(dptype.Id);
     }
     _list.Add(dptype.Id, dptype);
 }
示例#2
0
        public bool Equals(IDatapointType other)
        {
            var typedother = (DPType <TValue>)other;

            return(typedother != null && Id == other.Id);
        }