App.config
941 Bytes
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="EquipmentType" value=""/>
<!--数据超时时间(设备报警与设备状态共用) 单位秒-->
<add key="DataTimeOut" value="300"/>
<!--每次处理数量-->
<add key="ProcessingDataVolume" value="100"/>
<!--是否为生产环境-->
<add key="IsProductionEnvironment" value="False"/>
<!--客户端唯一标识-->
<add key="ClientId" value=""/>
<!--版本号-->
<add key="Version" value="1"/>
</appSettings>
<connectionStrings>
<!--生产环境数据库-->
<add name="Production" connectionString="Data Source=172.16.29.88;Initial Catalog=IoT;Persist Security Info=True;User ID=sa;Password=1qaz!QAZ;"/>
<!--测试环境数据库-->
<add name="Development" connectionString="Data Source=172.16.29.88;Initial Catalog=IoTUAT;Persist Security Info=True;User ID=sa;Password=1qaz!QAZ;"/>
</connectionStrings>
</configuration>