Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
witiumCloud2
Project
Project
Details
Activity
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
WitCloud
witiumCloud2
Commits
1e328e31
Commit
1e328e31
authored
Sep 16, 2019
by
frank
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加默认绑定数据库名称
parent
b728e116
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sensor-detail.component.ts
src/app/main/sensor-detail/sensor-detail.component.ts
+1
-1
sensor-mgr.component.ts
src/app/main/sensor-mgr/sensor-mgr.component.ts
+1
-0
No files found.
src/app/main/sensor-detail/sensor-detail.component.ts
View file @
1e328e31
...
...
@@ -180,7 +180,7 @@ export class SensorDetailComponent implements OnInit {
getHistoryData
():
void
{
this
.
hisTopicName
=
'Witium/'
+
this
.
type
+
'/'
+
this
.
sn
+
'/'
+
'Data'
;
this
.
hisTopicName
=
this
.
wayData
[
0
].
topicName
;
this
.
api
.
data
.
getHisData
([{
alias
:
this
.
hisDevInfo
.
alias
,
deviceList
:
[{
sn
:
this
.
hisDevInfo
.
SN
,
type
:
this
.
hisDevInfo
.
dType
}],
endTime
:
this
.
selectTime3
?
new
Date
().
getTime
()
:
this
.
req3
.
startTime
,
offset
:
0
-
new
Date
().
getTimezoneOffset
()
/
60
,
...
...
src/app/main/sensor-mgr/sensor-mgr.component.ts
View file @
1e328e31
...
...
@@ -314,6 +314,7 @@ export class SensorMgrComponent implements OnInit {
this
.
req
.
alarmMethodNos
=
[];
this
.
req
.
alarmUsers
=
[];
this
.
req
.
model
=
1
;
this
.
req
.
influxdbDatabaseNo
=
'ITN78344312655581185'
;
this
.
api
.
device
.
updateSensor
([
this
.
req
,
this
.
next
]);
// 单个绑定
}
else
if
(
!
this
.
isMulti
&&
this
.
isBindConV
)
{
...
...
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