示例#1
0
        public Dictionary <String, ONChangeDetectionInfo> ChangeDetectionDifferences()
        {
            Dictionary <String, ONChangeDetectionInfo> lDifferences = new Dictionary <string, ONChangeDetectionInfo>();

            foreach (KeyValuePair <string, ONChangeDetectionInfo> lChangeDetection in ChangeDetectionElements)
            {
                ONChangeDetectionInfo lChange = lChangeDetection.Value;
                if (!lChange.CheckValues())
                {
                    lDifferences.Add(lChange.Key, lChange);
                }
            }
            return(lDifferences);
        }
示例#2
0
 public void AddOIDChangeDetectionItem(string key, string className)
 {
     ONChangeDetectionInfo lCD = new ONChangeDetectionInfo(key, DataTypeEnumerator.OID, className);
     mChangesDetectionList.Add(key.ToLower(), lCD);
 }
示例#3
0
 public void AddDataValuedChangeDetectionItem(string key, DataTypeEnumerator type)
 {
     ONChangeDetectionInfo lCD = new ONChangeDetectionInfo(key, type, "");
     mChangesDetectionList.Add(key.ToLower(), lCD);
 }