using EPInterface.Data; using System.ServiceModel; namespace EPInterface { [ServiceContract] public interface IEPDCallback { [OperationContract(IsOneWay = true)] void OnNotify(int channel, EPDEventType type, string message); //信息反馈 [OperationContract(IsOneWay = true)] void OnTrigger(int channel, string name, long ticket); //Endpoint Trigger } }