1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="reportName" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="782" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" isSummaryNewPage="true" isSummaryWithPageHeaderAndFooter="true"> |
---|
3 | <property name="ireport.scriptlethandling" value="0"/> |
---|
4 | <property name="ireport.encoding" value="UTF-8"/> |
---|
5 | <property name="ireport.zoom" value="1.0"/> |
---|
6 | <property name="ireport.x" value="0"/> |
---|
7 | <property name="ireport.y" value="614"/> |
---|
8 | <import value="java.util.*"/> |
---|
9 | <import value="net.sf.jasperreports.engine.*"/> |
---|
10 | <import value="net.sf.jasperreports.engine.data.*"/> |
---|
11 | <style name="table" isDefault="false"> |
---|
12 | <box> |
---|
13 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
14 | </box> |
---|
15 | </style> |
---|
16 | <style name="table_TH" isDefault="false" mode="Opaque" backcolor="#F0F8FF"> |
---|
17 | <box> |
---|
18 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
19 | </box> |
---|
20 | </style> |
---|
21 | <style name="table_CH" isDefault="false" mode="Opaque" backcolor="#BFE1FF"> |
---|
22 | <box> |
---|
23 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
24 | </box> |
---|
25 | </style> |
---|
26 | <style name="table_TD" isDefault="false" mode="Opaque" backcolor="#FFFFFF"> |
---|
27 | <box> |
---|
28 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
29 | </box> |
---|
30 | </style> |
---|
31 | <style name="table 1" isDefault="false"> |
---|
32 | <box> |
---|
33 | <pen lineWidth="1.0" lineColor="#000000"/> |
---|
34 | </box> |
---|
35 | </style> |
---|
36 | <style name="table 1_TH" isDefault="false" mode="Opaque" backcolor="#F0F8FF"> |
---|
37 | <box> |
---|
38 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
39 | </box> |
---|
40 | </style> |
---|
41 | <style name="table 1_CH" isDefault="false" mode="Opaque" backcolor="#BFE1FF"> |
---|
42 | <box> |
---|
43 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
44 | </box> |
---|
45 | </style> |
---|
46 | <style name="table 1_TD" isDefault="false" mode="Opaque" backcolor="#FFFFFF"> |
---|
47 | <box> |
---|
48 | <pen lineWidth="0.5" lineColor="#000000"/> |
---|
49 | </box> |
---|
50 | </style> |
---|
51 | <style name="Crosstab Data Text" isDefault="false" hAlign="Center"/> |
---|
52 | <parameter name="reportTitle" class="java.lang.String"/> |
---|
53 | <parameter name="currentUser" class="java.lang.String"/> |
---|
54 | <parameter name="logoUrl" class="java.lang.String"/> |
---|
55 | <parameter name="startDateString" class="java.lang.String"/> |
---|
56 | <parameter name="endDateString" class="java.lang.String"/> |
---|
57 | <field name="immediateCalloutPercentage" class="java.math.BigDecimal"/> |
---|
58 | <field name="totalPreventativePercentage" class="java.math.BigDecimal"/> |
---|
59 | <field name="immediateCalloutCount" class="java.lang.Integer"/> |
---|
60 | <field name="totalAssetsOnTasksCount" class="java.lang.Integer"/> |
---|
61 | <field name="totalPreventativeCount" class="java.lang.Integer"/> |
---|
62 | <field name="unscheduledBreakinCount" class="java.lang.Integer"/> |
---|
63 | <field name="preventativeMaintenanceCount" class="java.lang.Integer"/> |
---|
64 | <field name="taskQuery" class="java.lang.String"/> |
---|
65 | <field name="summaryOfCalculationMethod" class="java.lang.String"/> |
---|
66 | <field name="immediateCalloutWorkDone" class="java.util.LinkedHashMap"/> |
---|
67 | <field name="totalPreventativeWorkDone" class="java.util.LinkedHashMap"/> |
---|
68 | <field name="unscheduledBreakinWorkDone" class="java.util.LinkedHashMap"/> |
---|
69 | <field name="preventativeMaintenanceWorkDone" class="java.util.LinkedHashMap"/> |
---|
70 | <field name="totalWorkDone" class="java.util.LinkedHashMap"/> |
---|
71 | <background> |
---|
72 | <band splitType="Stretch"/> |
---|
73 | </background> |
---|
74 | <pageHeader> |
---|
75 | <band height="121" splitType="Stretch"> |
---|
76 | <textField> |
---|
77 | <reportElement key="staticText-1" x="0" y="57" width="340" height="30"/> |
---|
78 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
79 | <font size="20"/> |
---|
80 | </textElement> |
---|
81 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
82 | </textField> |
---|
83 | <image> |
---|
84 | <reportElement x="0" y="0" width="340" height="57"/> |
---|
85 | <imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression> |
---|
86 | </image> |
---|
87 | <textField pattern="dd-MMM-yyyy" isBlankWhenNull="true"> |
---|
88 | <reportElement x="0" y="87" width="340" height="20"/> |
---|
89 | <textElement textAlignment="Center" verticalAlignment="Middle" markup="none"/> |
---|
90 | <textFieldExpression class="java.lang.String"><![CDATA[$P{startDateString}+" to "+$P{endDateString}]]></textFieldExpression> |
---|
91 | </textField> |
---|
92 | </band> |
---|
93 | </pageHeader> |
---|
94 | <columnHeader> |
---|
95 | <band splitType="Stretch"/> |
---|
96 | </columnHeader> |
---|
97 | <detail> |
---|
98 | <band height="394" splitType="Stretch"> |
---|
99 | <textField isBlankWhenNull="true"> |
---|
100 | <reportElement x="0" y="40" width="157" height="20"/> |
---|
101 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
102 | <textFieldExpression class="java.lang.String"><![CDATA["Immediate Callout: "]]></textFieldExpression> |
---|
103 | </textField> |
---|
104 | <textField isBlankWhenNull="true"> |
---|
105 | <reportElement x="0" y="60" width="157" height="20"/> |
---|
106 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
107 | <textFieldExpression class="java.lang.String"><![CDATA["Total Preventative: "]]></textFieldExpression> |
---|
108 | </textField> |
---|
109 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
110 | <reportElement x="157" y="40" width="79" height="20"/> |
---|
111 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
112 | <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutPercentage}.setScale(2, RoundingMode.HALF_UP)]]></textFieldExpression> |
---|
113 | </textField> |
---|
114 | <textField isBlankWhenNull="true"> |
---|
115 | <reportElement x="157" y="60" width="79" height="20"/> |
---|
116 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
117 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativePercentage}.setScale(2, RoundingMode.HALF_UP)]]></textFieldExpression> |
---|
118 | </textField> |
---|
119 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
120 | <reportElement x="236" y="40" width="117" height="20"/> |
---|
121 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
122 | <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutCount}]]></textFieldExpression> |
---|
123 | </textField> |
---|
124 | <textField isBlankWhenNull="true"> |
---|
125 | <reportElement x="236" y="60" width="117" height="20"/> |
---|
126 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
127 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativeCount}]]></textFieldExpression> |
---|
128 | </textField> |
---|
129 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
130 | <reportElement x="0" y="80" width="157" height="20"/> |
---|
131 | <textElement verticalAlignment="Middle"/> |
---|
132 | <textFieldExpression class="java.lang.String"><![CDATA["Total: "]]></textFieldExpression> |
---|
133 | </textField> |
---|
134 | <textField isBlankWhenNull="true"> |
---|
135 | <reportElement x="157" y="80" width="79" height="20"/> |
---|
136 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
137 | </textField> |
---|
138 | <textField isBlankWhenNull="true"> |
---|
139 | <reportElement x="236" y="80" width="117" height="20"/> |
---|
140 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
141 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalAssetsOnTasksCount}]]></textFieldExpression> |
---|
142 | </textField> |
---|
143 | <line> |
---|
144 | <reportElement x="0" y="100" width="353" height="1" forecolor="#999999"/> |
---|
145 | </line> |
---|
146 | <line> |
---|
147 | <reportElement x="0" y="79" width="353" height="1" forecolor="#999999"/> |
---|
148 | </line> |
---|
149 | <line> |
---|
150 | <reportElement x="0" y="60" width="353" height="1" forecolor="#999999"/> |
---|
151 | </line> |
---|
152 | <line> |
---|
153 | <reportElement x="0" y="39" width="353" height="1" forecolor="#999999"/> |
---|
154 | </line> |
---|
155 | <textField isBlankWhenNull="true"> |
---|
156 | <reportElement x="0" y="20" width="157" height="20"/> |
---|
157 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
158 | </textField> |
---|
159 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
160 | <reportElement x="236" y="20" width="117" height="20"/> |
---|
161 | <textElement verticalAlignment="Middle"/> |
---|
162 | </textField> |
---|
163 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
164 | <reportElement x="157" y="20" width="79" height="20"/> |
---|
165 | <textElement verticalAlignment="Middle"/> |
---|
166 | </textField> |
---|
167 | <line> |
---|
168 | <reportElement x="0" y="20" width="353" height="1" forecolor="#999999"/> |
---|
169 | </line> |
---|
170 | <pie3DChart> |
---|
171 | <chart theme="default"> |
---|
172 | <reportElement x="426" y="0" width="356" height="197"/> |
---|
173 | <chartTitle/> |
---|
174 | <chartSubtitle/> |
---|
175 | <chartLegend/> |
---|
176 | </chart> |
---|
177 | <pieDataset> |
---|
178 | <pieSeries> |
---|
179 | <keyExpression><![CDATA["Immediate"]]></keyExpression> |
---|
180 | <valueExpression><![CDATA[$F{immediateCalloutPercentage}]]></valueExpression> |
---|
181 | <labelExpression><![CDATA[$F{immediateCalloutPercentage}.setScale(2, RoundingMode.HALF_UP)]]></labelExpression> |
---|
182 | </pieSeries> |
---|
183 | <pieSeries> |
---|
184 | <keyExpression><![CDATA["Preventative"]]></keyExpression> |
---|
185 | <valueExpression><![CDATA[$F{totalPreventativePercentage}]]></valueExpression> |
---|
186 | <labelExpression><![CDATA[$F{totalPreventativePercentage}.setScale(2, RoundingMode.HALF_UP)]]></labelExpression> |
---|
187 | </pieSeries> |
---|
188 | </pieDataset> |
---|
189 | <pie3DPlot depthFactor="0.1" isCircular="false"> |
---|
190 | <plot> |
---|
191 | <seriesColor seriesOrder="0" color="#FF0000"/> |
---|
192 | <seriesColor seriesOrder="1" color="#00CC00"/> |
---|
193 | <seriesColor seriesOrder="2" color="#FF9900"/> |
---|
194 | </plot> |
---|
195 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
---|
196 | </pie3DPlot> |
---|
197 | </pie3DChart> |
---|
198 | <textField isBlankWhenNull="true"> |
---|
199 | <reportElement x="236" y="257" width="117" height="20"/> |
---|
200 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
201 | <textFieldExpression class="java.lang.String"><![CDATA[$F{preventativeMaintenanceCount}]]></textFieldExpression> |
---|
202 | </textField> |
---|
203 | <textField isBlankWhenNull="true"> |
---|
204 | <reportElement x="236" y="277" width="117" height="20"/> |
---|
205 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
206 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativeCount}]]></textFieldExpression> |
---|
207 | </textField> |
---|
208 | <textField isBlankWhenNull="true"> |
---|
209 | <reportElement x="157" y="277" width="79" height="20"/> |
---|
210 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
211 | </textField> |
---|
212 | <line> |
---|
213 | <reportElement x="0" y="297" width="353" height="1" forecolor="#999999"/> |
---|
214 | </line> |
---|
215 | <textField isBlankWhenNull="true"> |
---|
216 | <reportElement x="0" y="257" width="157" height="20"/> |
---|
217 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
218 | <textFieldExpression class="java.lang.String"><![CDATA["Preventative Maintenance"]]></textFieldExpression> |
---|
219 | </textField> |
---|
220 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
221 | <reportElement x="157" y="237" width="79" height="20"/> |
---|
222 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
223 | </textField> |
---|
224 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
225 | <reportElement x="236" y="217" width="117" height="20"/> |
---|
226 | <textElement verticalAlignment="Middle"/> |
---|
227 | </textField> |
---|
228 | <line> |
---|
229 | <reportElement x="0" y="257" width="353" height="1" forecolor="#999999"/> |
---|
230 | </line> |
---|
231 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
232 | <reportElement x="236" y="197" width="117" height="20"/> |
---|
233 | <textElement verticalAlignment="Middle"/> |
---|
234 | <textFieldExpression class="java.lang.String"><![CDATA["Count (Assets on Tasks)"]]></textFieldExpression> |
---|
235 | </textField> |
---|
236 | <textField isBlankWhenNull="true"> |
---|
237 | <reportElement x="0" y="237" width="157" height="20"/> |
---|
238 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
239 | <textFieldExpression class="java.lang.String"><![CDATA["Unscheduled Breakin: "]]></textFieldExpression> |
---|
240 | </textField> |
---|
241 | <line> |
---|
242 | <reportElement x="0" y="276" width="353" height="1" forecolor="#999999"/> |
---|
243 | </line> |
---|
244 | <pie3DChart> |
---|
245 | <chart> |
---|
246 | <reportElement x="426" y="197" width="356" height="197"/> |
---|
247 | <chartTitle/> |
---|
248 | <chartSubtitle/> |
---|
249 | <chartLegend/> |
---|
250 | </chart> |
---|
251 | <pieDataset> |
---|
252 | <pieSeries> |
---|
253 | <keyExpression><![CDATA["Immediate"]]></keyExpression> |
---|
254 | <valueExpression><![CDATA[$F{immediateCalloutCount}]]></valueExpression> |
---|
255 | <labelExpression><![CDATA[$F{immediateCalloutCount}]]></labelExpression> |
---|
256 | </pieSeries> |
---|
257 | <pieSeries> |
---|
258 | <keyExpression><![CDATA["Preventative Maintenance"]]></keyExpression> |
---|
259 | <valueExpression><![CDATA[$F{preventativeMaintenanceCount}]]></valueExpression> |
---|
260 | <labelExpression><![CDATA[$F{preventativeMaintenanceCount}]]></labelExpression> |
---|
261 | </pieSeries> |
---|
262 | <pieSeries> |
---|
263 | <keyExpression><![CDATA["Unscheduled Breakin"]]></keyExpression> |
---|
264 | <valueExpression><![CDATA[$F{unscheduledBreakinCount}]]></valueExpression> |
---|
265 | <labelExpression><![CDATA[$F{unscheduledBreakinCount}]]></labelExpression> |
---|
266 | </pieSeries> |
---|
267 | </pieDataset> |
---|
268 | <pie3DPlot depthFactor="0.1" isCircular="false"> |
---|
269 | <plot> |
---|
270 | <seriesColor seriesOrder="0" color="#FF0000"/> |
---|
271 | <seriesColor seriesOrder="1" color="#00CC00"/> |
---|
272 | <seriesColor seriesOrder="2" color="#FF9900"/> |
---|
273 | </plot> |
---|
274 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
---|
275 | </pie3DPlot> |
---|
276 | </pie3DChart> |
---|
277 | <textField isBlankWhenNull="true"> |
---|
278 | <reportElement x="0" y="217" width="157" height="20"/> |
---|
279 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
280 | </textField> |
---|
281 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
282 | <reportElement x="236" y="237" width="117" height="20"/> |
---|
283 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
284 | <textFieldExpression class="java.lang.String"><![CDATA[$F{unscheduledBreakinCount}]]></textFieldExpression> |
---|
285 | </textField> |
---|
286 | <line> |
---|
287 | <reportElement x="0" y="217" width="353" height="1" forecolor="#999999"/> |
---|
288 | </line> |
---|
289 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
290 | <reportElement x="157" y="217" width="79" height="20"/> |
---|
291 | <textElement verticalAlignment="Middle"/> |
---|
292 | </textField> |
---|
293 | <line> |
---|
294 | <reportElement x="0" y="236" width="353" height="1" forecolor="#999999"/> |
---|
295 | </line> |
---|
296 | <textField isBlankWhenNull="true"> |
---|
297 | <reportElement x="157" y="257" width="79" height="20"/> |
---|
298 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
299 | </textField> |
---|
300 | <textField isBlankWhenNull="true"> |
---|
301 | <reportElement x="0" y="197" width="157" height="20"/> |
---|
302 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
303 | <textFieldExpression class="java.lang.String"><![CDATA["Description"]]></textFieldExpression> |
---|
304 | </textField> |
---|
305 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
306 | <reportElement x="157" y="197" width="79" height="20"/> |
---|
307 | <textElement verticalAlignment="Middle"/> |
---|
308 | </textField> |
---|
309 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
310 | <reportElement x="0" y="277" width="157" height="20"/> |
---|
311 | <textElement verticalAlignment="Middle"/> |
---|
312 | <textFieldExpression class="java.lang.String"><![CDATA["Total Preventative: "]]></textFieldExpression> |
---|
313 | </textField> |
---|
314 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
315 | <reportElement x="157" y="0" width="79" height="20"/> |
---|
316 | <textElement verticalAlignment="Middle"/> |
---|
317 | <textFieldExpression class="java.lang.String"><![CDATA["Percentage (%)"]]></textFieldExpression> |
---|
318 | </textField> |
---|
319 | <textField isBlankWhenNull="true"> |
---|
320 | <reportElement x="0" y="0" width="157" height="20"/> |
---|
321 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
322 | <textFieldExpression class="java.lang.String"><![CDATA["Description"]]></textFieldExpression> |
---|
323 | </textField> |
---|
324 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
325 | <reportElement x="236" y="0" width="117" height="20"/> |
---|
326 | <textElement verticalAlignment="Middle"/> |
---|
327 | <textFieldExpression class="java.lang.String"><![CDATA["Count (Assets on Tasks)"]]></textFieldExpression> |
---|
328 | </textField> |
---|
329 | </band> |
---|
330 | <band height="394"> |
---|
331 | <pie3DChart> |
---|
332 | <chart> |
---|
333 | <reportElement x="426" y="0" width="356" height="197"/> |
---|
334 | <chartTitle/> |
---|
335 | <chartSubtitle/> |
---|
336 | <chartLegend/> |
---|
337 | </chart> |
---|
338 | <pieDataset> |
---|
339 | <pieSeries> |
---|
340 | <keyExpression><![CDATA["Immediate"]]></keyExpression> |
---|
341 | <valueExpression><![CDATA[$F{immediateCalloutWorkDone}.percentage]]></valueExpression> |
---|
342 | <labelExpression><![CDATA[$F{immediateCalloutWorkDone}.percentage.setScale(2, RoundingMode.HALF_UP)]]></labelExpression> |
---|
343 | </pieSeries> |
---|
344 | <pieSeries> |
---|
345 | <keyExpression><![CDATA["Total Preventative"]]></keyExpression> |
---|
346 | <valueExpression><![CDATA[$F{totalPreventativeWorkDone}.percentage]]></valueExpression> |
---|
347 | <labelExpression><![CDATA[$F{totalPreventativeWorkDone}.percentage.setScale(2, RoundingMode.HALF_UP)]]></labelExpression> |
---|
348 | </pieSeries> |
---|
349 | </pieDataset> |
---|
350 | <pie3DPlot depthFactor="0.1" isCircular="false"> |
---|
351 | <plot> |
---|
352 | <seriesColor seriesOrder="0" color="#FF0000"/> |
---|
353 | <seriesColor seriesOrder="1" color="#00CC00"/> |
---|
354 | <seriesColor seriesOrder="2" color="#FF9900"/> |
---|
355 | </plot> |
---|
356 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
---|
357 | </pie3DPlot> |
---|
358 | </pie3DChart> |
---|
359 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
360 | <reportElement x="157" y="0" width="79" height="20"/> |
---|
361 | <textElement verticalAlignment="Middle"/> |
---|
362 | <textFieldExpression class="java.lang.String"><![CDATA["Percentage (%)"]]></textFieldExpression> |
---|
363 | </textField> |
---|
364 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
365 | <reportElement x="236" y="20" width="117" height="20"/> |
---|
366 | <textElement verticalAlignment="Middle"/> |
---|
367 | </textField> |
---|
368 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
369 | <reportElement x="236" y="0" width="117" height="20"/> |
---|
370 | <textElement verticalAlignment="Middle"/> |
---|
371 | <textFieldExpression class="java.lang.String"><![CDATA["Work Done (hh:mm)"]]></textFieldExpression> |
---|
372 | </textField> |
---|
373 | <line> |
---|
374 | <reportElement x="0" y="100" width="353" height="1" forecolor="#999999"/> |
---|
375 | </line> |
---|
376 | <line> |
---|
377 | <reportElement x="0" y="20" width="353" height="1" forecolor="#999999"/> |
---|
378 | </line> |
---|
379 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
380 | <reportElement x="157" y="40" width="79" height="20"/> |
---|
381 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
382 | <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutWorkDone}.percentage.setScale(2, RoundingMode.HALF_UP)]]></textFieldExpression> |
---|
383 | </textField> |
---|
384 | <textField isBlankWhenNull="true"> |
---|
385 | <reportElement x="157" y="60" width="79" height="20"/> |
---|
386 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
387 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativeWorkDone}.percentage.setScale(2, RoundingMode.HALF_UP)]]></textFieldExpression> |
---|
388 | </textField> |
---|
389 | <textField isBlankWhenNull="true"> |
---|
390 | <reportElement x="0" y="20" width="157" height="20"/> |
---|
391 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
392 | </textField> |
---|
393 | <textField isBlankWhenNull="true"> |
---|
394 | <reportElement x="157" y="80" width="79" height="20"/> |
---|
395 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
396 | </textField> |
---|
397 | <line> |
---|
398 | <reportElement x="0" y="60" width="353" height="1" forecolor="#999999"/> |
---|
399 | </line> |
---|
400 | <textField isBlankWhenNull="true"> |
---|
401 | <reportElement x="236" y="60" width="117" height="20"/> |
---|
402 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
403 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativeWorkDone}.hours+":"+$F{totalPreventativeWorkDone}.minutes]]></textFieldExpression> |
---|
404 | </textField> |
---|
405 | <textField isBlankWhenNull="true"> |
---|
406 | <reportElement x="236" y="80" width="117" height="20"/> |
---|
407 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
408 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalWorkDone}.hours+":"+$F{totalWorkDone}.minutes]]></textFieldExpression> |
---|
409 | </textField> |
---|
410 | <textField isBlankWhenNull="true"> |
---|
411 | <reportElement x="0" y="0" width="157" height="20"/> |
---|
412 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
413 | <textFieldExpression class="java.lang.String"><![CDATA["Description"]]></textFieldExpression> |
---|
414 | </textField> |
---|
415 | <line> |
---|
416 | <reportElement x="0" y="79" width="353" height="1" forecolor="#999999"/> |
---|
417 | </line> |
---|
418 | <textField isBlankWhenNull="true"> |
---|
419 | <reportElement x="0" y="40" width="157" height="20"/> |
---|
420 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
421 | <textFieldExpression class="java.lang.String"><![CDATA["Immediate Callout: "]]></textFieldExpression> |
---|
422 | </textField> |
---|
423 | <textField isBlankWhenNull="true"> |
---|
424 | <reportElement x="0" y="60" width="157" height="20"/> |
---|
425 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
426 | <textFieldExpression class="java.lang.String"><![CDATA["Total Preventative: "]]></textFieldExpression> |
---|
427 | </textField> |
---|
428 | <line> |
---|
429 | <reportElement x="0" y="39" width="353" height="1" forecolor="#999999"/> |
---|
430 | </line> |
---|
431 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
432 | <reportElement x="157" y="20" width="79" height="20"/> |
---|
433 | <textElement verticalAlignment="Middle"/> |
---|
434 | </textField> |
---|
435 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
436 | <reportElement x="0" y="80" width="157" height="20"/> |
---|
437 | <textElement verticalAlignment="Middle"/> |
---|
438 | <textFieldExpression class="java.lang.String"><![CDATA["Total: "]]></textFieldExpression> |
---|
439 | </textField> |
---|
440 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
441 | <reportElement x="236" y="40" width="117" height="20"/> |
---|
442 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
443 | <textFieldExpression class="java.lang.String"><![CDATA[$F{immediateCalloutWorkDone}.hours+":"+$F{immediateCalloutWorkDone}.minutes]]></textFieldExpression> |
---|
444 | </textField> |
---|
445 | <pie3DChart> |
---|
446 | <chart> |
---|
447 | <reportElement x="426" y="197" width="356" height="197"/> |
---|
448 | <chartTitle/> |
---|
449 | <chartSubtitle/> |
---|
450 | <chartLegend/> |
---|
451 | </chart> |
---|
452 | <pieDataset> |
---|
453 | <pieSeries> |
---|
454 | <keyExpression><![CDATA["Immediate"]]></keyExpression> |
---|
455 | <valueExpression><![CDATA[$F{immediateCalloutWorkDone}.total]]></valueExpression> |
---|
456 | <labelExpression><![CDATA[$F{immediateCalloutWorkDone}.hours+":"+$F{immediateCalloutWorkDone}.minutes]]></labelExpression> |
---|
457 | </pieSeries> |
---|
458 | <pieSeries> |
---|
459 | <keyExpression><![CDATA["Preventative Maintenance"]]></keyExpression> |
---|
460 | <valueExpression><![CDATA[$F{preventativeMaintenanceWorkDone}.total]]></valueExpression> |
---|
461 | <labelExpression><![CDATA[$F{preventativeMaintenanceWorkDone}.hours+":"+$F{preventativeMaintenanceWorkDone}.minutes]]></labelExpression> |
---|
462 | </pieSeries> |
---|
463 | <pieSeries> |
---|
464 | <keyExpression><![CDATA["Unscheduled Breakin"]]></keyExpression> |
---|
465 | <valueExpression><![CDATA[$F{unscheduledBreakinWorkDone}.total]]></valueExpression> |
---|
466 | <labelExpression><![CDATA[$F{unscheduledBreakinWorkDone}.hours+":"+$F{unscheduledBreakinWorkDone}.minutes]]></labelExpression> |
---|
467 | </pieSeries> |
---|
468 | </pieDataset> |
---|
469 | <pie3DPlot depthFactor="0.1" isCircular="false"> |
---|
470 | <plot> |
---|
471 | <seriesColor seriesOrder="0" color="#FF0000"/> |
---|
472 | <seriesColor seriesOrder="1" color="#00CC00"/> |
---|
473 | <seriesColor seriesOrder="2" color="#FF9900"/> |
---|
474 | </plot> |
---|
475 | <itemLabel color="#000000" backgroundColor="#FFFFFF"/> |
---|
476 | </pie3DPlot> |
---|
477 | </pie3DChart> |
---|
478 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
479 | <reportElement x="157" y="197" width="79" height="20"/> |
---|
480 | <textElement verticalAlignment="Middle"/> |
---|
481 | </textField> |
---|
482 | <textField isBlankWhenNull="true"> |
---|
483 | <reportElement x="0" y="197" width="157" height="20"/> |
---|
484 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
485 | <textFieldExpression class="java.lang.String"><![CDATA["Description"]]></textFieldExpression> |
---|
486 | </textField> |
---|
487 | <line> |
---|
488 | <reportElement x="0" y="276" width="353" height="1" forecolor="#999999"/> |
---|
489 | </line> |
---|
490 | <textField isBlankWhenNull="true"> |
---|
491 | <reportElement x="0" y="217" width="157" height="20"/> |
---|
492 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
493 | </textField> |
---|
494 | <textField isBlankWhenNull="true"> |
---|
495 | <reportElement x="157" y="257" width="79" height="20"/> |
---|
496 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
497 | </textField> |
---|
498 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
499 | <reportElement x="236" y="197" width="117" height="20"/> |
---|
500 | <textElement verticalAlignment="Middle"/> |
---|
501 | <textFieldExpression class="java.lang.String"><![CDATA["Work Done (hh:mm)"]]></textFieldExpression> |
---|
502 | </textField> |
---|
503 | <textField isBlankWhenNull="true"> |
---|
504 | <reportElement x="157" y="277" width="79" height="20"/> |
---|
505 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
506 | </textField> |
---|
507 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
508 | <reportElement x="157" y="237" width="79" height="20"/> |
---|
509 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
510 | </textField> |
---|
511 | <textField pattern="#,##0.00 %" isBlankWhenNull="true"> |
---|
512 | <reportElement x="157" y="217" width="79" height="20"/> |
---|
513 | <textElement verticalAlignment="Middle"/> |
---|
514 | </textField> |
---|
515 | <line> |
---|
516 | <reportElement x="0" y="257" width="353" height="1" forecolor="#999999"/> |
---|
517 | </line> |
---|
518 | <line> |
---|
519 | <reportElement x="0" y="297" width="353" height="1" forecolor="#999999"/> |
---|
520 | </line> |
---|
521 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
522 | <reportElement x="0" y="277" width="157" height="20"/> |
---|
523 | <textElement verticalAlignment="Middle"/> |
---|
524 | <textFieldExpression class="java.lang.String"><![CDATA["Total Preventative: "]]></textFieldExpression> |
---|
525 | </textField> |
---|
526 | <textField isBlankWhenNull="true"> |
---|
527 | <reportElement x="236" y="277" width="117" height="20"/> |
---|
528 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
529 | <textFieldExpression class="java.lang.String"><![CDATA[$F{totalPreventativeWorkDone}.hours+":"+$F{totalPreventativeWorkDone}.minutes]]></textFieldExpression> |
---|
530 | </textField> |
---|
531 | <line> |
---|
532 | <reportElement x="0" y="236" width="353" height="1" forecolor="#999999"/> |
---|
533 | </line> |
---|
534 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
535 | <reportElement x="236" y="217" width="117" height="20"/> |
---|
536 | <textElement verticalAlignment="Middle"/> |
---|
537 | </textField> |
---|
538 | <textField isBlankWhenNull="true"> |
---|
539 | <reportElement x="0" y="237" width="157" height="20"/> |
---|
540 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
541 | <textFieldExpression class="java.lang.String"><![CDATA["Unscheduled Breakin: "]]></textFieldExpression> |
---|
542 | </textField> |
---|
543 | <textField isBlankWhenNull="true"> |
---|
544 | <reportElement x="0" y="257" width="157" height="20"/> |
---|
545 | <textElement verticalAlignment="Middle" markup="none"/> |
---|
546 | <textFieldExpression class="java.lang.String"><![CDATA["Preventative Maintenance"]]></textFieldExpression> |
---|
547 | </textField> |
---|
548 | <line> |
---|
549 | <reportElement x="0" y="217" width="353" height="1" forecolor="#999999"/> |
---|
550 | </line> |
---|
551 | <textField isBlankWhenNull="true"> |
---|
552 | <reportElement x="236" y="257" width="117" height="20"/> |
---|
553 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
554 | <textFieldExpression class="java.lang.String"><![CDATA[$F{preventativeMaintenanceWorkDone}.hours+":"+$F{preventativeMaintenanceWorkDone}.minutes]]></textFieldExpression> |
---|
555 | </textField> |
---|
556 | <textField pattern="###0.00" isBlankWhenNull="true"> |
---|
557 | <reportElement x="236" y="237" width="117" height="20"/> |
---|
558 | <textElement textAlignment="Center" verticalAlignment="Middle"/> |
---|
559 | <textFieldExpression class="java.lang.String"><![CDATA[$F{unscheduledBreakinWorkDone}.hours+":"+$F{unscheduledBreakinWorkDone}.minutes]]></textFieldExpression> |
---|
560 | </textField> |
---|
561 | </band> |
---|
562 | </detail> |
---|
563 | <columnFooter> |
---|
564 | <band splitType="Stretch"/> |
---|
565 | </columnFooter> |
---|
566 | <pageFooter> |
---|
567 | <band height="40" splitType="Stretch"> |
---|
568 | <textField pattern="dd-MMM-yyyy"> |
---|
569 | <reportElement x="82" y="0" width="200" height="20"/> |
---|
570 | <textElement/> |
---|
571 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
572 | </textField> |
---|
573 | <textField> |
---|
574 | <reportElement x="662" y="20" width="80" height="20"/> |
---|
575 | <textElement textAlignment="Right"/> |
---|
576 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
577 | </textField> |
---|
578 | <textField evaluationTime="Report"> |
---|
579 | <reportElement x="742" y="20" width="40" height="20"/> |
---|
580 | <textElement/> |
---|
581 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
582 | </textField> |
---|
583 | <textField> |
---|
584 | <reportElement x="0" y="0" width="82" height="20"/> |
---|
585 | <textElement markup="none"/> |
---|
586 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
587 | </textField> |
---|
588 | <textField> |
---|
589 | <reportElement x="82" y="20" width="200" height="20"/> |
---|
590 | <textElement markup="none"/> |
---|
591 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
592 | </textField> |
---|
593 | <textField> |
---|
594 | <reportElement x="0" y="20" width="82" height="20"/> |
---|
595 | <textElement markup="none"/> |
---|
596 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
597 | </textField> |
---|
598 | </band> |
---|
599 | </pageFooter> |
---|
600 | <lastPageFooter> |
---|
601 | <band height="40"> |
---|
602 | <textField evaluationTime="Report"> |
---|
603 | <reportElement x="742" y="20" width="40" height="20"/> |
---|
604 | <textElement/> |
---|
605 | <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> |
---|
606 | </textField> |
---|
607 | <textField> |
---|
608 | <reportElement x="662" y="20" width="80" height="20"/> |
---|
609 | <textElement textAlignment="Right"/> |
---|
610 | <textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> |
---|
611 | </textField> |
---|
612 | <textField> |
---|
613 | <reportElement x="0" y="0" width="82" height="20"/> |
---|
614 | <textElement markup="none"/> |
---|
615 | <textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression> |
---|
616 | </textField> |
---|
617 | <textField> |
---|
618 | <reportElement x="0" y="20" width="82" height="20"/> |
---|
619 | <textElement markup="none"/> |
---|
620 | <textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression> |
---|
621 | </textField> |
---|
622 | <textField pattern="dd-MMM-yyyy"> |
---|
623 | <reportElement x="82" y="0" width="200" height="20"/> |
---|
624 | <textElement/> |
---|
625 | <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression> |
---|
626 | </textField> |
---|
627 | <textField> |
---|
628 | <reportElement x="82" y="20" width="200" height="20"/> |
---|
629 | <textElement markup="none"/> |
---|
630 | <textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression> |
---|
631 | </textField> |
---|
632 | </band> |
---|
633 | </lastPageFooter> |
---|
634 | <summary> |
---|
635 | <band height="277"> |
---|
636 | <textField> |
---|
637 | <reportElement key="staticText-1" x="221" y="0" width="340" height="30"/> |
---|
638 | <textElement textAlignment="Center" verticalAlignment="Top" markup="none"> |
---|
639 | <font size="20"/> |
---|
640 | </textElement> |
---|
641 | <textFieldExpression class="java.lang.String"><![CDATA["Summary of Calculation Method"]]></textFieldExpression> |
---|
642 | </textField> |
---|
643 | <textField> |
---|
644 | <reportElement x="0" y="30" width="782" height="245"/> |
---|
645 | <textElement/> |
---|
646 | <textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression> |
---|
647 | </textField> |
---|
648 | </band> |
---|
649 | </summary> |
---|
650 | <noData> |
---|
651 | <band height="85" splitType="Stretch"> |
---|
652 | <textField> |
---|
653 | <reportElement x="0" y="35" width="782" height="50"/> |
---|
654 | <textElement textAlignment="Center" markup="none"> |
---|
655 | <font size="14" isBold="true"/> |
---|
656 | </textElement> |
---|
657 | <textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+ |
---|
658 | "Please run report again."]]></textFieldExpression> |
---|
659 | </textField> |
---|
660 | <textField> |
---|
661 | <reportElement key="staticText-1" x="0" y="0" width="782" height="35"/> |
---|
662 | <textElement textAlignment="Center" markup="none"> |
---|
663 | <font size="20"/> |
---|
664 | </textElement> |
---|
665 | <textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression> |
---|
666 | </textField> |
---|
667 | </band> |
---|
668 | </noData> |
---|
669 | </jasperReport> |
---|