-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardware.qml
73 lines (65 loc) · 1.8 KB
/
hardware.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
Page {
width: parent ? parent.width : 0
height: parent ? parent.height : 0
title: qsTr("Hardware Setup")
ScrollView {
anchors.fill: parent
ColumnLayout {
id: fansGrid
anchors.fill: parent
anchors.margins: 12
HardwareSensor {
title: qsTr("Water Supply Temp Sensor")
sensor: backEnd.sensor1
lblTopMargin: 0
}
HardwareSensor {
title: qsTr("Water Return Temp Sensor")
sensor: backEnd.sensor2
}
HardwareSensor {
title: qsTr("Case Temp Sensor")
sensor: backEnd.sensor3
}
HardwareSensor {
title: qsTr("Aux1 Temp Sensor")
sensor: backEnd.sensor4
}
HardwareSensor {
title: qsTr("Aux2 Temp Sensor")
sensor: backEnd.sensor5
}
Item {
height: 12
Layout.fillWidth: true
}
HardwareFan {
title: qsTr("Fan 1")
fan: backEnd.fan1
}
HardwareFan {
title: qsTr("Fan 2")
fan: backEnd.fan2
}
HardwareFan {
title: qsTr("Fan 3")
fan: backEnd.fan3
}
HardwareFan {
title: qsTr("Fan 4")
fan: backEnd.fan4
}
HardwareFan {
title: qsTr("Fan 5")
fan: backEnd.fan5
}
HardwareFan {
title: qsTr("Fan 6")
fan: backEnd.fan6
}
}
}
}