using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using Aitex.Core.Common.DeviceData; using Aitex.Core.UI.ControlDataContext; using Aitex.Core.RT.Event; namespace Aitex.Triton160.Common.Interface { [ServiceContract] [ServiceKnownType(typeof(SignalTowerDataItem))] [ServiceKnownType(typeof(GateValveDataItem))] [ServiceKnownType(typeof(List))] [ServiceKnownType(typeof(AITValveData))] [ServiceKnownType(typeof(AITMfcData))] [ServiceKnownType(typeof(AITHeaterData))] [ServiceKnownType(typeof(AITThermalCoupleData))] [ServiceKnownType(typeof(AITWaterFlowMeterData))] [ServiceKnownType(typeof(AITPressureMeterData))] [ServiceKnownType(typeof(AITRfData))] [ServiceKnownType(typeof(AITThrottleValveData))] [ServiceKnownType(typeof(AITSensorData))] [ServiceKnownType(typeof(AITPumpData))] [ServiceKnownType(typeof(AITSignalTowerData))] [ServiceKnownType(typeof(AITEmoData))] [ServiceKnownType(typeof(AITStatisticsData))] [ServiceKnownType(typeof(AITBoostPumpData))] public interface IQueryDataService { [OperationContract] object GetData(string key); [OperationContract] Dictionary PollData(IEnumerable keys); [OperationContract] object GetConfig(string key); [OperationContract] Dictionary PollConfig(IEnumerable keys); [OperationContract] Dictionary PollHardwareConfig(IEnumerable keys); [OperationContract] string GetConfigFileContent(string fileName); [OperationContract] List QueryDBEvent(string sql); [OperationContract] List GetHistoryRecipeList(DateTime from, DateTime to); [OperationContract] List GetHistoryDataLogList(DateTime from, DateTime to, string recipeName, string lot); [OperationContract] List GetHistoryData(IEnumerable keys, string recipeRunGuid); [OperationContract] List GetHistoryLeakCheck( ); } }