Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
muChangApp
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
muChangApp
Commits
7631c709
Commit
7631c709
authored
Nov 01, 2019
by
zhuangzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微调
parent
e72170b8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
20 deletions
+18
-20
env-cfg.page.html
src/app/envCtrl/env-cfg/env-cfg.page.html
+16
-16
env-cfg.page.ts
src/app/envCtrl/env-cfg/env-cfg.page.ts
+1
-3
env-light.page.ts
src/app/envCtrl/env-light/env-light.page.ts
+1
-1
No files found.
src/app/envCtrl/env-cfg/env-cfg.page.html
View file @
7631c709
...
...
@@ -26,7 +26,7 @@
<ion-col>
<ion-item
class=
"fanItem"
>
<ion-label
position=
"fixed"
>
偏差温度
</ion-label>
<ion-input
[(
ngModel
)]="
curCowshed
.
propertyConfig
.
toft
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
[(
ngModel
)]="
curCowshed
.
propertyConfig
.
toft
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label
position=
"fixed"
>
℃
</ion-label>
</ion-item>
</ion-col>
...
...
@@ -54,14 +54,14 @@
<ion-col>
<ion-item
class=
"fanItem"
>
<ion-label
position=
"fixed"
>
开启温度
</ion-label>
<ion-input
(
ionFocus
)="
tempHave
F
ouch
()"
[(
ngModel
)]="
fengJi
.
controlConfig
.
TU
"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
(
ionFocus
)="
tempHave
T
ouch
()"
[(
ngModel
)]="
fengJi
.
controlConfig
.
TU
"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label
position=
"fixed"
>
℃
</ion-label>
</ion-item>
</ion-col>
<ion-col>
<ion-item
class=
"fanItem"
>
<ion-label
position=
"fixed"
>
关闭温度
</ion-label>
<ion-input
(
ionFocus
)="
tempHave
F
ouch
()"
[(
ngModel
)]="
fengJi
.
controlConfig
.
TL
"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
(
ionFocus
)="
tempHave
T
ouch
()"
[(
ngModel
)]="
fengJi
.
controlConfig
.
TL
"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label
position=
"fixed"
>
℃
</ion-label>
</ion-item>
</ion-col>
...
...
@@ -88,13 +88,13 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"fanItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
模式名
</ion-label>
<ion-input
[(
ngModel
)]="
cfg
.
name
"
(
ionFocus
)="
tempHave
F
ouch
()"
style=
"width:80px;"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
[(
ngModel
)]="
cfg
.
name
"
(
ionFocus
)="
tempHave
T
ouch
()"
style=
"width:80px;"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
</ion-item>
</ion-col>
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"timepickerItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
间隔时间
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
intverval
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
intverval
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label>
秒
</ion-label>
</ion-item>
</ion-col>
...
...
@@ -103,14 +103,14 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"fanItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
设置温度
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
T
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
T
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label>
℃
</ion-label>
</ion-item>
</ion-col>
<!-- <ion-col size="auto" style="font-size: 13px;">-->
<!-- <ion-item class="fanItem" lines="none">-->
<!-- <ion-label style="width:80px">偏差温度</ion-label>-->
<!-- <ion-input [(ngModel)]="penLinCfg.A" (ionFocus)="tempHave
F
ouch()" style="width:50px;"></ion-input>-->
<!-- <ion-input [(ngModel)]="penLinCfg.A" (ionFocus)="tempHave
T
ouch()" style="width:50px;"></ion-input>-->
<!-- </ion-item>-->
<!-- </ion-col>-->
</ion-row>
...
...
@@ -118,14 +118,14 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"fanItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
A区喷水时间
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
A
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
A
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label>
秒
</ion-label>
</ion-item>
</ion-col>
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"fanItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
B区喷水时间
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
B
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
B
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-label>
秒
</ion-label>
</ion-item>
</ion-col>
...
...
@@ -156,7 +156,7 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
style=
"font-size: 13px;--padding-start: 0px"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
模式名
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
name
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
name
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
ionBlur
)="
updateCowshed
()"
></ion-input>
</ion-item>
</ion-col>
</ion-row>
...
...
@@ -164,14 +164,14 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"timepickerItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
日期范围
</ion-label>
<!--<ion-input placeholder={{cfg.startTime}} (ionFocus)="tempHave
F
ouch()" style="width:50px;"></ion-input>-->
<!--<ion-input placeholder={{cfg.startTime}} (ionFocus)="tempHave
T
ouch()" style="width:50px;"></ion-input>-->
<ion-datetime
[(
ngModel
)]="
cfg
.
startDate
"
displayFormat=
"MM-DD"
class=
"timepicker"
(
blur
)="
updateCowshed
()"
></ion-datetime>
</ion-item>
</ion-col>
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"timepickerItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
~
</ion-label>
<!--<ion-input placeholder={{cfg.endTime}} (ionFocus)="tempHave
F
ouch()" style="width:50px;"></ion-input>-->
<!--<ion-input placeholder={{cfg.endTime}} (ionFocus)="tempHave
T
ouch()" style="width:50px;"></ion-input>-->
<ion-datetime
[(
ngModel
)]="
cfg
.
stopDate
"
displayFormat=
"MM-DD"
class=
"timepicker"
(
blur
)="
updateCowshed
()"
></ion-datetime>
</ion-item>
</ion-col>
...
...
@@ -180,13 +180,13 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
style=
"font-size: 13px;--padding-start: 0px"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
开灯时间
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
on
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
onBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
on
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
onBlur
)="
updateCowshed
()"
></ion-input>
</ion-item>
</ion-col>
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
style=
"font-size: 13px;--padding-start: 0px"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
关灯时间
</ion-label>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
off
"
(
ionFocus
)="
tempHave
F
ouch
()"
(
onBlur
)="
updateCowshed
()"
></ion-input>
<ion-input
style=
"width:50px;"
[(
ngModel
)]="
cfg
.
off
"
(
ionFocus
)="
tempHave
T
ouch
()"
(
onBlur
)="
updateCowshed
()"
></ion-input>
</ion-item>
</ion-col>
</ion-row>
...
...
@@ -212,14 +212,14 @@
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"timepickerItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
日期范围
</ion-label>
<!--<ion-input placeholder={{cfg.startTime}} (ionFocus)="tempHave
F
ouch()" style="width:50px;"></ion-input>-->
<!--<ion-input placeholder={{cfg.startTime}} (ionFocus)="tempHave
T
ouch()" style="width:50px;"></ion-input>-->
<ion-datetime
[(
ngModel
)]="
shuiCao
.
controlConfig
.
startDate
"
displayFormat=
"MM-DD"
class=
"timepicker"
(
change
)="
updateCowshed
()"
></ion-datetime>
</ion-item>
</ion-col>
<ion-col
size=
"auto"
style=
"font-size: 13px;"
>
<ion-item
class=
"timepickerItem"
lines=
"none"
>
<ion-label
style=
"width:80px"
>
~
</ion-label>
<!--<ion-input placeholder={{cfg.endTime}} (ionFocus)="tempHave
F
ouch()" style="width:50px;"></ion-input>-->
<!--<ion-input placeholder={{cfg.endTime}} (ionFocus)="tempHave
T
ouch()" style="width:50px;"></ion-input>-->
<ion-datetime
[(
ngModel
)]="
shuiCao
.
controlConfig
.
stopDate
"
displayFormat=
"MM-DD"
class=
"timepicker"
(
change
)="
updateCowshed
()"
></ion-datetime>
</ion-item>
</ion-col>
...
...
src/app/envCtrl/env-cfg/env-cfg.page.ts
View file @
7631c709
...
...
@@ -227,8 +227,7 @@ export class EnvCfgPage implements OnInit {
await
picker
.
present
();
}
tempHaveFouch
()
{
console
.
log
(
'fanTempHaveFouch'
);
tempHaveTouch
()
{
if
(
this
.
fanMode
.
selecting
===
false
)
{
this
.
fanMode
.
selecting
=
true
;
this
.
openPicker
(
10
,
50
);
...
...
@@ -236,7 +235,6 @@ export class EnvCfgPage implements OnInit {
}
humHaveFouch
()
{
console
.
log
(
'fanTempHaveFouch'
);
if
(
this
.
fanMode
.
selecting
===
false
)
{
this
.
fanMode
.
selecting
=
true
;
this
.
openPicker
(
0
,
100
);
...
...
src/app/envCtrl/env-light/env-light.page.ts
View file @
7631c709
...
...
@@ -54,7 +54,7 @@ export class EnvLightPage implements OnInit {
}
getData
(
time
)
{
this
.
curDate
=
+
new
Date
().
getMonth
();
this
.
curDate
=
+
new
Date
().
getMonth
()
+
1
;
if
(
time
)
{
this
.
load
.
toLoad
(
'加载中...'
,
false
);
}
...
...
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