How to use task1 method in wpt

Best JavaScript code snippet using wpt

month2ProgressComponent.js

Source:month2ProgressComponent.js Github

copy

Full Screen

1import React, { Component } from 'react';2import firebase from "../../firebase";3import ProgressBar from 'react-bootstrap/ProgressBar';4import Row from 'react-bootstrap/Row';5import {Button} from "react-bootstrap"6import Col from 'react-bootstrap/Col';7import { Card , CardImg, CardBody, CardTitle} from "react-bootstrap"8import moment from "moment";9import Clock from 'react-live-clock';10import { Link, useHistory } from "react-router-dom"11class Month2ProgressComponent extends Component {12 state = {13 task1: "",14 task2: "",15 task3: "",16 task4: "",17 task5: "",18 task6: "",19 task7: "",20 task8: "",21 task9: "",22 task10: "",23 task11: "",24 task12: "",25 task13: "",26 task14: "",27 task15: "",28 task16: "",29 task17: "",30 task18: "",31 task19: "",32 task20: "",33 task21: "",34 35 testvalue: '',36 userId:""37 }38 39 40 41 render() {42 const { task1 } = this.state;43 const { task2 } = this.state;44 const { task3 } = this.state;45 const { task4 } = this.state;46 const { task5 } = this.state;47 const { task6 } = this.state;48 const { task7 } = this.state;49 const { task8 } = this.state;50 const { task9 } = this.state;51 const { task10 } = this.state;52 const { task11 } = this.state;53 const { task12 } = this.state;54 const { task13 } = this.state;55 const { task14 } = this.state;56 const { task15 } = this.state;57 const { task16 } = this.state;58 const { task17 } = this.state;59 const { task18 } = this.state;60 const { task19 } = this.state;61 const { task20 } = this.state;62 const { task21 } = this.state;63 const { testvalue } = this.props64 65 66 console.log('taskOne', testvalue)67 68 console.log('taskOne,taskTwo,taskThree,taskFour', task1)69 console.log('taskOne,taskTwo,taskThree,taskFour', task2)70 console.log('taskOne,taskTwo,taskThree,taskFour', task3)71 console.log('taskOne,taskTwo,taskThree,taskFour', task4)72 console.log('taskOne,taskTwo,taskThree,taskFour', task5)73 console.log('taskOne,taskTwo,taskThree,taskFour', task6)74 console.log('taskOne,taskTwo,taskThree,taskFour', task7)75 console.log('taskOne,taskTwo,taskThree,taskFour', task8)76 console.log('taskOne,taskTwo,taskThree,taskFour', task9)77 console.log('taskOne,taskTwo,taskThree,taskFour', task10)78 console.log('taskOne,taskTwo,taskThree,taskFour', task11)79 console.log('taskOne,taskTwo,taskThree,taskFour', task12)80 console.log('taskOne,taskTwo,taskThree,taskFour', task13)81 console.log('taskOne,taskTwo,taskThree,taskFour', task14)82 console.log('taskOne,taskTwo,taskThree,taskFour', task15)83 console.log('taskOne,taskTwo,taskThree,taskFour', task16)84 console.log('taskOne,taskTwo,taskThree,taskFour', task17)85 console.log('taskOne,taskTwo,taskThree,taskFour', task18)86 console.log('taskOne,taskTwo,taskThree,taskFour', task19)87 console.log('taskOne,taskTwo,taskThree,taskFour', task20)88 console.log('taskOne,taskTwo,taskThree,taskFour', task21)89 90 return (91 <>92 <div>93 <br />94 <center><h2>Jishu-Hozen Checklist</h2></center> 95 <div>96 <Row style={{97 display: "flex",98 justifyContent: "center",99 alignItems: "left"100 }}>101 102 103 104</Row> 105</div>106 107 <div>108 <Row style={{109 display: "flex",110 justifyContent: "center",111 alignItems: "left"112 }}>113 114 <Clock date={moment().format()} format={'MMMM Do YYYY, dddd'} ticking={true} />115 116</Row> 117</div><br />118<br></br >119 <Card style={{ width: '126rem' }} body outline color="success" className="mx-auto my-2">120 121 <div > 122 <Row >123 <Col xs lg="1"><u><h5>Item</h5></u></Col>124 <Col xs lg="1"><u><h5>Check For</h5></u></Col>125 <Col xs lg="1"><u><h5>Required Standard</h5></u></Col>126 <Col ><u><h5> 1</h5></u></Col>127 <Col ><u><h5> 2</h5></u></Col>128 <Col ><u><h5> 3</h5></u></Col>129 <Col ><u><h5> 4</h5></u></Col>130 <Col ><u><h5> 5</h5></u></Col>131 <Col ><u><h5> 6</h5></u></Col>132 <Col ><u><h5> 7</h5></u></Col>133 <Col ><u><h5> 8</h5></u></Col>134 <Col ><u><h5> 9</h5></u></Col>135 <Col ><u><h5> 10</h5></u></Col>136 <Col ><u><h5> 11</h5></u></Col>137 <Col ><u><h5> 12</h5></u></Col>138 <Col ><u><h5> 13</h5></u></Col>139 <Col ><u><h5> 14</h5></u></Col>140 <Col ><u><h5> 15</h5></u></Col>141 <Col ><u><h5> 16</h5></u></Col>142 <Col ><u><h5> 17</h5></u></Col>143 <Col ><u><h5> 18</h5></u></Col>144 <Col ><u><h5> 19</h5></u></Col>145 <Col ><u><h5> 20</h5></u></Col>146 <Col ><u><h5> 21</h5></u></Col>147 <Col ><u><h5> 22</h5></u></Col>148 <Col ><u><h5> 23</h5></u></Col>149 <Col ><u><h5> 24</h5></u></Col>150 <Col ><u><h5> 25</h5></u></Col>151 <Col ><u><h5> 26</h5></u></Col>152 <Col ><u><h5> 27</h5></u></Col>153 <Col ><u><h5> 28</h5></u></Col>154 <Col ><u><h5> 29</h5></u></Col>155 <Col ><u><h5> 30</h5></u></Col>156 <Col ><u><h5> 31</h5></u></Col>157 </Row>158 </div>159 <br></br>160 <br></br>161 <div>162 163 <Row >164 <Col xs lg="1">1.1 Machine and gantry operator panel:</Col>165 <Col xs lg="1">Cleanliness</Col>166 <Col xs lg="1">Free From Dust and Oil</Col>167 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>168 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>169 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>170 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>171 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>172 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>173 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>174 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>175 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>176 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>177 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>178 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>179 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>180 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>181 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>182 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>183 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>184 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>185 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>186 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>187 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>188 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>189 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>190 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>191 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>192 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>193 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>194 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>195 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>196 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>197 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>198 </Row>199 200 </div>201 <div >202 203 <Row>204 <Col xs lg="1">1.2 Spinning unit of fixture and door:</Col>205 <Col xs lg="1">Cleanliness</Col>206 <Col xs lg="1">Free From Dust and Oil</Col>207 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>208 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>209 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 210 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>211 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>212 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>213 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>214 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>215 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>216 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>217 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>218 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>219 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>220 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>221 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>222 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>223 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>224 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>225 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>226 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>227 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>228 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>229 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>230 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>231 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>232 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>233 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>234 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>235 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>236 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>237 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>238 </div>239 <div >240 241 <Row>242 <Col xs lg="1">1.3 Gantry loader unit:</Col>243 <Col xs lg="1">Cleanliness</Col>244 <Col xs lg="1">Free From Dust and Burr</Col>245 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>246 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>247 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>248 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>249 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>250 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>251 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>252 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>253 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>254 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>255 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>256 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>257 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>258 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>259 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>260 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>261 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>262 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>263 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>264 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>265 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>266 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>267 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>268 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>269 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>270 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>271 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>272 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>273 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>274 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>275 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>276 </div>277 <div>278 <Row>279 <Col xs lg="1">1.4 Fixture and Slide for DFCE I/P and DFCE O/P:</Col>280 <Col xs lg="1">Cleanliness</Col>281 <Col xs lg="1">Free From Dust and Burr</Col>282 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>283 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>284 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>285 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>286 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>287 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>288 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>289 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>290 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>291 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>292 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>293 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>294 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>295 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>296 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>297 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>298 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>299 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>300 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>301 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>302 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>303 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>304 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>305 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>306 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>307 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>308 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>309 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>310 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>311 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>312 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>313 314 </div>315 <div>316 317 <Row>318 <Col xs lg="1">1.5 Robot base, Stacker Unit,Gripper finger:</Col>319 <Col xs lg="1">Tightning </Col>320 <Col xs lg="1">No loose nuts and bolts during running </Col>321 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>322 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>323 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>324 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>325 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>326 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>327 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>328 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>329 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>330 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>331 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>332 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>333 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>334 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>335 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>336 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>337 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>338 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>339 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>340 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>341 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>342 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>343 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>344 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>345 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>346 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>347 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>348 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>349 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>350 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>351 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>352 353 </div>354 <div>355 356 <Row>357 <Col xs lg="1">1.6 Span Check Unit - fixture and slide:</Col>358 <Col xs lg="1">Cleanliness</Col>359 <Col xs lg="1"> No dust and burr</Col>360 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>361 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>362 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>363 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>364 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>365 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>366 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>367 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>368 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>369 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>370 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>371 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>372 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>373 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>374 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>375 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>376 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>377 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>378 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>379 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>380 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>381 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>382 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>383 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>384 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>385 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>386 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>387 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>388 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>389 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>390 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>391 392 </div> <br></br>393 <div>394 395 <Row>396 <Col xs lg="1">2.1 Return cutting oil unit motor and fan cover:</Col>397 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>398 <Col xs lg="1"> No abnormal noise, temperature and vibration</Col>399 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>400 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>401 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>402 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>403 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>404 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>405 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>406 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>407 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>408 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>409 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>410 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>411 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>412 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>413 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>414 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>415 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>416 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>417 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>418 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>419 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>420 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>421 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>422 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>423 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>424 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>425 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>426 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>427 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>428 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>429 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>430 431 </div>432 <div>433 434 <Row>435 <Col xs lg="1">2.2 Lubrication tank:</Col>436 <Col xs lg="1">Oil level</Col>437 <Col xs lg="1"> Within range</Col>438 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>439 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>440 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>441 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>442 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>443 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>444 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>445 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>446 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>447 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>448 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>449 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>450 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>451 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>452 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>453 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>454 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>455 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>456 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>457 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>458 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>459 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>460 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>461 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>462 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>463 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>464 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>465 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>466 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>467 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>468 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>469 470 </div>471 <div>472 473 <Row>474 <Col xs lg="1">2.3 Grease tank:</Col>475 <Col xs lg="1">Grease level</Col>476 <Col xs lg="1">Within range</Col>477 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>478 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>479 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>480 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>481 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>482 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>483 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>484 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>485 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>486 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>487 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>488 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>489 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>490 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>491 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>492 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>493 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>494 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>495 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>496 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>497 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>498 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>499 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>500 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>501 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>502 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>503 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>504 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>505 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>506 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>507 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>508 509 </div>510 <div>511 512 <Row>513 <Col xs lg="1">2.4 Pneumatic system pressure gauge:</Col>514 <Col xs lg="1">Air pressure</Col>515 <Col xs lg="1">4 - 6 Bar</Col>516 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>517 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>518 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>519 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>520 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>521 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>522 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 523 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>524 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>525 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>526 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>527 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>528 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>529 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>530 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>531 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>532 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>533 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>534 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>535 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>536 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>537 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>538 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>539 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>540 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>541 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>542 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>543 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>544 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>545 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>546 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>547 548 </div>549 <div>550 551 <Row>552 <Col xs lg="1">2.5 Machine and gantry panel A/C:</Col>553 <Col xs lg="1">Cleanliness</Col>554 <Col xs lg="1">Free from dust / oil</Col>555 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>556 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>557 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>558 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>559 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>560 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>561 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>562 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>563 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>564 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>565 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>566 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>567 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>568 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>569 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>570 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>571 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>572 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>573 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>574 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>575 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>576 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>577 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>578 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>579 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>580 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>581 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>582 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>583 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>584 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>585 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>586 587 </div>588 589 <div>590 591 <Row>592 <Col xs lg="1">2.6 Machine Control panel A/C:</Col>593 <Col xs lg="1">Temperature</Col>594 <Col xs lg="1">22° to 35°</Col>595 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>596 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>597 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>598 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>599 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>600 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>601 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 602 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>603 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>604 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>605 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>606 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>607 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>608 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>609 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>610 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>611 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>612 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>613 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>614 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>615 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>616 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>617 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>618 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>619 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>620 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>621 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>622 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>623 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>624 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>625 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>626 627 </div>628 <div>629 630 <Row>631 <Col xs lg="1">2.7 Gantry panel A/C:</Col>632 <Col xs lg="1">Temperature</Col>633 <Col xs lg="1">22° to 35°</Col>634 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>635 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>636 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>637 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>638 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>639 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>640 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>641 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>642 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>643 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>644 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>645 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>646 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>647 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>648 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>649 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>650 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>651 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>652 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>653 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>654 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>655 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>656 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>657 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>658 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>659 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>660 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>661 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>662 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>663 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>664 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>665 666 </div>667 <div>668 669 <Row>670 <Col xs lg="1">2.8 Main cutting oil motors and fan cover:</Col>671 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>672 <Col xs lg="1">No Abnormal Noise, Temperature and Vibration</Col>673 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>674 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>675 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>676 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>677 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>678 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>679 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 680 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>681 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>682 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>683 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>684 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>685 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>686 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>687 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>688 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>689 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>690 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>691 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>692 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>693 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>694 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>695 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>696 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>697 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>698 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>699 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>700 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>701 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>702 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>703 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>704 705 </div> <br></br>706 <div>707 708 <Row>709 <Col xs lg="1">3.1 Chiller unit cutting oil:</Col>710 <Col xs lg="1">Temperature</Col>711 <Col xs lg="1">25° to 35°</Col>712 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>713 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>714 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>715 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>716 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>717 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>718 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>719 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>720 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>721 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>722 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>723 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>724 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>725 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>726 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>727 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>728 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>729 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>730 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>731 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>732 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>733 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>734 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>735 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>736 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>737 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>738 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>739 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>740 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>741 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>742 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>743 744 </div>745 <div>746 747 <Row>748 <Col xs lg="1">3.2 Chiller unit spindle oil:</Col>749 <Col xs lg="1">Temperature</Col>750 <Col xs lg="1">25° to 35°</Col>751 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>752 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>753 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>754 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>755 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>756 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>757 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>758 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>759 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>760 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>761 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>762 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>763 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>764 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>765 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>766 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>767 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>768 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>769 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>770 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>771 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>772 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>773 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>774 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>775 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>776 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>777 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>778 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>779 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>780 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>781 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>782 783 </div>784 <div>785 786 <Row>787 <Col xs lg="1">3.3 Chiller Unit - oil tank (Glycol):</Col>788 <Col xs lg="1">Oil level</Col>789 <Col xs lg="1"> Within range</Col>790 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>791 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>792 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>793 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>794 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>795 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>796 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>797 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>798 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>799 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>800 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>801 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>802 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>803 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>804 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>805 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>806 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>807 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>808 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>809 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>810 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>811 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>812 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>813 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>814 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>815 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>816 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>817 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>818 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>819 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>820 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>821 822 </div> <br></br>823 <div>824 825 <Row>826 <Col xs lg="1">4.1 Oil level indicator:</Col>827 <Col xs lg="1">Oil level</Col>828 <Col xs lg="1"> Within range</Col>829 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>830 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>831 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>832 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>833 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>834 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>835 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>836 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>837 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>838 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>839 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>840 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>841 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>842 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>843 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>844 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>845 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>846 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>847 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>848 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>849 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>850 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>851 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>852 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>853 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>854 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>855 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col><Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>856 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>857 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>858 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>859 860 </div>861 <div>862 863 <Row>864 <Col xs lg="1">4.2 Centrifugal unit:</Col>865 <Col xs lg="1"> Abnormal noise, excessive temperature and vibration</Col>866 <Col xs lg="1">No abnormal noise, excessive temperature and vibration</Col>867 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>868 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>869 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>870 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>871 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>872 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>873 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>874 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>875 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>876 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>877 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>878 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>879 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>880 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>881 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>882 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>883 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>884 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>885 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>886 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>887 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>888 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>889 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>890 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>891 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>892 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>893 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>894 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>895 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>896 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>897 898 </div>899 <div>900 901 <Row>902 <Col xs lg="1">4.3 Elbaron:</Col>903 <Col xs lg="1">Functioning</Col>904 <Col xs lg="1">Green signal should be on</Col>905 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>906 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>907 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>908 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>909 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>910 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>911 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>912 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>913 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>914 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>915 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>916 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>917 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>918 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>919 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>920 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>921 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>922 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>923 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>924 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>925 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>926 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>927 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>928 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>929 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>930 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>931 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>932 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>933 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>934 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>935 936 </div>937 <div>938 939 <Row>940 <Col xs lg="1">4.4 Around machine area:</Col> 941 <Col xs lg="1">Oils and air leakages</Col>942 <Col xs lg="1">No leakages</Col>943 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>944 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>945 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>946 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>947 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>948 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>949 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>950 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>951 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>952 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>953 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>954 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>955 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>956 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>957 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>958 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>959 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>960 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>961 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>962 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>963 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>964 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>965 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>966 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>967 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>968 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>969 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>970 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>971 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>972 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>973 974 </div>975 </Card>976 977 978 979 </div>980 </>981 )982 }983}...

Full Screen

Full Screen

monthProgressComponent.js

Source:monthProgressComponent.js Github

copy

Full Screen

1import React, { Component } from 'react';2import firebase from "../../firebase";3import ProgressBar from 'react-bootstrap/ProgressBar';4import Row from 'react-bootstrap/Row';5import {Button} from "react-bootstrap"6import Col from 'react-bootstrap/Col';7import { Card , CardImg, CardBody, CardTitle} from "react-bootstrap"8import moment from "moment";9import Clock from 'react-live-clock';10class MonthProgressComponent extends Component {11 state = {12 task1: "",13 task2: "",14 task3: "",15 task4: "",16 task5: "",17 task6: "",18 task7: "",19 task8: "",20 task9: "",21 task10: "",22 task11: "",23 task12: "",24 task13: "",25 task14: "",26 task15: "",27 task16: "",28 task17: "",29 task18: "",30 task19: "",31 task20: "",32 task21: "",33 testvalue:"",34 35 userId:""36 }37 38 39 render() {40 const { task1 } = this.state;41 const { task2 } = this.state;42 const { task3 } = this.state;43 const { task4 } = this.state;44 const { task5 } = this.state;45 const { task6 } = this.state;46 const { task7 } = this.state;47 const { task8 } = this.state;48 const { task9 } = this.state;49 const { task10 } = this.state;50 const { task11 } = this.state;51 const { task12 } = this.state;52 const { task13 } = this.state;53 const { task14 } = this.state;54 const { task15 } = this.state;55 const { task16 } = this.state;56 const { task17 } = this.state;57 const { task18 } = this.state;58 const { task19 } = this.state;59 const { task20 } = this.state;60 const { task21 } = this.state;61 console.log('taskOne,taskTwo,taskThree,taskFour', task1)62 console.log('taskOne,taskTwo,taskThree,taskFour', task2)63 console.log('taskOne,taskTwo,taskThree,taskFour', task3)64 console.log('taskOne,taskTwo,taskThree,taskFour', task4)65 console.log('taskOne,taskTwo,taskThree,taskFour', task5)66 console.log('taskOne,taskTwo,taskThree,taskFour', task6)67 console.log('taskOne,taskTwo,taskThree,taskFour', task7)68 console.log('taskOne,taskTwo,taskThree,taskFour', task8)69 console.log('taskOne,taskTwo,taskThree,taskFour', task9)70 console.log('taskOne,taskTwo,taskThree,taskFour', task10)71 console.log('taskOne,taskTwo,taskThree,taskFour', task11)72 console.log('taskOne,taskTwo,taskThree,taskFour', task12)73 console.log('taskOne,taskTwo,taskThree,taskFour', task13)74 console.log('taskOne,taskTwo,taskThree,taskFour', task14)75 console.log('taskOne,taskTwo,taskThree,taskFour', task15)76 console.log('taskOne,taskTwo,taskThree,taskFour', task16)77 console.log('taskOne,taskTwo,taskThree,taskFour', task17)78 console.log('taskOne,taskTwo,taskThree,taskFour', task18)79 console.log('taskOne,taskTwo,taskThree,taskFour', task19)80 console.log('taskOne,taskTwo,taskThree,taskFour', task20)81 console.log('taskOne,taskTwo,taskThree,taskFour', task21)82 return (83 <>84 <div>85 <br />86 <center><h2>Jishu-Hozen Checklist</h2></center> 87 <div>88 <Row style={{89 display: "flex",90 justifyContent: "center",91 alignItems: "left"92 }}>93 94 95 96</Row> 97</div>98 99 <div>100 <Row style={{101 display: "flex",102 justifyContent: "center",103 alignItems: "left"104 }}>105 106 <Clock date={moment().format()} format={'MMMM Do YYYY, dddd'} ticking={true} />107 108</Row> 109</div><br />110<br></br >111 <Card style={{ width: '122rem' }} body outline color="success" className="mx-auto my-2">112 113 <div > 114 <Row >115 <Col xs lg="1"><u><h5>Item</h5></u></Col>116 <Col xs lg="1"><u><h5>Check For</h5></u></Col>117 <Col xs lg="1"><u><h5>Required Standard</h5></u></Col>118 <Col ><u><h5> 1</h5></u></Col>119 <Col ><u><h5> 2</h5></u></Col>120 <Col ><u><h5> 3</h5></u></Col>121 <Col ><u><h5> 4</h5></u></Col>122 <Col ><u><h5> 5</h5></u></Col>123 <Col ><u><h5> 6</h5></u></Col>124 <Col ><u><h5> 7</h5></u></Col>125 <Col ><u><h5> 8</h5></u></Col>126 <Col ><u><h5> 9</h5></u></Col>127 <Col ><u><h5> 10</h5></u></Col>128 <Col ><u><h5> 11</h5></u></Col>129 <Col ><u><h5> 12</h5></u></Col>130 <Col ><u><h5> 13</h5></u></Col>131 <Col ><u><h5> 14</h5></u></Col>132 <Col ><u><h5> 15</h5></u></Col>133 <Col ><u><h5> 16</h5></u></Col>134 <Col ><u><h5> 17</h5></u></Col>135 <Col ><u><h5> 18</h5></u></Col>136 <Col ><u><h5> 19</h5></u></Col>137 <Col ><u><h5> 20</h5></u></Col>138 <Col ><u><h5> 21</h5></u></Col>139 <Col ><u><h5> 22</h5></u></Col>140 <Col ><u><h5> 23</h5></u></Col>141 <Col ><u><h5> 24</h5></u></Col>142 <Col ><u><h5> 25</h5></u></Col>143 <Col ><u><h5> 26</h5></u></Col>144 <Col ><u><h5> 27</h5></u></Col>145 <Col ><u><h5> 28</h5></u></Col>146 <Col ><u><h5> 29</h5></u></Col>147 <Col ><u><h5> 30</h5></u></Col>148 </Row>149 </div>150 <br></br>151 <br></br>152 <div>153 154 <Row >155 <Col xs lg="1">1.1 Machine and gantry operator panel:</Col>156 <Col xs lg="1">Cleanliness</Col>157 <Col xs lg="1">Free From Dust and Oil</Col>158 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>159 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>160 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>161 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>162 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>163 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>164 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>165 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>166 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>167 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>168 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>169 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>170 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>171 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>172 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>173 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>174 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>175 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>176 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>177 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>178 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>179 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>180 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>181 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>182 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>183 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>184 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>185 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>186 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>187 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>188 </Row>189 190 </div>191 <div >192 193 <Row>194 <Col xs lg="1">1.2 Spinning unit of fixture and door:</Col>195 <Col xs lg="1">Cleanliness</Col>196 <Col xs lg="1">Free From Dust and Oil</Col>197 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>198 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>199 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 200 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>201 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>202 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>203 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>204 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>205 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>206 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>207 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>208 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>209 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>210 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>211 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>212 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>213 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>214 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>215 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>216 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>217 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>218 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>219 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>220 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>221 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>222 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>223 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>224 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>225 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>226 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>227 </div>228 <div >229 230 <Row>231 <Col xs lg="1">1.3 Gantry loader unit:</Col>232 <Col xs lg="1">Cleanliness</Col>233 <Col xs lg="1">Free From Dust and Burr</Col>234 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>235 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>236 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>237 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>238 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>239 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>240 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>241 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>242 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>243 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>244 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>245 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>246 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>247 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>248 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>249 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>250 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>251 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>252 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>253 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>254 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>255 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>256 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>257 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>258 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>259 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>260 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>261 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>262 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>263 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>264 </div>265 <div>266 <Row>267 <Col xs lg="1">1.4 Fixture and Slide for DFCE I/P and DFCE O/P:</Col>268 <Col xs lg="1">Cleanliness</Col>269 <Col xs lg="1">Free From Dust and Burr</Col>270 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>271 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>272 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>273 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>274 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>275 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>276 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>277 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>278 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>279 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>280 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>281 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>282 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>283 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>284 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>285 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>286 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>287 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>288 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>289 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>290 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>291 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>292 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>293 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>294 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>295 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>296 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>297 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>298 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>299 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>300 301 </div>302 <div>303 304 <Row>305 <Col xs lg="1">1.5 Robot base, Stacker Unit,Gripper finger:</Col>306 <Col xs lg="1">Tightning </Col>307 <Col xs lg="1">No loose nuts and bolts during running </Col>308 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>309 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>310 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>311 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>312 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>313 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>314 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>315 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>316 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>317 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>318 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>319 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>320 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>321 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>322 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>323 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>324 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>325 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>326 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>327 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>328 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>329 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>330 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>331 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>332 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>333 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>334 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>335 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>336 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>337 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>338 339 </div>340 <div>341 342 <Row>343 <Col xs lg="1">1.6 Span Check Unit - fixture and slide:</Col>344 <Col xs lg="1">Cleanliness</Col>345 <Col xs lg="1"> No dust and burr</Col>346 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>347 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>348 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>349 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>350 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>351 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>352 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>353 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>354 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>355 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>356 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>357 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>358 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>359 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>360 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>361 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>362 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>363 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>364 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>365 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>366 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>367 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>368 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>369 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>370 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>371 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>372 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>373 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>374 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>375 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>376 377 </div> <br></br>378 <div>379 380 <Row>381 <Col xs lg="1">2.1 Return cutting oil unit motor and fan cover:</Col>382 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>383 <Col xs lg="1"> No abnormal noise, temperature and vibration</Col>384 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>385 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>386 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>387 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>388 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>389 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>390 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>391 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>392 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>393 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>394 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>395 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>396 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>397 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>398 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>399 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>400 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>401 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>402 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>403 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>404 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>405 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>406 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>407 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>408 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>409 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>410 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>411 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>412 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>413 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>414 415 </div>416 <div>417 418 <Row>419 <Col xs lg="1">2.2 Lubrication tank:</Col>420 <Col xs lg="1">Oil level</Col>421 <Col xs lg="1"> Within range</Col>422 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>423 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>424 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>425 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>426 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>427 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>428 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>429 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>430 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>431 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>432 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>433 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>434 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>435 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>436 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>437 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>438 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>439 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>440 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>441 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>442 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>443 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>444 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>445 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>446 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>447 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>448 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>449 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>450 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>451 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>452 453 </div>454 <div>455 456 <Row>457 <Col xs lg="1">2.3 Grease tank:</Col>458 <Col xs lg="1">Grease level</Col>459 <Col xs lg="1">Within range</Col>460 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>461 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>462 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>463 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>464 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>465 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>466 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>467 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>468 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>469 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>470 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>471 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>472 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>473 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>474 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>475 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>476 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>477 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>478 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>479 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>480 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>481 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>482 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>483 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>484 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>485 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>486 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>487 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>488 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>489 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>490 491 </div>492 <div>493 494 <Row>495 <Col xs lg="1">2.4 Pneumatic system pressure gauge:</Col>496 <Col xs lg="1">Air pressure</Col>497 <Col xs lg="1">4 - 6 Bar</Col>498 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>499 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>500 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>501 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>502 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>503 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>504 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 505 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>506 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>507 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>508 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>509 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>510 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>511 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>512 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>513 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>514 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>515 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>516 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>517 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>518 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>519 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>520 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>521 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>522 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>523 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>524 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>525 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>526 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>527 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>528 529 </div>530 <div>531 532 <Row>533 <Col xs lg="1">2.5 Machine and gantry panel A/C:</Col>534 <Col xs lg="1">Cleanliness</Col>535 <Col xs lg="1">Free from dust / oil</Col>536 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>537 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>538 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>539 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>540 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>541 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>542 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>543 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>544 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>545 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>546 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>547 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>548 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>549 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>550 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>551 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>552 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>553 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>554 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>555 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>556 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>557 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>558 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>559 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>560 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>561 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>562 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>563 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>564 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>565 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>566 567 </div>568 569 <div>570 571 <Row>572 <Col xs lg="1">2.6 Machine Control panel A/C:</Col>573 <Col xs lg="1">Temperature</Col>574 <Col xs lg="1">22° to 35°</Col>575 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>576 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>577 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>578 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>579 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>580 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>581 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 582 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>583 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>584 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>585 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>586 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>587 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>588 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>589 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>590 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>591 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>592 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>593 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>594 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>595 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>596 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>597 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>598 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>599 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>600 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>601 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>602 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>603 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>604 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>605 606 </div>607 <div>608 609 <Row>610 <Col xs lg="1">2.7 Gantry panel A/C:</Col>611 <Col xs lg="1">Temperature</Col>612 <Col xs lg="1">22° to 35°</Col>613 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>614 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>615 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>616 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>617 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>618 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>619 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>620 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>621 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>622 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>623 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>624 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>625 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>626 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>627 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>628 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>629 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>630 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>631 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>632 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>633 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>634 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>635 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>636 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>637 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>638 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>639 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>640 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>641 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>642 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>643 644 </div>645 <div>646 647 <Row>648 <Col xs lg="1">2.8 Main cutting oil motors and fan cover:</Col>649 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>650 <Col xs lg="1">No Abnormal Noise, Temperature and Vibration</Col>651 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>652 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>653 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>654 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>655 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>656 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>657 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> 658 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>659 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>660 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>661 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>662 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>663 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>664 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>665 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>666 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>667 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>668 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>669 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>670 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>671 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>672 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>673 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>674 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>675 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>676 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>677 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>678 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>679 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>680 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>681 682 </div> <br></br>683 <div>684 685 <Row>686 <Col xs lg="1">3.1 Chiller unit cutting oil:</Col>687 <Col xs lg="1">Temperature</Col>688 <Col xs lg="1">25° to 35°</Col>689 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>690 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>691 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>692 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>693 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>694 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>695 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>696 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>697 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>698 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>699 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>700 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>701 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>702 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>703 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>704 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>705 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>706 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>707 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>708 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>709 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>710 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>711 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>712 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>713 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>714 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>715 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>716 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>717 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>718 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>719 720 </div>721 <div>722 723 <Row>724 <Col xs lg="1">3.2 Chiller unit spindle oil:</Col>725 <Col xs lg="1">Temperature</Col>726 <Col xs lg="1">25° to 35°</Col>727 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>728 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>729 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>730 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>731 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>732 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>733 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>734 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>735 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>736 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>737 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>738 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>739 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>740 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>741 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>742 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>743 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>744 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>745 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>746 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>747 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>748 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>749 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>750 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>751 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>752 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>753 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>754 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>755 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>756 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>757 758 </div>759 <div>760 761 <Row>762 <Col xs lg="1">3.3 Chiller Unit - oil tank (Glycol):</Col>763 <Col xs lg="1">Oil level</Col>764 <Col xs lg="1"> Within range</Col>765 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>766 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>767 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>768 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>769 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>770 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>771 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>772 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>773 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>774 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>775 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>776 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>777 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>778 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>779 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>780 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>781 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>782 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>783 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>784 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>785 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>786 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>787 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>788 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>789 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>790 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>791 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>792 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>793 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>794 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>795 796 </div> <br></br>797 <div>798 799 <Row>800 <Col xs lg="1">4.1 Oil level indicator:</Col>801 <Col xs lg="1">Oil level</Col>802 <Col xs lg="1"> Within range</Col>803 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>804 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>805 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>806 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>807 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>808 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>809 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>810 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>811 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>812 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>813 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>814 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>815 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>816 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>817 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>818 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>819 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>820 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>821 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>822 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>823 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>824 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>825 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>826 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>827 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>828 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col><Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>829 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>830 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>831 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>832 833 </div>834 <div>835 836 <Row>837 <Col xs lg="1">4.2 Centrifugal unit:</Col>838 <Col xs lg="1"> Abnormal noise, excessive temperature and vibration</Col>839 <Col xs lg="1">No abnormal noise, excessive temperature and vibration</Col>840 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>841 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>842 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>843 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>844 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>845 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>846 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>847 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>848 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>849 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>850 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>851 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>852 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>853 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>854 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>855 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>856 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>857 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>858 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>859 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>860 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>861 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>862 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>863 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>864 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>865 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>866 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>867 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>868 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>869 870 </div>871 <div>872 873 <Row>874 <Col xs lg="1">4.3 Elbaron:</Col>875 <Col xs lg="1">Functioning</Col>876 <Col xs lg="1">Green signal should be on</Col>877 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>878 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>879 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>880 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>881 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>882 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>883 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>884 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>885 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>886 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>887 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>888 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>889 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>890 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>891 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>892 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>893 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>894 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>895 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>896 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>897 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>898 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>899 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>900 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>901 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>902 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>903 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>904 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>905 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>906 907 </div>908 <div>909 910 <Row>911 <Col xs lg="1">4.4 Around machine area:</Col> 912 <Col xs lg="1">Oils and air leakages</Col>913 <Col xs lg="1">No leakages</Col>914 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>915 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>916 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>917 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>918 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>919 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>920 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>921 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>922 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>923 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>924 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>925 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>926 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>927 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>928 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>929 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>930 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>931 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>932 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>933 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>934 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>935 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>936 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>937 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>938 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>939 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>940 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>941 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col>942 <Col><ProgressBar label={task1.status} variant="success" style={{width: "15px"}} now={task1} /></Col> </Row>943 944 </div>945 </Card>946 947 948 949 </div>950 </>951 )952 }953}...

Full Screen

Full Screen

month0ProgressComponent.js

Source:month0ProgressComponent.js Github

copy

Full Screen

1import React, { Component } from 'react';2import firebase from "../../firebase";3import ProgressBar from 'react-bootstrap/ProgressBar';4import Row from 'react-bootstrap/Row';5import {Button} from "react-bootstrap"6import Col from 'react-bootstrap/Col';7import { Card , CardImg, CardBody, CardTitle} from "react-bootstrap"8import moment from "moment";9import Clock from 'react-live-clock';10class Month0ProgressComponent extends Component {11 state = {12 task1: "",13 task2: "",14 task3: "",15 task4: "",16 task5: "",17 task6: "",18 task7: "",19 task8: "",20 task9: "",21 task10: "",22 task11: "",23 task12: "",24 task13: "",25 task14: "",26 task15: "",27 task16: "",28 task17: "",29 task18: "",30 task19: "",31 task20: "",32 task21: "",33 34 data: '',35 userId:""36 }37 38 39 render() {40 const { task1 } = this.state;41 const { task2 } = this.state;42 const { task3 } = this.state;43 const { task4 } = this.state;44 const { task5 } = this.state;45 const { task6 } = this.state;46 const { task7 } = this.state;47 const { task8 } = this.state;48 const { task9 } = this.state;49 const { task10 } = this.state;50 const { task11 } = this.state;51 const { task12 } = this.state;52 const { task13 } = this.state;53 const { task14 } = this.state;54 const { task15 } = this.state;55 const { task16 } = this.state;56 const { task17 } = this.state;57 const { task18 } = this.state;58 const { task19 } = this.state;59 const { task20 } = this.state;60 const { task21 } = this.state;61 62 63 console.log('taskOne,taskTwo,taskThree,taskFour', task1)64 console.log('taskOne,taskTwo,taskThree,taskFour', task2)65 console.log('taskOne,taskTwo,taskThree,taskFour', task3)66 console.log('taskOne,taskTwo,taskThree,taskFour', task4)67 console.log('taskOne,taskTwo,taskThree,taskFour', task5)68 console.log('taskOne,taskTwo,taskThree,taskFour', task6)69 console.log('taskOne,taskTwo,taskThree,taskFour', task7)70 console.log('taskOne,taskTwo,taskThree,taskFour', task8)71 console.log('taskOne,taskTwo,taskThree,taskFour', task9)72 console.log('taskOne,taskTwo,taskThree,taskFour', task10)73 console.log('taskOne,taskTwo,taskThree,taskFour', task11)74 console.log('taskOne,taskTwo,taskThree,taskFour', task12)75 console.log('taskOne,taskTwo,taskThree,taskFour', task13)76 console.log('taskOne,taskTwo,taskThree,taskFour', task14)77 console.log('taskOne,taskTwo,taskThree,taskFour', task15)78 console.log('taskOne,taskTwo,taskThree,taskFour', task16)79 console.log('taskOne,taskTwo,taskThree,taskFour', task17)80 console.log('taskOne,taskTwo,taskThree,taskFour', task18)81 console.log('taskOne,taskTwo,taskThree,taskFour', task19)82 console.log('taskOne,taskTwo,taskThree,taskFour', task20)83 console.log('taskOne,taskTwo,taskThree,taskFour', task21)84 return (85 <>86 <div>87 <br />88 <center><h2>Jishu-Hozen Checklist</h2></center> 89 <div>90 <Row style={{91 display: "flex",92 justifyContent: "center",93 alignItems: "left"94 }}>95 96 97 98</Row> 99</div>100 101 <div>102 <Row style={{103 display: "flex",104 justifyContent: "center",105 alignItems: "left"106 }}>107 108 <Clock date={moment().format()} format={'MMMM Do YYYY, dddd'} ticking={true} />109 110</Row> 111</div><br />112<br></br >113 <Card style={{ width: '112rem' }} body outline color="success" className="mx-auto my-2">114 115 <div > 116 <Row >117 <Col xs lg="1"><u><h5>Item</h5></u></Col>118 <Col xs lg="1"><u><h5>Check For</h5></u></Col>119 <Col xs lg="1"><u><h5>Required Standard</h5></u></Col>120 <Col ><u><h5> 1</h5></u></Col>121 <Col ><u><h5> 2</h5></u></Col>122 <Col ><u><h5> 3</h5></u></Col>123 <Col ><u><h5> 4</h5></u></Col>124 <Col ><u><h5> 5</h5></u></Col>125 <Col ><u><h5> 6</h5></u></Col>126 <Col ><u><h5> 7</h5></u></Col>127 <Col ><u><h5> 8</h5></u></Col>128 <Col ><u><h5> 9</h5></u></Col>129 <Col ><u><h5> 10</h5></u></Col>130 <Col ><u><h5> 11</h5></u></Col>131 <Col ><u><h5> 12</h5></u></Col>132 <Col ><u><h5> 13</h5></u></Col>133 <Col ><u><h5> 14</h5></u></Col>134 <Col ><u><h5> 15</h5></u></Col>135 <Col ><u><h5> 16</h5></u></Col>136 <Col ><u><h5> 17</h5></u></Col>137 <Col ><u><h5> 18</h5></u></Col>138 <Col ><u><h5> 19</h5></u></Col>139 <Col ><u><h5> 20</h5></u></Col>140 <Col ><u><h5> 21</h5></u></Col>141 <Col ><u><h5> 22</h5></u></Col>142 <Col ><u><h5> 23</h5></u></Col>143 <Col ><u><h5> 24</h5></u></Col>144 <Col ><u><h5> 25</h5></u></Col>145 <Col ><u><h5> 26</h5></u></Col>146 <Col ><u><h5> 27</h5></u></Col>147 <Col ><u><h5> 28</h5></u></Col>148 </Row>149 </div>150 <br></br>151 152 <div>153 154 <Row >155 <Col xs lg="1">1.1 Machine and gantry operator panel:</Col>156 <Col xs lg="1">Cleanliness</Col>157 <Col xs lg="1">Free From Dust and Oil</Col>158 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>159 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>160 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>161 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>162 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>163 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>164 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>165 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>166 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>167 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>168 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>169 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>170 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>171 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>172 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>173 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>174 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>175 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>176 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>177 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>178 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>179 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>180 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>181 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>182 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>183 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>184 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>185 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>186 </Row>187 188 </div>189 <div >190 191 <Row>192 <Col xs lg="1">1.2 Spinning unit of fixture and door:</Col>193 <Col xs lg="1">Cleanliness</Col>194 <Col xs lg="1">Free From Dust and Oil</Col>195 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>196 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>197 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> 198 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>199 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>200 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>201 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>202 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>203 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>204 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>205 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>206 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>207 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>208 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>209 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>210 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>211 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>212 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>213 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>214 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>215 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>216 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>217 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>218 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>219 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>220 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>221 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>222 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>223 </div>224 <div >225 226 <Row>227 <Col xs lg="1">1.3 Gantry loader unit:</Col>228 <Col xs lg="1">Cleanliness</Col>229 <Col xs lg="1">Free From Dust and Burr</Col>230 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>231 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>232 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>233 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>234 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>235 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>236 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>237 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>238 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>239 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>240 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>241 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>242 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>243 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>244 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>245 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>246 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>247 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>248 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>249 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>250 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>251 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>252 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>253 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>254 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>255 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>256 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>257 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>258 </div>259 <div>260 <Row>261 <Col xs lg="1">1.4 Fixture and Slide for DFCE I/P and DFCE O/P:</Col>262 <Col xs lg="1">Cleanliness</Col>263 <Col xs lg="1">Free From Dust and Burr</Col>264 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>265 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>266 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>267 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>268 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>269 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>270 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>271 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>272 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>273 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>274 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>275 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>276 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>277 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>278 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>279 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>280 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>281 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>282 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>283 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>284 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>285 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>286 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>287 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>288 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>289 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>290 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>291 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>292 293 </div>294 <div>295 296 <Row>297 <Col xs lg="1">1.5 Robot base, Stacker Unit,Gripper finger:</Col>298 <Col xs lg="1">Tightning </Col>299 <Col xs lg="1">No loose nuts and bolts during running </Col>300 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>301 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>302 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>303 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>304 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>305 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>306 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>307 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>308 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>309 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>310 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>311 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>312 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>313 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>314 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>315 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>316 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>317 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>318 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>319 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>320 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>321 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>322 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>323 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>324 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>325 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>326 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>327 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>328 329 </div>330 <div>331 332 <Row>333 <Col xs lg="1">1.6 Span Check Unit - fixture and slide:</Col>334 <Col xs lg="1">Cleanliness</Col>335 <Col xs lg="1"> No dust and burr</Col>336 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>337 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>338 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>339 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>340 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>341 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>342 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>343 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>344 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>345 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>346 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>347 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>348 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>349 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>350 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>351 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>352 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>353 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>354 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>355 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>356 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>357 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>358 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>359 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>360 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>361 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>362 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>363 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>364 365 </div> <br></br>366 <div>367 368 <Row>369 <Col xs lg="1">2.1 Return cutting oil unit motor and fan cover:</Col>370 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>371 <Col xs lg="1"> No abnormal noise, temperature and vibration</Col>372 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>373 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>374 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>375 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>376 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>377 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>378 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>379 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>380 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>381 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>382 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>383 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>384 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>385 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>386 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>387 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>388 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>389 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>390 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>391 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>392 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>393 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>394 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>395 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>396 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>397 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>398 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>399 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>400 401 </div>402 <div>403 404 <Row>405 <Col xs lg="1">2.2 Lubrication tank:</Col>406 <Col xs lg="1">Oil level</Col>407 <Col xs lg="1"> Within range</Col>408 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>409 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>410 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>411 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>412 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>413 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>414 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>415 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>416 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>417 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>418 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>419 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>420 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>421 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>422 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>423 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>424 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>425 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>426 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>427 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>428 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>429 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>430 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>431 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>432 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>433 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>434 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>435 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>436 437 </div>438 <div>439 440 <Row>441 <Col xs lg="1">2.3 Grease tank:</Col>442 <Col xs lg="1">Grease level</Col>443 <Col xs lg="1">Within range</Col>444 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>445 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>446 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>447 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>448 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>449 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>450 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>451 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>452 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>453 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>454 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>455 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>456 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>457 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>458 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>459 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>460 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>461 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>462 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>463 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>464 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>465 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>466 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>467 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>468 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>469 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>470 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>471 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>472 473 </div>474 <div>475 476 <Row>477 <Col xs lg="1">2.4 Pneumatic system pressure gauge:</Col>478 <Col xs lg="1">Air pressure</Col>479 <Col xs lg="1">4 - 6 Bar</Col>480 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>481 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>482 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>483 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>484 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> 485 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>486 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>487 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>488 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>489 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>490 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>491 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>492 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>493 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>494 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>495 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>496 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>497 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>498 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>499 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>500 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>501 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>502 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>503 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>504 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>505 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>506 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>507 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>508 509 </div>510 <div>511 512 <Row>513 <Col xs lg="1">2.5 Machine and gantry panel A/C:</Col>514 <Col xs lg="1">Cleanliness</Col>515 <Col xs lg="1">Free from dust / oil</Col>516 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>517 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>518 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>519 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>520 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>521 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>522 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>523 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>524 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>525 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>526 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>527 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>528 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>529 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>530 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>531 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>532 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>533 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>534 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>535 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>536 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>537 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>538 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>539 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>540 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>541 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>542 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>543 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>544 545 </div>546 547 <div>548 549 <Row>550 <Col xs lg="1">2.6 Machine Control panel A/C:</Col>551 <Col xs lg="1">Temperature</Col>552 <Col xs lg="1">22° to 35°</Col>553 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>554 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>555 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>556 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>557 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>558 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>559 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>560 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>561 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>562 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>563 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>564 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>565 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>566 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>567 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>568 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>569 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>570 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>571 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>572 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>573 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>574 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>575 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>576 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>577 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>578 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>579 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>580 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>581 582 </div>583 <div>584 585 <Row>586 <Col xs lg="1">2.7 Gantry panel A/C:</Col>587 <Col xs lg="1">Temperature</Col>588 <Col xs lg="1">22° to 35°</Col>589 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>590 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>591 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>592 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>593 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>594 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>595 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>596 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>597 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>598 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>599 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>600 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>601 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>602 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>603 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>604 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>605 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>606 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>607 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>608 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>609 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>610 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>611 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>612 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>613 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>614 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>615 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>616 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>617 618 </div>619 <div>620 621 <Row>622 <Col xs lg="1">2.8 Main cutting oil motors and fan cover:</Col>623 <Col xs lg="1">Abnormal noise, temperature and vibration</Col>624 <Col xs lg="1">No Abnormal Noise, Temperature and Vibration</Col>625 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>626 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>627 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>628 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>629 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>630 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>631 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> 632 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>633 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>634 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>635 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>636 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>637 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>638 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>639 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>640 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>641 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>642 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>643 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>644 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>645 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>646 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>647 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>648 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>649 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>650 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>651 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>652 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>653 654 </div> <br></br>655 <div>656 657 <Row>658 <Col xs lg="1">3.1 Chiller unit cutting oil:</Col>659 <Col xs lg="1">Temperature</Col>660 <Col xs lg="1">25° to 35°</Col>661 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>662 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>663 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>664 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>665 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>666 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>667 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>668 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>669 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>670 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>671 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>672 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>673 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>674 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>675 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>676 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>677 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>678 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>679 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>680 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>681 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>682 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>683 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>684 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>685 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>686 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>687 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>688 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>689 690 </div>691 <div>692 693 <Row>694 <Col xs lg="1">3.2 Chiller unit spindle oil:</Col>695 <Col xs lg="1">Temperature</Col>696 <Col xs lg="1">25° to 35°</Col>697 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>698 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>699 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>700 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>701 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>702 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>703 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>704 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>705 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>706 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>707 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>708 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>709 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>710 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>711 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>712 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>713 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>714 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>715 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>716 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>717 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>718 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>719 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>720 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>721 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>722 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>723 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>724 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>725 726 </div>727 <div>728 729 <Row>730 <Col xs lg="1">3.3 Chiller Unit - oil tank (Glycol):</Col>731 <Col xs lg="1">Oil level</Col>732 <Col xs lg="1"> Within range</Col>733 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>734 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>735 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>736 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>737 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>738 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>739 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>740 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>741 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>742 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>743 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>744 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>745 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>746 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>747 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>748 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>749 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>750 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>751 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>752 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>753 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>754 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>755 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>756 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>757 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>758 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>759 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>760 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>761 762 </div> <br></br>763 <div>764 765 <Row>766 <Col xs lg="1">4.1 Oil level indicator:</Col>767 <Col xs lg="1">Oil level</Col>768 <Col xs lg="1"> Within range</Col>769 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>770 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>771 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>772 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>773 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>774 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>775 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>776 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>777 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>778 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>779 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>780 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>781 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>782 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>783 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>784 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>785 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>786 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>787 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>788 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>789 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>790 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>791 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>792 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col><Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>793 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>794 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>795 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>796 797 </div>798 <div>799 800 <Row>801 <Col xs lg="1">4.2 Centrifugal unit:</Col>802 <Col xs lg="1"> Abnormal noise, excessive temperature and vibration</Col>803 <Col xs lg="1">No abnormal noise, excessive temperature and vibration</Col>804 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>805 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>806 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>807 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>808 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>809 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>810 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>811 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>812 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>813 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>814 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>815 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>816 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>817 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>818 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>819 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>820 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>821 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>822 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>823 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>824 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>825 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>826 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>827 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>828 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>829 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>830 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>831 832 </div>833 <div>834 835 <Row>836 <Col xs lg="1">4.3 Elbaron:</Col>837 <Col xs lg="1">Functioning</Col>838 <Col xs lg="1">Green signal should be on</Col>839 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>840 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>841 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>842 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>843 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>844 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>845 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>846 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>847 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>848 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>849 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>850 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>851 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>852 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>853 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>854 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>855 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>856 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>857 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>858 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>859 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>860 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>861 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>862 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>863 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>864 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>865 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>866 867 </div>868 <div>869 870 <Row>871 <Col xs lg="1">4.4 Around machine area:</Col> 872 <Col xs lg="1">Oils and air leakages</Col>873 <Col xs lg="1">No leakages</Col>874 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>875 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>876 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>877 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>878 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>879 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>880 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>881 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>882 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>883 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>884 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>885 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>886 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>887 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>888 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>889 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>890 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>891 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>892 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>893 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>894 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>895 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>896 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>897 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>898 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>899 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col>900 <Col><ProgressBar label={task1.status} variant="success" style={{width: "10px"}} now={task1} /></Col> </Row>901 902 </div>903 </Card>904 905 906 907 </div>908 </>909 )910 }911}...

Full Screen

Full Screen

test_task.py

Source:test_task.py Github

copy

Full Screen

1# -*- coding: utf-8 -*-2from __future__ import absolute_import3import json4import unittest5import threading6import time7from collections import defaultdict8from functools import partial9from ..services.exception import serialize_dashboard_exception10from ..tools import NotificationQueue, TaskManager, TaskExecutor11class MyTask(object):12 class CallbackExecutor(TaskExecutor):13 def __init__(self, fail, progress):14 super(MyTask.CallbackExecutor, self).__init__()15 self.fail = fail16 self.progress = progress17 def init(self, task):18 super(MyTask.CallbackExecutor, self).init(task)19 args = [self.callback]20 args.extend(self.task.fn_args)21 self.task.fn_args = args22 def callback(self, result):23 self.task.set_progress(self.progress)24 if self.fail:25 self.finish(None, Exception("Task Unexpected Exception"))26 else:27 self.finish(result, None)28 # pylint: disable=too-many-arguments29 def __init__(self, op_seconds, wait=False, fail=False, progress=50,30 is_async=False, handle_ex=False):31 self.op_seconds = op_seconds32 self.wait = wait33 self.fail = fail34 self.progress = progress35 self.is_async = is_async36 self.handle_ex = handle_ex37 self._event = threading.Event()38 def run(self, ns, timeout=None):39 args = ['dummy arg']40 kwargs = {'dummy': 'arg'}41 h_ex = partial(serialize_dashboard_exception,42 include_http_status=True) if self.handle_ex else None43 if not self.is_async:44 task = TaskManager.run(45 ns, self.metadata(), self.task_op, args, kwargs,46 exception_handler=h_ex)47 else:48 task = TaskManager.run(49 ns, self.metadata(), self.task_async_op, args, kwargs,50 executor=MyTask.CallbackExecutor(self.fail, self.progress),51 exception_handler=h_ex)52 return task.wait(timeout)53 def task_op(self, *args, **kwargs):54 time.sleep(self.op_seconds)55 TaskManager.current_task().set_progress(self.progress)56 if self.fail:57 raise Exception("Task Unexpected Exception")58 if self.wait:59 self._event.wait()60 return {'args': list(args), 'kwargs': kwargs}61 def task_async_op(self, callback, *args, **kwargs):62 if self.fail == "premature":63 raise Exception("Task Unexpected Exception")64 def _run_bg():65 time.sleep(self.op_seconds)66 if self.wait:67 self._event.wait()68 callback({'args': list(args), 'kwargs': kwargs})69 worker = threading.Thread(target=_run_bg)70 worker.start()71 def resume(self):72 self._event.set()73 def metadata(self):74 return {75 'op_seconds': self.op_seconds,76 'wait': self.wait,77 'fail': self.fail,78 'progress': self.progress,79 'is_async': self.is_async,80 'handle_ex': self.handle_ex81 }82class TaskTest(unittest.TestCase):83 TASK_FINISHED_MAP = defaultdict(threading.Event)84 @classmethod85 def _handle_task(cls, task):86 cls.TASK_FINISHED_MAP[task.name].set()87 @classmethod88 def wait_for_task(cls, name):89 cls.TASK_FINISHED_MAP[name].wait()90 @classmethod91 def setUpClass(cls):92 NotificationQueue.start_queue()93 TaskManager.init()94 NotificationQueue.register(cls._handle_task, 'cd_task_finished',95 priority=100)96 @classmethod97 def tearDownClass(cls):98 NotificationQueue.deregister(cls._handle_task, 'cd_task_finished')99 NotificationQueue.stop()100 def setUp(self):101 TaskManager.FINISHED_TASK_SIZE = 10102 TaskManager.FINISHED_TASK_TTL = 60.0103 def assertTaskResult(self, result): # noqa: N802104 self.assertEqual(result,105 {'args': ['dummy arg'], 'kwargs': {'dummy': 'arg'}})106 def test_fast_task(self):107 task1 = MyTask(1)108 state, result = task1.run('test1/task1')109 self.assertEqual(state, TaskManager.VALUE_DONE)110 self.assertTaskResult(result)111 self.wait_for_task('test1/task1')112 _, fn_t = TaskManager.list('test1/*')113 self.assertEqual(len(fn_t), 1)114 self.assertIsNone(fn_t[0].exception)115 self.assertTaskResult(fn_t[0].ret_value)116 self.assertEqual(fn_t[0].progress, 100)117 def test_slow_task(self):118 task1 = MyTask(1)119 state, result = task1.run('test2/task1', 0.5)120 self.assertEqual(state, TaskManager.VALUE_EXECUTING)121 self.assertIsNone(result)122 self.wait_for_task('test2/task1')123 _, fn_t = TaskManager.list('test2/*')124 self.assertEqual(len(fn_t), 1)125 self.assertIsNone(fn_t[0].exception)126 self.assertTaskResult(fn_t[0].ret_value)127 self.assertEqual(fn_t[0].progress, 100)128 def test_fast_task_with_failure(self):129 task1 = MyTask(1, fail=True, progress=40)130 with self.assertRaises(Exception) as ctx:131 task1.run('test3/task1')132 self.assertEqual(str(ctx.exception), "Task Unexpected Exception")133 self.wait_for_task('test3/task1')134 _, fn_t = TaskManager.list('test3/*')135 self.assertEqual(len(fn_t), 1)136 self.assertIsNone(fn_t[0].ret_value)137 self.assertEqual(str(fn_t[0].exception), "Task Unexpected Exception")138 self.assertEqual(fn_t[0].progress, 40)139 def test_slow_task_with_failure(self):140 task1 = MyTask(1, fail=True, progress=70)141 state, result = task1.run('test4/task1', 0.5)142 self.assertEqual(state, TaskManager.VALUE_EXECUTING)143 self.assertIsNone(result)144 self.wait_for_task('test4/task1')145 _, fn_t = TaskManager.list('test4/*')146 self.assertEqual(len(fn_t), 1)147 self.assertIsNone(fn_t[0].ret_value)148 self.assertEqual(str(fn_t[0].exception), "Task Unexpected Exception")149 self.assertEqual(fn_t[0].progress, 70)150 def test_executing_tasks_list(self):151 task1 = MyTask(0, wait=True, progress=30)152 task2 = MyTask(0, wait=True, progress=60)153 state, result = task1.run('test5/task1', 0.5)154 self.assertEqual(state, TaskManager.VALUE_EXECUTING)155 self.assertIsNone(result)156 ex_t, _ = TaskManager.list('test5/*')157 self.assertEqual(len(ex_t), 1)158 self.assertEqual(ex_t[0].name, 'test5/task1')159 self.assertEqual(ex_t[0].progress, 30)160 state, result = task2.run('test5/task2', 0.5)161 self.assertEqual(state, TaskManager.VALUE_EXECUTING)162 self.assertIsNone(result)163 ex_t, _ = TaskManager.list('test5/*')164 self.assertEqual(len(ex_t), 2)165 for task in ex_t:166 if task.name == 'test5/task1':167 self.assertEqual(task.progress, 30)168 elif task.name == 'test5/task2':169 self.assertEqual(task.progress, 60)170 task2.resume()171 self.wait_for_task('test5/task2')172 ex_t, _ = TaskManager.list('test5/*')173 self.assertEqual(len(ex_t), 1)174 self.assertEqual(ex_t[0].name, 'test5/task1')175 task1.resume()176 self.wait_for_task('test5/task1')177 ex_t, _ = TaskManager.list('test5/*')178 self.assertEqual(len(ex_t), 0)179 def test_task_idempotent(self):180 task1 = MyTask(0, wait=True)181 task1_clone = MyTask(0, wait=True)182 state, result = task1.run('test6/task1', 0.5)183 self.assertEqual(state, TaskManager.VALUE_EXECUTING)184 self.assertIsNone(result)185 ex_t, _ = TaskManager.list('test6/*')186 self.assertEqual(len(ex_t), 1)187 self.assertEqual(ex_t[0].name, 'test6/task1')188 state, result = task1_clone.run('test6/task1', 0.5)189 self.assertEqual(state, TaskManager.VALUE_EXECUTING)190 self.assertIsNone(result)191 ex_t, _ = TaskManager.list('test6/*')192 self.assertEqual(len(ex_t), 1)193 self.assertEqual(ex_t[0].name, 'test6/task1')194 task1.resume()195 self.wait_for_task('test6/task1')196 ex_t, fn_t = TaskManager.list('test6/*')197 self.assertEqual(len(ex_t), 0)198 self.assertEqual(len(fn_t), 1)199 def test_finished_cleanup(self):200 TaskManager.FINISHED_TASK_SIZE = 2201 TaskManager.FINISHED_TASK_TTL = 0.5202 task1 = MyTask(0)203 task2 = MyTask(0)204 state, result = task1.run('test7/task1')205 self.assertEqual(state, TaskManager.VALUE_DONE)206 self.assertTaskResult(result)207 self.wait_for_task('test7/task1')208 state, result = task2.run('test7/task2')209 self.assertEqual(state, TaskManager.VALUE_DONE)210 self.assertTaskResult(result)211 self.wait_for_task('test7/task2')212 time.sleep(1)213 _, fn_t = TaskManager.list('test7/*')214 self.assertEqual(len(fn_t), 2)215 for idx, task in enumerate(fn_t):216 self.assertEqual(task.name,217 "test7/task{}".format(len(fn_t)-idx))218 task3 = MyTask(0)219 state, result = task3.run('test7/task3')220 self.assertEqual(state, TaskManager.VALUE_DONE)221 self.assertTaskResult(result)222 self.wait_for_task('test7/task3')223 time.sleep(1)224 _, fn_t = TaskManager.list('test7/*')225 self.assertEqual(len(fn_t), 3)226 for idx, task in enumerate(fn_t):227 self.assertEqual(task.name,228 "test7/task{}".format(len(fn_t)-idx))229 _, fn_t = TaskManager.list('test7/*')230 self.assertEqual(len(fn_t), 2)231 for idx, task in enumerate(fn_t):232 self.assertEqual(task.name,233 "test7/task{}".format(len(fn_t)-idx+1))234 def test_task_serialization_format(self):235 task1 = MyTask(0, wait=True, progress=20)236 task2 = MyTask(1)237 task1.run('test8/task1', 0.5)238 task2.run('test8/task2', 0.5)239 self.wait_for_task('test8/task2')240 ex_t, fn_t = TaskManager.list_serializable('test8/*')241 self.assertEqual(len(ex_t), 1)242 self.assertEqual(len(fn_t), 1)243 try:244 json.dumps(ex_t)245 except ValueError as ex:246 self.fail("Failed to serialize executing tasks: {}".format(str(ex)))247 try:248 json.dumps(fn_t)249 except ValueError as ex:250 self.fail("Failed to serialize finished tasks: {}".format(str(ex)))251 # validate executing tasks attributes252 self.assertEqual(len(ex_t[0].keys()), 4)253 self.assertEqual(ex_t[0]['name'], 'test8/task1')254 self.assertEqual(ex_t[0]['metadata'], task1.metadata())255 self.assertIsNotNone(ex_t[0]['begin_time'])256 self.assertEqual(ex_t[0]['progress'], 20)257 # validate finished tasks attributes258 self.assertEqual(len(fn_t[0].keys()), 9)259 self.assertEqual(fn_t[0]['name'], 'test8/task2')260 self.assertEqual(fn_t[0]['metadata'], task2.metadata())261 self.assertIsNotNone(fn_t[0]['begin_time'])262 self.assertIsNotNone(fn_t[0]['end_time'])263 self.assertGreaterEqual(fn_t[0]['duration'], 1.0)264 self.assertEqual(fn_t[0]['progress'], 100)265 self.assertTrue(fn_t[0]['success'])266 self.assertTaskResult(fn_t[0]['ret_value'])267 self.assertIsNone(fn_t[0]['exception'])268 task1.resume()269 self.wait_for_task('test8/task1')270 def test_fast_async_task(self):271 task1 = MyTask(1, is_async=True)272 state, result = task1.run('test9/task1')273 self.assertEqual(state, TaskManager.VALUE_DONE)274 self.assertTaskResult(result)275 self.wait_for_task('test9/task1')276 _, fn_t = TaskManager.list('test9/*')277 self.assertEqual(len(fn_t), 1)278 self.assertIsNone(fn_t[0].exception)279 self.assertTaskResult(fn_t[0].ret_value)280 self.assertEqual(fn_t[0].progress, 100)281 def test_slow_async_task(self):282 task1 = MyTask(1, is_async=True)283 state, result = task1.run('test10/task1', 0.5)284 self.assertEqual(state, TaskManager.VALUE_EXECUTING)285 self.assertIsNone(result)286 self.wait_for_task('test10/task1')287 _, fn_t = TaskManager.list('test10/*')288 self.assertEqual(len(fn_t), 1)289 self.assertIsNone(fn_t[0].exception)290 self.assertTaskResult(fn_t[0].ret_value)291 self.assertEqual(fn_t[0].progress, 100)292 def test_fast_async_task_with_failure(self):293 task1 = MyTask(1, fail=True, progress=40, is_async=True)294 with self.assertRaises(Exception) as ctx:295 task1.run('test11/task1')296 self.assertEqual(str(ctx.exception), "Task Unexpected Exception")297 self.wait_for_task('test11/task1')298 _, fn_t = TaskManager.list('test11/*')299 self.assertEqual(len(fn_t), 1)300 self.assertIsNone(fn_t[0].ret_value)301 self.assertEqual(str(fn_t[0].exception), "Task Unexpected Exception")302 self.assertEqual(fn_t[0].progress, 40)303 def test_slow_async_task_with_failure(self):304 task1 = MyTask(1, fail=True, progress=70, is_async=True)305 state, result = task1.run('test12/task1', 0.5)306 self.assertEqual(state, TaskManager.VALUE_EXECUTING)307 self.assertIsNone(result)308 self.wait_for_task('test12/task1')309 _, fn_t = TaskManager.list('test12/*')310 self.assertEqual(len(fn_t), 1)311 self.assertIsNone(fn_t[0].ret_value)312 self.assertEqual(str(fn_t[0].exception), "Task Unexpected Exception")313 self.assertEqual(fn_t[0].progress, 70)314 def test_fast_async_task_with_premature_failure(self):315 task1 = MyTask(1, fail="premature", progress=40, is_async=True)316 with self.assertRaises(Exception) as ctx:317 task1.run('test13/task1')318 self.assertEqual(str(ctx.exception), "Task Unexpected Exception")319 self.wait_for_task('test13/task1')320 _, fn_t = TaskManager.list('test13/*')321 self.assertEqual(len(fn_t), 1)322 self.assertIsNone(fn_t[0].ret_value)323 self.assertEqual(str(fn_t[0].exception), "Task Unexpected Exception")324 def test_task_serialization_format_on_failure(self):325 task1 = MyTask(1, fail=True)326 task1.run('test14/task1', 0.5)327 self.wait_for_task('test14/task1')328 ex_t, fn_t = TaskManager.list_serializable('test14/*')329 self.assertEqual(len(ex_t), 0)330 self.assertEqual(len(fn_t), 1)331 # validate finished tasks attributes332 try:333 json.dumps(fn_t)334 except TypeError as ex:335 self.fail("Failed to serialize finished tasks: {}".format(str(ex)))336 self.assertEqual(len(fn_t[0].keys()), 9)337 self.assertEqual(fn_t[0]['name'], 'test14/task1')338 self.assertEqual(fn_t[0]['metadata'], task1.metadata())339 self.assertIsNotNone(fn_t[0]['begin_time'])340 self.assertIsNotNone(fn_t[0]['end_time'])341 self.assertGreaterEqual(fn_t[0]['duration'], 1.0)342 self.assertEqual(fn_t[0]['progress'], 50)343 self.assertFalse(fn_t[0]['success'])344 self.assertIsNotNone(fn_t[0]['exception'])345 self.assertEqual(fn_t[0]['exception'],346 {"detail": "Task Unexpected Exception"})347 def test_task_serialization_format_on_failure_with_handler(self):348 task1 = MyTask(1, fail=True, handle_ex=True)349 task1.run('test15/task1', 0.5)350 self.wait_for_task('test15/task1')351 ex_t, fn_t = TaskManager.list_serializable('test15/*')352 self.assertEqual(len(ex_t), 0)353 self.assertEqual(len(fn_t), 1)354 # validate finished tasks attributes355 try:356 json.dumps(fn_t)357 except TypeError as ex:358 self.fail("Failed to serialize finished tasks: {}".format(str(ex)))359 self.assertEqual(len(fn_t[0].keys()), 9)360 self.assertEqual(fn_t[0]['name'], 'test15/task1')361 self.assertEqual(fn_t[0]['metadata'], task1.metadata())362 self.assertIsNotNone(fn_t[0]['begin_time'])363 self.assertIsNotNone(fn_t[0]['end_time'])364 self.assertGreaterEqual(fn_t[0]['duration'], 1.0)365 self.assertEqual(fn_t[0]['progress'], 50)366 self.assertFalse(fn_t[0]['success'])367 self.assertIsNotNone(fn_t[0]['exception'])368 self.assertEqual(fn_t[0]['exception'], {369 'component': None,370 'detail': 'Task Unexpected Exception',371 'status': 500,372 'task': {373 'metadata': {374 'fail': True,375 'handle_ex': True,376 'is_async': False,377 'op_seconds': 1,378 'progress': 50,379 'wait': False},380 'name': 'test15/task1'381 }...

Full Screen

Full Screen

test_graph_flow.py

Source:test_graph_flow.py Github

copy

Full Screen

1# -*- coding: utf-8 -*-2# Copyright (C) 2014 Yahoo! Inc. All Rights Reserved.3#4# Licensed under the Apache License, Version 2.0 (the "License"); you may5# not use this file except in compliance with the License. You may obtain6# a copy of the License at7#8# http://www.apache.org/licenses/LICENSE-2.09#10# Unless required by applicable law or agreed to in writing, software11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the13# License for the specific language governing permissions and limitations14# under the License.15from taskflow import exceptions as exc16from taskflow.patterns import graph_flow as gf17from taskflow import retry18from taskflow import test19from taskflow.tests import utils20def _task(name, provides=None, requires=None):21 return utils.ProvidesRequiresTask(name, provides, requires)22class GraphFlowTest(test.TestCase):23 def test_graph_flow_starts_as_empty(self):24 f = gf.Flow('test')25 self.assertEqual(len(f), 0)26 self.assertEqual(list(f), [])27 self.assertEqual(list(f.iter_links()), [])28 self.assertEqual(f.requires, set())29 self.assertEqual(f.provides, set())30 expected = 'taskflow.patterns.graph_flow.Flow: test; 0'31 self.assertEqual(str(f), expected)32 def test_graph_flow_add_nothing(self):33 f = gf.Flow('test')34 result = f.add()35 self.assertIs(f, result)36 self.assertEqual(len(f), 0)37 def test_graph_flow_one_task(self):38 f = gf.Flow('test')39 task = _task(name='task1', requires=['a', 'b'], provides=['c', 'd'])40 result = f.add(task)41 self.assertIs(f, result)42 self.assertEqual(len(f), 1)43 self.assertEqual(list(f), [task])44 self.assertEqual(list(f.iter_links()), [])45 self.assertEqual(f.requires, set(['a', 'b']))46 self.assertEqual(f.provides, set(['c', 'd']))47 def test_graph_flow_two_independent_tasks(self):48 task1 = _task(name='task1')49 task2 = _task(name='task2')50 f = gf.Flow('test').add(task1, task2)51 self.assertEqual(len(f), 2)52 self.assertItemsEqual(f, [task1, task2])53 self.assertEqual(list(f.iter_links()), [])54 def test_graph_flow_two_dependent_tasks(self):55 task1 = _task(name='task1', provides=['a'])56 task2 = _task(name='task2', requires=['a'])57 f = gf.Flow('test').add(task1, task2)58 self.assertEqual(len(f), 2)59 self.assertItemsEqual(f, [task1, task2])60 self.assertEqual(list(f.iter_links()), [61 (task1, task2, {'reasons': set(['a'])})62 ])63 self.assertEqual(f.requires, set())64 self.assertEqual(f.provides, set(['a']))65 def test_graph_flow_two_dependent_tasks_two_different_calls(self):66 task1 = _task(name='task1', provides=['a'])67 task2 = _task(name='task2', requires=['a'])68 f = gf.Flow('test').add(task1).add(task2)69 self.assertEqual(len(f), 2)70 self.assertItemsEqual(f, [task1, task2])71 self.assertEqual(list(f.iter_links()), [72 (task1, task2, {'reasons': set(['a'])})73 ])74 def test_graph_flow_two_task_same_provide(self):75 task1 = _task(name='task1', provides=['a', 'b'])76 task2 = _task(name='task2', provides=['a', 'c'])77 f = gf.Flow('test')78 f.add(task2, task1)79 self.assertEqual(set(['a', 'b', 'c']), f.provides)80 def test_graph_flow_ambiguous_provides(self):81 task1 = _task(name='task1', provides=['a', 'b'])82 task2 = _task(name='task2', provides=['a'])83 f = gf.Flow('test')84 f.add(task1, task2)85 self.assertEqual(set(['a', 'b']), f.provides)86 task3 = _task(name='task3', requires=['a'])87 self.assertRaises(exc.AmbiguousDependency, f.add, task3)88 def test_graph_flow_no_resolve_requires(self):89 task1 = _task(name='task1', provides=['a', 'b', 'c'])90 task2 = _task(name='task2', requires=['a', 'b'])91 f = gf.Flow('test')92 f.add(task1, task2, resolve_requires=False)93 self.assertEqual(set(['a', 'b']), f.requires)94 def test_graph_flow_no_resolve_existing(self):95 task1 = _task(name='task1', requires=['a', 'b'])96 task2 = _task(name='task2', provides=['a', 'b'])97 f = gf.Flow('test')98 f.add(task1)99 f.add(task2, resolve_existing=False)100 self.assertEqual(set(['a', 'b']), f.requires)101 def test_graph_flow_resolve_existing(self):102 task1 = _task(name='task1', requires=['a', 'b'])103 task2 = _task(name='task2', provides=['a', 'b'])104 f = gf.Flow('test')105 f.add(task1)106 f.add(task2, resolve_existing=True)107 self.assertEqual(set([]), f.requires)108 def test_graph_flow_with_retry(self):109 ret = retry.AlwaysRevert(requires=['a'], provides=['b'])110 f = gf.Flow('test', ret)111 self.assertIs(f.retry, ret)112 self.assertEqual(ret.name, 'test_retry')113 self.assertEqual(f.requires, set(['a']))114 self.assertEqual(f.provides, set(['b']))115 def test_graph_flow_ordering(self):116 task1 = _task('task1', provides=set(['a', 'b']))117 task2 = _task('task2', provides=['c'], requires=['a', 'b'])118 task3 = _task('task3', provides=[], requires=['c'])119 f = gf.Flow('test').add(task1, task2, task3)120 self.assertEqual(3, len(f))121 self.assertItemsEqual(list(f.iter_links()), [122 (task1, task2, {'reasons': set(['a', 'b'])}),123 (task2, task3, {'reasons': set(['c'])})124 ])125 def test_graph_flow_links(self):126 task1 = _task('task1')127 task2 = _task('task2')128 f = gf.Flow('test').add(task1, task2)129 linked = f.link(task1, task2)130 self.assertIs(linked, f)131 self.assertItemsEqual(list(f.iter_links()), [132 (task1, task2, {'manual': True})133 ])134 def test_graph_flow_links_and_dependencies(self):135 task1 = _task('task1', provides=['a'])136 task2 = _task('task2', requires=['a'])137 f = gf.Flow('test').add(task1, task2)138 linked = f.link(task1, task2)139 self.assertIs(linked, f)140 expected_meta = {141 'manual': True,142 'reasons': set(['a'])143 }144 self.assertItemsEqual(list(f.iter_links()), [145 (task1, task2, expected_meta)146 ])147 def test_graph_flow_link_from_unknown_node(self):148 task1 = _task('task1')149 task2 = _task('task2')150 f = gf.Flow('test').add(task2)151 self.assertRaisesRegexp(ValueError, 'Item .* not found to link from',152 f.link, task1, task2)153 def test_graph_flow_link_to_unknown_node(self):154 task1 = _task('task1')155 task2 = _task('task2')156 f = gf.Flow('test').add(task1)157 self.assertRaisesRegexp(ValueError, 'Item .* not found to link to',158 f.link, task1, task2)159 def test_graph_flow_link_raises_on_cycle(self):160 task1 = _task('task1', provides=['a'])161 task2 = _task('task2', requires=['a'])162 f = gf.Flow('test').add(task1, task2)163 self.assertRaises(exc.DependencyFailure, f.link, task2, task1)164 def test_graph_flow_link_raises_on_link_cycle(self):165 task1 = _task('task1')166 task2 = _task('task2')167 f = gf.Flow('test').add(task1, task2)168 f.link(task1, task2)169 self.assertRaises(exc.DependencyFailure, f.link, task2, task1)170 def test_graph_flow_dependency_cycle(self):171 task1 = _task('task1', provides=['a'], requires=['c'])172 task2 = _task('task2', provides=['b'], requires=['a'])173 task3 = _task('task3', provides=['c'], requires=['b'])174 f = gf.Flow('test').add(task1, task2)175 self.assertRaises(exc.DependencyFailure, f.add, task3)176class TargetedGraphFlowTest(test.TestCase):177 def test_targeted_flow_restricts(self):178 f = gf.TargetedFlow("test")179 task1 = _task('task1', provides=['a'], requires=[])180 task2 = _task('task2', provides=['b'], requires=['a'])181 task3 = _task('task3', provides=[], requires=['b'])182 task4 = _task('task4', provides=[], requires=['b'])183 f.add(task1, task2, task3, task4)184 f.set_target(task3)185 self.assertEqual(len(f), 3)186 self.assertItemsEqual(f, [task1, task2, task3])187 self.assertNotIn('c', f.provides)188 def test_targeted_flow_reset(self):189 f = gf.TargetedFlow("test")190 task1 = _task('task1', provides=['a'], requires=[])191 task2 = _task('task2', provides=['b'], requires=['a'])192 task3 = _task('task3', provides=[], requires=['b'])193 task4 = _task('task4', provides=['c'], requires=['b'])194 f.add(task1, task2, task3, task4)195 f.set_target(task3)196 f.reset_target()197 self.assertEqual(len(f), 4)198 self.assertItemsEqual(f, [task1, task2, task3, task4])199 self.assertIn('c', f.provides)200 def test_targeted_flow_bad_target(self):201 f = gf.TargetedFlow("test")202 task1 = _task('task1', provides=['a'], requires=[])203 task2 = _task('task2', provides=['b'], requires=['a'])204 f.add(task1)205 self.assertRaisesRegexp(ValueError, '^Item .* not found',206 f.set_target, task2)207 def test_targeted_flow_one_node(self):208 f = gf.TargetedFlow("test")209 task1 = _task('task1', provides=['a'], requires=[])210 f.add(task1)211 f.set_target(task1)212 self.assertEqual(len(f), 1)213 self.assertItemsEqual(f, [task1])214 def test_recache_on_add(self):215 f = gf.TargetedFlow("test")216 task1 = _task('task1', provides=[], requires=['a'])217 f.add(task1)218 f.set_target(task1)219 self.assertEqual(1, len(f))220 task2 = _task('task2', provides=['a'], requires=[])221 f.add(task2)222 self.assertEqual(2, len(f))223 def test_recache_on_add_no_deps(self):224 f = gf.TargetedFlow("test")225 task1 = _task('task1', provides=[], requires=[])226 f.add(task1)227 f.set_target(task1)228 self.assertEqual(1, len(f))229 task2 = _task('task2', provides=[], requires=[])230 f.add(task2)231 self.assertEqual(1, len(f))232 def test_recache_on_link(self):233 f = gf.TargetedFlow("test")234 task1 = _task('task1', provides=[], requires=[])235 task2 = _task('task2', provides=[], requires=[])236 f.add(task1, task2)237 f.set_target(task1)238 self.assertEqual(1, len(f))239 f.link(task2, task1)240 self.assertEqual(2, len(f))241 self.assertEqual(list(f.iter_links()), [242 (task2, task1, {'manual': True})...

Full Screen

Full Screen

test_base_tasks.py

Source:test_base_tasks.py Github

copy

Full Screen

1# -*- coding: utf-8 -*-2# =============================================================================3# module : test_database.py4# author : Matthieu Dartiailh5# license : MIT license6# =============================================================================7from hqc_meas.tasks.api import RootTask, SimpleTask, ComplexTask8from nose.tools import assert_equal, assert_is, assert_raises, assert_not_in9from ..util import complete_line10def setup_module():11 print complete_line(__name__ + ': setup_module()', '~', 78)12def teardown_module():13 print complete_line(__name__ + ': teardown_module()', '~', 78)14def test_register_in_database1():15 # Check that the root task does write its default entries in the database16 # when instantiated.17 root = RootTask()18 assert_equal(root.get_from_database('default_path'), '')19def test_child_addition_handling1():20 # Test that adding a task to the root task is correctly handled.21 root = RootTask()22 task1 = ComplexTask(task_name='task1',23 task_database_entries={'val1': 2.0})24 root.children_task.append(task1)25 assert_equal(task1.task_depth, 1)26 assert_equal(task1.task_path, 'root')27 assert_is(task1.task_database, root.task_database)28 assert_is(task1.root_task, root)29 assert_is(task1.parent_task, root)30 assert_equal(task1.get_from_database('task1_val1'), 2.0)31 assert_equal(root.get_from_database('task1_val1'), 2.0)32def test_child_addition_handling2():33 # Test that adding a task to a complex task below the root task is34 # correctly handled.35 root = RootTask()36 task1 = ComplexTask(task_name='task1',37 task_database_entries={'val1': 2.0})38 root.children_task.append(task1)39 task2 = SimpleTask(task_name='task2',40 task_database_entries={'val2': 'r'})41 task1.children_task.append(task2)42 assert_equal(task2.task_depth, 2)43 assert_equal(task2.task_path, 'root/task1')44 assert_is(task2.task_database, root.task_database)45 assert_is(task2.root_task, root)46 assert_is(task2.parent_task, task1)47 assert_equal(task2.get_from_database('task2_val2'), 'r')48def test_child_deletion_handling1():49 # Test that adding a task to the root task is correctly handled.50 root = RootTask()51 task1 = ComplexTask(task_name='task1',52 task_database_entries={'val1': 2.0})53 root.children_task.append(task1)54 root.children_task = []55def test_giving_root1():56 # Test assembling a hierarchy and giving it a root task only later.57 root = RootTask()58 task1 = ComplexTask(task_name='task1')59 task2 = ComplexTask(task_name='task2')60 task1.children_task.append(task2)61 task3 = ComplexTask(task_name='task3')62 task2.children_task.append(task3)63 task4 = SimpleTask(task_name='task4',64 task_database_entries={'val2': 'r'})65 task3.children_task.append(task4)66 task3.access_exs = ['task4_val2']67 task2.access_exs = ['task4_val2']68 root.children_task.append(task1)69 assert_equal(task2.get_from_database('task4_val2'), 'r')70 task3.children_task = []71# assert_raises(KeyError, task2.get_from_database, 'task4_val2')72# task3.children_task.append(task4)73# assert_equal(task2.get_from_database('task4_val2'), 'r')74def test_ex_access_handling1():75 # Test adding an ex_access for an entry.76 root = RootTask()77 task1 = ComplexTask(task_name='task1')78 root.children_task.append(task1)79 task2 = SimpleTask(task_name='task2',80 task_database_entries={'val2': 'r'})81 task1.children_task.append(task2)82 assert_raises(KeyError, root.get_from_database, 'task2_val2')83 task1.add_access_exception('task2_val2')84 assert_equal(root.get_from_database('task2_val2'), 'r')85def test_ex_access_handling1bis():86 # Test adding an ex_access for a deep entry.87 root = RootTask()88 task1 = ComplexTask(task_name='task1')89 root.children_task.append(task1)90 task2 = ComplexTask(task_name='task2')91 task1.children_task.append(task2)92 task3 = SimpleTask(task_name='task3',93 task_database_entries={'val2': 'r'})94 task2.children_task.append(task3)95 assert_raises(KeyError, task2.get_from_database, 'task3_val2')96 task2.add_access_exception('task3_val2')97 assert_equal(task2.get_from_database('task3_val2'), 'r')98 assert_raises(KeyError, task1.get_from_database, 'task3_val2')99 task1.add_access_exception('task3_val2')100 assert_equal(task1.get_from_database('task3_val2'), 'r')101def test_ex_access_handling2():102 # Test removing an ex_access for an entry.103 root = RootTask()104 task1 = ComplexTask(task_name='task1')105 root.children_task.append(task1)106 task2 = SimpleTask(task_name='task2',107 task_database_entries={'val2': 'r'})108 task1.children_task.append(task2)109 task1.add_access_exception('task2_val2')110 assert_equal(root.get_from_database('task2_val2'), 'r')111 task1.remove_access_exception('task2_val2')112 assert_raises(KeyError, root.get_from_database, 'task2_val2')113def test_ex_access_handling3():114 # Test moving a task with whose one entry has an ex_access.115 root = RootTask()116 task1 = ComplexTask(task_name='task1')117 root.children_task.append(task1)118 task2 = SimpleTask(task_name='task2',119 task_database_entries={'val2': 'r'})120 task1.children_task.append(task2)121 task1.add_access_exception('task2_val2')122 assert_equal(root.get_from_database('task2_val2'), 'r')123 task1.children_task = []124 assert_raises(KeyError, root.get_from_database, 'task2_val2')125 task1.children_task.append(task2)126 assert_equal(root.get_from_database('task2_val2'), 'r')127def test_ex_access_handling4():128 # Test removing a task with whose one entry has an ex_access, adding a new129 # one and re-adding the first.130 root = RootTask()131 task1 = ComplexTask(task_name='task1')132 root.children_task.append(task1)133 task2 = SimpleTask(task_name='task2',134 task_database_entries={'val2': 'r'})135 task1.children_task.append(task2)136 task1.add_access_exception('task2_val2')137 assert_equal(root.get_from_database('task2_val2'), 'r')138 task1.children_task = []139 assert_raises(KeyError, root.get_from_database, 'task2_val2')140 task3 = SimpleTask(task_name='task3',141 task_database_entries={'val3': 'r'})142 task1.children_task.append(task3)143 task1.children_task.append(task2)144 assert_raises(KeyError, root.get_from_database, 'task2_val2')145def test_ex_access_handling5():146 # Test removing a task with whose one entry has an ex_access, and then147 # adding a different task (same name, same class, etc)148 root = RootTask()149 task1 = ComplexTask(task_name='task1')150 root.children_task.append(task1)151 task2 = SimpleTask(task_name='task2',152 task_database_entries={'val2': 'r'})153 task1.children_task.append(task2)154 task1.add_access_exception('task2_val2')155 assert_equal(root.get_from_database('task2_val2'), 'r')156 task1.children_task = []157 assert_raises(KeyError, root.get_from_database, 'task2_val2')158 task3 = SimpleTask(task_name='task2',159 task_database_entries={'val2': 'r'})160 task1.children_task.append(task3)161 assert_raises(KeyError, root.get_from_database, 'task2_val2')162def test_ex_access_handling6():163 # Test moving a task to which two access exs are linked.164 root = RootTask()165 task1 = ComplexTask(task_name='task1')166 root.children_task.append(task1)167 task2 = ComplexTask(task_name='task2')168 task1.children_task.append(task2)169 task3 = ComplexTask(task_name='task3')170 task2.children_task.append(task3)171 task4 = SimpleTask(task_name='task4',172 task_database_entries={'val2': 'r'})173 task3.children_task.append(task4)174 task3.add_access_exception('task4_val2')175 task2.add_access_exception('task4_val2')176 assert_equal(task2.get_from_database('task4_val2'), 'r')177 task3.children_task = []178 assert_raises(KeyError, task2.get_from_database, 'task4_val2')179 task3.children_task.append(task4)180 assert_equal(task2.get_from_database('task4_val2'), 'r')181def test_ex_access_handling7():182 # Test moving a task to which two access exs are linked.183 root = RootTask()184 task1 = ComplexTask(task_name='task1')185 root.children_task.append(task1)186 task2 = ComplexTask(task_name='task2')187 task1.children_task.append(task2)188 task3 = ComplexTask(task_name='task3')189 task2.children_task.append(task3)190 task4 = SimpleTask(task_name='task4',191 task_database_entries={'val2': 'r'})192 task3.children_task.append(task4)193 task3.add_access_exception('task4_val2')194 task2.add_access_exception('task4_val2')195 assert_equal(task2.get_from_database('task4_val2'), 'r')196 task3.remove_access_exception('task4_val2')...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var task1 = require('./wptask1');2task1.task1();3var task2 = require('./wptask2');4task2.task2();5var task3 = require('./wptask3');6task3.task3();7var task4 = require('./wptask4');8task4.task4();9var task5 = require('./wptask5');10task5.task5();11var task6 = require('./wptask6');12task6.task6();13var task7 = require('./wptask7');14task7.task7();15var task8 = require('./wptask8');16task8.task8();17var task9 = require('./wptask9');18task9.task9();19var task10 = require('./wptask10');20task10.task10();21var task11 = require('./wptask11');22task11.task11();23var task12 = require('./wptask12');24task12.task12();25var task13 = require('./wptask13');26task13.task13();27var task14 = require('./wptask14');28task14.task14();

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptask = require('./wptask');2wptask.task1();3wptask.task2();4wptask.task3();5wptask.task4();6wptask.task5();7wptask.task6();8wptask.task7();9wptask.task8();10wptask.task9();11wptask.task10();12wptask.task11();13wptask.task12();14wptask.task13();15wptask.task14();16wptask.task15();17wptask.task16();18wptask.task17();19wptask.task18();20wptask.task19();21wptask.task20();22wptask.task21();23wptask.task22();24wptask.task23();25wptask.task24();26wptask.task25();27wptask.task26();28wptask.task27();29wptask.task28();30wptask.task29();31wptask.task30();32wptask.task31();33wptask.task32();34wptask.task33();35wptask.task34();36wptask.task35();37wptask.task36();38wptask.task37();39wptask.task38();40wptask.task39();41wptask.task40();42wptask.task41();43wptask.task42();44wptask.task43();45wptask.task44();46wptask.task45();47wptask.task46();48wptask.task47();49wptask.task48();50wptask.task49();51wptask.task50();52wptask.task51();53wptask.task52();54wptask.task53();55wptask.task54();56wptask.task55();57wptask.task56();58wptask.task57();59wptask.task58();60wptask.task59();61wptask.task60();62wptask.task61();63wptask.task62();64wptask.task63();65wptask.task64();66wptask.task65();67wptask.task66();68wptask.task67();69wptask.task68();70wptask.task69();71wptask.task70();72wptask.task71();73wptask.task72();74wptask.task73();75wptask.task74();76wptask.task75();77wptask.task76();78wptask.task77();79wptask.task78();80wptask.task79();81wptask.task80();

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptask1 = require('./wptask1');2wptask1.task1();3var wptask2 = require('./wptask2');4wptask2.task2();5var wptask3 = require('./wptask3');6wptask3.task3();7var wptask4 = require('./wptask4');8wptask4.task4();9var wptask5 = require('./wptask5');10wptask5.task5();11var wptask6 = require('./wptask6');12wptask6.task6();13var wptask7 = require('./wptask7');14wptask7.task7();15var wptask8 = require('./wptask8');16wptask8.task8();17var wptask9 = require('./wptask9');18wptask9.task9();19var wptask10 = require('./wptask10');20wptask10.task10();21var wptask11 = require('./wptask11');22wptask11.task11();23var wptask12 = require('./wptask12');24wptask12.task12();25var wptask13 = require('./wptask13');26wptask13.task13();

Full Screen

Using AI Code Generation

copy

Full Screen

1var wptask = require('./wptask');2wptask.task1();3wptask.task2();4exports.task1 = function() {5 console.log("task1");6}7exports.task2 = function() {8 console.log("task2");9}10var wptask = require('./wptask');11wptask.task1();12wptask.task2();13exports.task1 = function() {14 console.log("task1");15}16exports.task2 = function() {17 console.log("task2");18}19var wptask = require('./wptask');20wptask.task1();21wptask.task2();22exports.task1 = function() {23 console.log("task1");24}25exports.task2 = function() {26 console.log("task2");27}28var wptask = require('./wptask');29wptask.task1();30wptask.task2();31exports.task1 = function() {32 console.log("task1");33}34exports.task2 = function() {35 console.log("task2");36}37var wptask = require('./wptask');38wptask.task1();

Full Screen

Using AI Code Generation

copy

Full Screen

1var task1 = require('./wptask1');2console.log(task1.task1(5, 10));3var task2 = require('./wptask1');4console.log(task2.task2(5, 10));5var task3 = require('./wptask1');6console.log(task3.task3(5, 10));7var task4 = require('./wptask1');8console.log(task4.task4(5, 10));9var task5 = require('./wptask1');10console.log(task5.task5(5, 10));11var task6 = require('./wptask1');12console.log(task6.task6(5, 10));13var task7 = require('./wptask1');14console.log(task7.task7(5, 10));15var task8 = require('./wptask1');16console.log(task8.task8(5, 10));17var task9 = require('./wptask1');18console.log(task9.task9(5, 10));19var task10 = require('./wptask1');20console.log(task10.task10(5, 10));21var task11 = require('./wptask1');22console.log(task11.task11(5, 10));23var task12 = require('./wptask1');24console.log(task12.task12(5, 10

Full Screen

Using AI Code Generation

copy

Full Screen

1const wptask2 = require('wptask2');2wptask2.task1();3const wptask2 = require('wptask2');4wptask2.task2();5const wptask2 = require('wptask2');6wptask2.task3();7const wptask2 = require('wptask2');8wptask2.task4();9const wptask2 = require('wptask2');10wptask2.task5();11const wptask2 = require('wptask2');12wptask2.task6();13const wptask2 = require('wptask2');14wptask2.task7();15const wptask2 = require('wptask2');16wptask2.task8();17const wptask2 = require('wptask2');18wptask2.task9();19const wptask2 = require('wptask2');20wptask2.task10();

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run wpt automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful