1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <appSettings>
- <add key="APPName" value="大表通讯服务器" />
- <add key="db" value="Data Source=47.105.45.253;Initial Catalog=RuralWaterPipNetWork;Persist Security Info=True;User ID=sa;Password=wwkj@2136828;Pooling=yes;MultipleActiveResultSets=True" />
- <!--心跳间隔时间(毫秒)-->
- <add key="ConnectionTimeOut" value="120000" />
- <!--执行断开静默链接间隔时间毫秒-->
- <add key="ConnectionTimeOutInterval" value="10000" />
- <!--设备类型 1:电池供电;2:市电供电MODBUS;3:电池供电和市电供电MODBUS-->
- <add key="IsHaveModBus" value="1" />
- <!--MODBUS轮询获取抄表数据时间毫秒-->
- <add key="ModBusQueryInterval" value="120000" />
- <!--电池供电判断超时最大下发指令次数-->
- <add key="ParamSendTimeOutNum" value="3" />
- <!--电池供电最大下发指令次数-->
- <add key="ParamSendMaxNum" value="6" />
- <!--电池供电同一设备下发指令每次间隔时间(秒)-->
- <add key="ParamSendInterval" value="5" />
- <!-- 农村供水预付费系统阀门状态同步接口 (http://xxxxx/RuralWater/MeterValveStatusApi.ashx)-->
- <add key="RuralWaterURL" value="" />
- <!-- 农村供水预付费系统阀门状态控制结果通知接口 (http://xxxxx/RuralWater/MeterValveStatusApi.ashx)-->
- <add key="RuralWaterCommdURL" value="" />
- <add key="ClientSettingsProvider.ServiceUri" value="" />
- <!--自动启动标志1:自动启动;0:不自动启动-->
- <add key="AutoStart" value="0" />
- <!--上报IP-->
- <add key="ReportIP" value="" />
- <!--上报端口-->
- <add key="ReportPort" value="123" />
- <!--监听端口-->
- <add key="MonitorPort" value="" />
- <!--是否记录所有日志 1:是,0:否(只记录错误日志)-->
- <add key="IsAllLog" value="1" />
- <!--是否记录所有日志 1:是,0:否(只记录错误日志)-->
- <add key="IsAllLog" value="1" />
- <!-- 上报抄表数据对应的数据库字段(历史记录表MeterAssessment_***) -->
- <add key="DataColumnHis" value="NetCumulativeFlow|净累计流量,PositiveCumulativeFlow|正累计流量,NegativeCumulativeFlow|负累计流量,InstantaneousFlow|瞬时流量,Pressure|压力,BatteryVoltageValue|电池电压,signalQuality|信号质量" />
- <!-- 上报抄表数据对应的数据库字段(水表表MeterAssessmentBase) -->
- <add key="DataColumnMeter" value="NetCumulativeFlow|净累计流量,PositiveCumulativeFlow|正累计流量,NegativeCumulativeFlow|负累计流量,InstantaneousFlow|瞬时流量,Pressure|压力,BatteryVoltageValue|电池电压,signalQuality|信号质量" />
- <!-- 上报抄表数据净累计流量字段 -->
- <add key="NetCumulativeFlow" value="净累计流量" />
- <!-- 极大值 时间范围参数 单位分钟-->
- <add key="BigNumberTimeScopeParam" value="30" />
- </appSettings>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
- </startup>
- <system.web>
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
- <providers>
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
- </providers>
- </membership>
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
- <providers>
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
- </providers>
- </roleManager>
- </system.web>
- </configuration>
|