using EPInterface.Data; using System.Collections.Generic; 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 // } [ServiceContract] [ServiceKnownType(typeof(List))] public interface IEPDCallback { [OperationContract(IsOneWay = true)] void OnNotify(int channel, EPDEventType type, string message); //信息反馈 [OperationContract(IsOneWay = true)] void OnTrigger(int channel, EPDEventType type, string name, long ticket, string info, object arg); //Endpoint Trigger [OperationContract(IsOneWay = true)] void OnOutput(int channel, EPDEventType type, string message); } }