using System; using System.Collections.Generic; using Aitex.Core.Util; namespace Aitex.Core.RT.DataCenter { public interface ICommonData { void Subscribe(T instance, string keyPrefix = null) where T : class; void Subscribe(string key, Func getter, SubscriptionAttribute.FLAG flag); void Subscribe(string moduleKey, DataItem dataItem, SubscriptionAttribute.FLAG flag); object Poll(string key); Dictionary PollData(IEnumerable keys); void Traverse(object instance, string keyPrefix); SortedDictionary> GetDBRecorderList(); } }