- Timestamp:
- May 29, 2012, 5:08:07 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/ippMonitor
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
czartool/czartool.pl (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 33800-33806,33808,33814-33816,33846-33847
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool.pl
r32093 r33949 32 32 my @publishingLabels = undef; 33 33 34 my @stages = ("chip", "cam", "fake", "warp", "stack", " diff", "magic", "magicDS", "dist", "pub");34 my @stages = ("chip", "cam", "fake", "warp", "stack", "staticsky", "diff", "dist", "pub", "chipbackground"); 35 35 promptPoll(); 36 36 … … 155 155 156 156 chomp($label); 157 158 printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------+\n"); 159 printf("| %32s |\n", $label); 160 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 161 printf("| state | chip | cam | fake | warp | stack | diff | magic | destreak | dist | publish |\n"); 162 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 157 my $stage; 158 159 printf("\n| %32s \n", $label); 160 printf("+------------+"); 161 foreach $stage (@stages) { 162 print "--------------+" 163 } 164 printf("\n"); 165 printf("| state |"); 166 foreach $stage (@stages) { 167 168 printf("%14s|", $stage) 169 } 170 printf("\n"); 171 printf("+------------+"); 172 foreach $stage (@stages) { 173 print "--------------+" 174 } 175 printf("\n"); 163 176 164 177 my $state; 165 my $stage;166 178 my $i=0; 167 179 foreach $state (@states) { … … 172 184 foreach $stage (@stages) { 173 185 174 printf("| %10s", getStateAndFaultsString($label, $state, $stage));186 printf("|%14s", getStateAndFaultsString($label, $state, $stage)); 175 187 } 176 188 … … 179 191 } 180 192 181 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 193 printf("+------------+"); 194 foreach $stage (@stages) { 195 print "--------------+" 196 } 197 printf("\n"); 182 198 183 199 } … … 191 207 my ($state) = @_; 192 208 #print time, $/; 193 printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n"); 194 printf("| %10s (any faults are shown in parentheses) |\n", $state); 195 printf("+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+\n"); 196 printf("| no | label | distributing? | publishing? | chip | cam | fake | warp | stack | diff | magic | destreak | dist | publish |\n"); 197 printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 209 my $stage; 210 211 printf("|\n"); 212 printf("+-----+----------------------------------+---------------+---------------+"); 213 foreach $stage (@stages) { 214 print "--------------+" 215 } 216 printf("\n"); 217 printf("| no | label | distributing? | publishing? |"); 198 218 199 219 my $stdsLabel; … … 202 222 my $distributing; 203 223 my $publishing; 204 my $stage;205 224 my $i=1; 225 foreach $stage (@stages) { 226 227 printf("%14s|", $stage) 228 } 229 printf("\n"); 230 printf("+-----+----------------------------------+---------------+---------------+"); 231 foreach $stage (@stages) { 232 print "--------------+" 233 } 234 printf("\n"); 235 206 236 foreach $stdsLabel (@stdscienceLabels) { 207 237 … … 225 255 foreach $stage (@stages) { 226 256 227 printf("| %10s", getStateAndFaultsString($stdsLabel, $state, $stage));257 printf("|%14s", getStateAndFaultsString($stdsLabel, $state, $stage)); 228 258 } 229 259 … … 232 262 } 233 263 234 printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 264 printf("+-----+----------------------------------+---------------+---------------+"); 265 foreach $stage (@stages) { 266 print "--------------+" 267 } 268 printf("\n"); 235 269 236 270 }
Note:
See TracChangeset
for help on using the changeset viewer.
