明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
letian_backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengfanpei
letian_backend
Commits
c4e53ad4
Commit
c4e53ad4
authored
Mar 10, 2025
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
53f2e655
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
local.json
config/local.json
+1
-1
smcCron.js
cron/smcCron.js
+4
-0
No files found.
config/local.json
View file @
c4e53ad4
...
...
@@ -37,7 +37,7 @@
"getDeviceList"
:
false
,
"getAllDevice"
:
false
,
"collectDeviceInfo"
:
false
,
"collectDeviceInfo4"
:
tru
e
,
"collectDeviceInfo4"
:
fals
e
,
"excel"
:
false
,
"plantearlywarning"
:
false
}
...
...
cron/smcCron.js
View file @
c4e53ad4
...
...
@@ -67,6 +67,10 @@ async function collectDeviceInfo1({ deviceHQType }) {
type: '智壤仪温度1 / 智壤仪湿度1 / 土壤氮1 / 土壤磷1 / 土壤钾1 / 智壤仪温度2 / 智壤仪湿度2 / 土壤氮2 / 土壤磷2 / 土壤钾2 / 智壤仪温度3 / 智壤仪湿度3 / 土壤氮3 / 土壤磷3 / 土壤钾3 / 信号强度 / 错误码 / 版本号',
data: '30.2 ℃ | 11.4 % | 9 mg/kg | 10 mg/kg | 24 mg/kg | 30.1 ℃ | 10.9 % | 10 mg/kg | 12 mg/kg | 20 mg/kg | 30.7 ℃ | 0 % | 8 mg/kg | 11 mg/kg | 17 mg/kg | 31 RSSI | 0 | 11.7 Version',
"type": "智壤仪温度1 / 智壤仪湿度1 / 土壤氮1 / 土壤磷1 / 土壤钾1 / 土壤PH1 / 土壤电导率1 / 智壤仪温度2 / 智壤仪湿度2 / 土壤氮2 / 土壤磷2 / 土壤钾2 / 土壤PH2 / 土壤电导率2 / 智壤仪温度3 / 智壤仪湿度3 / 土壤氮3 / 土壤磷3 / 土壤钾3 / 土壤PH3 / 土壤电导率3 / 信号强度 / 错误码 / 版本号",
"data": "19.9 ℃ | 0 % | 0 mg/kg | 0 mg/kg | 0 mg/kg | 8.46 PH | 32 us/cm | 21 ℃ | 0 % | 0 mg/kg | 0 mg/kg | 0 mg/kg | 8.91 PH | 33 us/cm | 21.4 ℃ | 0 % | 0 mg/kg | 0 mg/kg | 0 mg/kg | 9 PH | 35 us/cm | 31 RSSI | 0 | 11.7 Version",
*/
// colInfo是一个硬件设备的一条信息
async
function
handleCJData
(
colInfo
,
deviceHQType
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment