public GetDataPointRealTimeDataResponse GetDataPointRealTimeData(GetDataPointRealTimeDataRequest request) { GetDataPointRealTimeDataResponse response = null; return(response); }
public GetDataPointRealTimeDataResponse GetDataPointRealTimeData(GetDataPointRealTimeDataRequest request) { GetDataPointRealTimeDataResponse response = new GetDataPointRealTimeDataResponse(); DataPoint dataPoint = this.allDataPoints.Find(p => p.Id == request.DataPointId); if (null != dataPoint) { DataPointRealTimeDataView dataPointRealTimeDataView = new DataPointRealTimeDataView(); dataPointRealTimeDataView.DataPointId = dataPoint.Id; dataPointRealTimeDataView.DataPointRealTimeValue = dataPoint.RealTimeValue = 1; response.DataPiontRealTimeData = dataPointRealTimeDataView; } else { response.ResponseSucceed = false; } return(response); }
public GetDataPointRealTimeDataResponse GetDataPointRealTimeData(Messaging.ModbusService.GetDataPointRealTimeDataRequest request) { GetDataPointRealTimeDataResponse response = new GetDataPointRealTimeDataResponse(); return(response); }