| | |
| | | /// </summary> |
| | | public List<Model.StationStatisticalRecordPacket> Get(long monitorDataSourcesId, long stationId) |
| | | { |
| | | var stationFolder = this.GetStationFolder(monitorDataSourcesId, stationId); |
| | | var fileInfoList = this.GetStationStatisticalRecordPacketFileInfoList(stationFolder); |
| | | var stationFolder = GetStationFolder(monitorDataSourcesId, stationId); |
| | | var fileInfoList = GetStationStatisticalRecordPacketFileInfoList(stationFolder); |
| | | if (fileInfoList == null || fileInfoList.Count() < 1) |
| | | return default; |
| | | |
| | |
| | | /// </summary> |
| | | public Model.StationStatisticalRecordPacket Get(long monitorDataSourcesId, long stationId, int year, int month) |
| | | { |
| | | var valid = this.GetStationStatisticalRecordPacketFile(monitorDataSourcesId, stationId, year, month, out string filePath); |
| | | var valid = GetStationStatisticalRecordPacketFile(monitorDataSourcesId, stationId, year, month, out string filePath); |
| | | if (!valid) |
| | | return default; |
| | | var packet = new Model.StationStatisticalRecordPacket(); |