Changeset 17215 for trunk/FACT++
- Timestamp:
- 10/11/13 15:59:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Startup.js
r17187 r17215 245 245 var diff = (now-age)/3600000; 246 246 247 var fb_state = dim.state("FEEDBACK").index; 248 247 249 // !data_calibration.data: FEEDBACK might just be freshly 248 250 // started and will not yet serve this service. 249 if ( data_calibration.data==null|| (diff>8 && now.getHours()>16))250 { 251 if ( data_calibration.data==null)252 console.out("No BIAS crate calibration ava liable: New calibration needed.");251 if (fb_state<5 || (diff>8 && now.getHours()>16)) 252 { 253 if (fb_state<5) 254 console.out("No BIAS crate calibration available: New calibration needed."); 253 255 else 254 256 console.out("Last BIAS crate calibration taken at "+age.toUTCString()+": New calibration needed."); … … 262 264 // Crosscheck all states 263 265 // ================================================================ 266 267 // FIXME: Check if there is a startup shceduled, if not do not force 268 // drive to be switched on 264 269 265 270 var table =
Note:
See TracChangeset
for help on using the changeset viewer.