12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- 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<EventItem>))]
- [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<string, object> PollData(IEnumerable<string> keys);
- [OperationContract]
- object GetConfig(string key);
- [OperationContract]
- Dictionary<string, object> PollConfig(IEnumerable<string> keys);
- [OperationContract]
- Dictionary<string, object> PollHardwareConfig(IEnumerable<string> keys);
-
- [OperationContract]
- string GetConfigFileContent(string fileName);
- [OperationContract]
- List<EventItem> QueryDBEvent(string sql);
- [OperationContract]
- List<string> GetHistoryRecipeList(DateTime from, DateTime to);
- [OperationContract]
- List<DataLogItem> GetHistoryDataLogList(DateTime from, DateTime to, string recipeName, string lot);
- [OperationContract]
- List<HistoryDataItem> GetHistoryData(IEnumerable<string> keys, string recipeRunGuid);
- [OperationContract]
- List<LeakCheckResultItem> GetHistoryLeakCheck( );
- }
- }
|