- Timestamp:
- 06/09/12 22:01:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r14138 r14139 2119 2119 const State rc = fDimDriveControl.description(); 2120 2120 string col = HTML::kGreen; 2121 if ( rc.index==Drive::State::kMoving) // Moving2121 if (fDimDriveControl.state()==Drive::State::kMoving) // Moving 2122 2122 col = HTML::kBlue; 2123 if ( rc.index==Drive::State::kArmed) // Armed2123 if (fDimDriveControl.state()==Drive::State::kArmed) // Armed 2124 2124 col = HTML::kWhite; 2125 if ( rc.index==Drive::State::kTracking) // Tracking2125 if (fDimDriveControl.state()==Drive::State::kTracking) // Tracking 2126 2126 { 2127 2127 if (dev>60) // ~1.5mm … … 2130 2130 col = HTML::kRed; 2131 2131 } 2132 if ( rc.index==0x100)2132 if (fDimDriveControl.state()==0x100) 2133 2133 col = HTML::kRed; 2134 2134 out << col << '\t'; … … 2150 2150 else 2151 2151 out << HTML::kWhite << '\t'; 2152 2152 2153 if (fSun.time.IsValid() && fMoon.time.IsValid()) 2153 2154 { … … 2165 2166 out << " [" << fMoon.disk << "%]"; 2166 2167 } 2167 out << '\n'; 2168 } 2168 } 2169 2170 if (fDimDNS.online() && fDimDriveControl.state()==0x100) // Armed, Moving, Tracking 2171 out << " [ERR]"; 2172 out << '\n'; 2169 2173 2170 2174 // ------------------- FSC ------------------
Note:
See TracChangeset
for help on using the changeset viewer.