| | |
| | | } |
| | | |
| | | var year = 2024; |
| | | var month = 1; |
| | | this.dateEditStart.DateTime = new DateTime(year, month, 2); |
| | | var month = 7; |
| | | this.dateEditStart.DateTime = new DateTime(year, month, 10); |
| | | |
| | | ShowWaterLevel(false); |
| | | //this.dateEditStart.DateTime = new DateTime(year, month, 1); |
| | |
| | | model_valid_vm.ValueType = hydraulic_model_record.ValueType; |
| | | model_valid_vm.ModelId = hydraulic_model_record.ModelId; |
| | | model_valid_vm.ScadaId = hydraulic_model_record.ScadaId; |
| | | model_valid_vm.ModeValue = hydraulic_model_record.ModeValue; |
| | | model_valid_vm.ModelValue = hydraulic_model_record.ModelValue; |
| | | model_valid_vm.ScadaValue = hydraulic_model_record.ScadaValue; |
| | | model_valid_vm.DifferenceValue = hydraulic_model_record.DifferenceValue; |
| | | model_valid_vm.Round(); |
| | |
| | | var hydraulic_model_records = hydraulic_model_record_group.Where(x => x.Key == time).SelectMany(x => x).ToList(); |
| | | if (hydraulic_model_records == null || !hydraulic_model_records.Any()) |
| | | continue; |
| | | var model_record_dict = hydraulic_model_records.ToDictionary(x => x.ModelId, x => x.ModeValue); |
| | | var model_record_dict = hydraulic_model_records.ToDictionary(x => x.ModelId, x => x.ModelValue); |
| | | |
| | | |
| | | var vm = new ModelScadaValidViewModel(); |