| | |
| | | } |
| | | if (ana_request.PerHourFlowOut != null) |
| | | { |
| | | entity.TotalFlowOut = string.Join(",", ana_request.PerHourFlowOut); |
| | | if (ana_request.PerHourFlowOut.Count > 24) |
| | | { |
| | | var list = ana_request.PerHourFlowOut.Take(24).ToList(); |
| | | entity.TotalFlowOut = string.Join(",", list); |
| | | } |
| | | else |
| | | { |
| | | entity.TotalFlowOut = string.Join(",", ana_request.PerHourFlowOut); |
| | | } |
| | | |
| | | } |
| | | if (ana_request.MaxReservoirLevel != null) |
| | | { |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> |
| | | <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> |
| | | <UseIISExpress>true</UseIISExpress> |
| | | <Use64BitIISExpress>true</Use64BitIISExpress> |
| | | <IISExpressSSLPort>44318</IISExpressSSLPort> |