1
2
3
4
5
6
7
8
9
10
11
12
13
| #!/bin/sh
| # 获取开关量设备列表
| echo -en "Content-type: text/html; charset=utf-8\n\n"
| #*****************************************************
| source ../bin/env.sh
| db="../bin/db"
|
|
| context=`$db query_ext`
| echo "$context"
|
| #echo "query db gate: $context" > log
|
|
|