using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aitex.Core.Util; namespace Aitex.Core.RT.Event { public interface ICommonEvent { void WriteEvent(string eventName); void WriteEvent(string eventName, SerializableDictionary dvid); void WriteEvent(string eventName, SerializableDictionary dvid); void WriteEvent(string module, string eventName, params object[] args); void WriteEvent(string module, string eventName, SerializableDictionary dvid, params object[] args); void PostNotificationMessage(string message); void PostPopDialogMessage(EventLevel level, string title, string message); void PostKickoutMessage(string message); void PostSoundMessage(string message); List GetAlarmEvent(); void ClearAlarmEvent(); List QueryDBEvent(string sql); int GetCount(string sql); void Subscribe(EventItem item); void PostInfoLog(string module, string message); void PostWarningLog(string module, string message); void PostAlarmLog(string module, string message); } }