-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreen.kv
114 lines (81 loc) · 2.43 KB
/
screen.kv
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#: include textlabel.kv
#: import getData services.read
<Screen>:
spacing: 5
BoxLayout:
orientation: 'vertical'
spacing: 5
canvas:
Rectangle:
size: self.width, self.height
pos: self.x, self.y
TextLabel:
text: root.tekst1
TextLabel:
text: root.tekst2
TextLabel:
text: root.tekst3
TextLabel:
text: root.tekst4
TextLabel:
text: root.tekst5
TextLabel:
text: root.tekst6
TextLabel:
text: root.tekst7
BoxLayout:
orientation: 'vertical'
spacing: 5
canvas:
Rectangle:
size: self.width, self.height
pos: self.x, self.y
TextLabel:
id: Lnazwa
text: str(root.L.nazwa)
TextLabel:
id: Lsr_prad_pracy
text: str(root.L.sr_prad_pracy())
TextLabel:
id: Lilosc_mb
text: str(root.L.ilosc_mb)
TextLabel:
id: Lc_faktycznej_pracy
text: str(int(root.L.c_faktycznej_pracy)) + "m (0%)"
TextLabel:
id: Lc_pracy_na_pusto
text: str(int(root.L.c_pracy_na_pusto)) + "m (0%)"
TextLabel:
id: Lc_wyl_maszyny
text: str(int(root.L.c_wyl_maszyny)) + "m (0%)"
TextLabel:
id: Lgodz_rzpoczecia
text: " "
BoxLayout:
orientation: 'vertical'
spacing: 5
canvas:
Rectangle:
size: self.width, self.height
pos: self.x, self.y
TextLabel:
id: Pnazwa
text: str(root.P.nazwa)
TextLabel:
id: Psr_prad_pracy
text: str(root.P.sr_prad_pracy())
TextLabel:
id: Pilosc_mb
text: str(root.P.ilosc_mb)
TextLabel:
id: Pc_faktycznej_pracy
text: str(int(root.P.c_faktycznej_pracy)) + "m (0%)"
TextLabel:
id: Pc_pracy_na_pusto
text: str(int(root.P.c_pracy_na_pusto)) + "m (0%)"
TextLabel:
id: Pc_wyl_maszyny
text: str(int(root.P.c_wyl_maszyny)) + "m (0%)"
TextLabel:
id: Pgodz_rzpoczecia
text: " "