[APP]
PostOn = 0
PostHost = api.heclouds.com
PostPort = 80
PostPath = datapoints?type=3

;PostDelay=60
;SmDelay=15
ReRegDev = 0
loadsm = select a.SID,a.Kind,a.Type,a.Name,a.Note,b.SubSys,b.Fld from tbSM a left join tbSubSysDetail b on a.SID=b.SID where a.State=0 and a.DataMode=1 and SubSys is not null order by a.Type,a.SID,b.Fld


[SMS]

;市电
256 = tbElec

;257 = 
;258 = 
259 = tbTransf
260 = tbPowSCADA
261 = tbFBJK002G3S
262 = tbHC311A

;263 = 
264 = tbPsmE10c
265 = tbElecDeepSeaDynemo
266 = tbElecUpsEast

;配电
512 = tbOnoff

;UPS
768 = tbUps
769 = tbUps
770 = tbUps
771 = tbUps
772 = tbUps
773 = tbUps
774 = tbUps
775 = tbUps
776 = tbUps
777 = tbUps
778 = tbUps
779 = tbUps
780 = tbUps
781 = tbUps
782 = tbUps
783 = tbUps
784 = tbUps
785 = tbUps
786 = tbUps
787 = tbUps
788 = tbUpsGXE
789 = tbUpsEx
790 = tbUpsEx
791 = tbUpsEx
792 = tbUpsEx
793 = tbUpsEx
794 = tbUpsEx
795 = tbUpsEx
796 = tbUpsEx
797 = tbUpsEx
798 = tbUpsEx
799 = tbUpsEx
800 = tbUpsEx
801 = tbUpsEx

;电池
1024 = tbBattDb100
1025 = tbBattAdu1000

;1026 = 
1027 = tbBattRTVS
1028 = tbBatt100

;温湿度环境
1280 = tbEnvir

;1281 = 
1282 = tbEnvirPm
1283 = tbEnvirNHFS45
1284 = tbEnvirLaserPM

;漏水控制器
1536 = tbLeak
1537 = tbLeak

;普通空调
1792 = tbAirc

;1793 = tbAirc
1794 = tbAircLcpDx
1795 = tbAircRS816

;精密空调
2048 = tbCyberMate
2049 = tbEmerson
2050 = tbCybStulz
2051 = tbCyb
2052 = tbPlc
2053 = tbLinegt
2054 = tbLinegi
2055 = tbCanatal
2056 = tbPex
2057 = tbDME3000
2058 = tbMatrix
2059 = tbStation
2060 = tbTEMaster
2061 = tbCyberHiross
2062 = tbEvoCyberDx
2063 = tbRDA050CXTILI
2064 = tbSunrise
2065 = tbDF34BMS
2066 = tbAircK200
2067 = tbCyberDaiKin
2068 = tbCyberDataCool
2069 = tbCyberHairf
2070 = tbCyberCanatalKN10
2071 = tbCyberUG40
2072 = tbCyberInRowRD
2073 = tbCyberHstx
2074 = tbCyberPcos
2075 = tbCyberSCA
2076 = tbCyberJADC0110
2077 = tbCyberCoolSmart
2078 = tbCyberDelta
2079 = tbCyberEcDx
2080 = tbCyberCSHH

;开关量
2304 = tbDio
2305 = tbDio
2306 = tbDio
2307 = tbDio
2308 = tbDio
2309 = tbDio
2310 = tbDio
2311 = tbDio
2312 = tbDio
2313 = tbMlan7vxpxj
2314 = tbDio
2315 = tbDio
2316 = tbDio
2317 = tbDio

;告警模块
;2560 = 
;2561 = 
;2562 = 
;2563 = 
;2564 = 
;2565 = 
;2566 = 
;2567 = 
;2568 = 
;2569 = 
;摄像机
;3072 = 
;3073 = 
;3074 = 
;3075 = 
;3076 = 
;3077 = 
;3078 = 
;3079 = 
;门禁
3328 = tbCardLog
3329 = tbCardLog
3330 = tbCardLog
3331 = tbCardLog
3332 = tbCXV6V8
3333 = tbCardRS485reader
3334 = tbCard20x0


;子表数据定义
[SMSubTables]

;TbName.n表示包含的子表数量
tbSnmp.n = 1

;TbName.m表示数据上传模式，0-按列名上传数据，1-按键值对上传数据
tbSnmp.m = 1

;TbName.0, TbName.1 ... 表示所包含的子表名称. 
;格式: 
;  TbName.m=0时: <子表名称> <起始列序号> <读取数据个数>. 序号从0起, 各字段以空格分隔. 
;  TbName.m=1时: <子表名称> <键对应列序号> <值对应列序号>. 序号从0起, 各字段以空格分隔. 
;Modbus地址从主表依次递增
tbSnmp.0 = tbSnmpDat 3 4
tbModbus.n = 1
tbModbus.m = 1
tbModbus.0 = tbModbusDat 3 4
tbYdt1363.n = 1
tbYdt1363.m = 1
tbYdt1363.0 = tbYdt1363Dat 3 4
tbNormal.n = 1
tbNormal.m = 1
tbNormal.0 = tbNormalDat 3 4
