Changeset 429 for ether_ndacc
- Timestamp:
- 03/21/12 16:30:43 (12 years ago)
- Location:
- ether_ndacc/trunk/web
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_ndacc/trunk/web/data_ohp.jsp
r405 r429 232 232 </td> 233 233 234 <td class="orange" nowrap >234 <td class="orange" nowrap align=center> 235 235 <a href="" title="Results" onclick="OuvrirFeuilleDynW ('instrument?methodName=selectEccRT&instrument=ECC&dateinf=19700101&station=OHP&type=rt#','700','650')"> 236 <img border=1 src="resources/images/ results.jpg" width="60px"></img>236 <img border=1 src="resources/images/chrono.jpg" width="50px" height="40px"></img> 237 237 </a> 238 238 -
ether_ndacc/trunk/web/data_scorebysund.jsp
r364 r429 108 108 <br><i>pattern files : sctc[yy][mm].*</i></td> 109 109 <td class="orange" align="center" width=11%> 110 <a href="" title="Results" onclick="OuvrirFeuilleDyn ('visus_saoz.jsp?station=s od')"><img border=1 src="resources/images/results.jpg" width="60px"></img></a>110 <a href="" title="Results" onclick="OuvrirFeuilleDyn ('visus_saoz.jsp?station=sco')"><img border=1 src="resources/images/results.jpg" width="60px"></img></a> 111 111 </td> 112 112 -
ether_ndacc/trunk/web/src/com/ether/Controller.java
r405 r429 238 238 239 239 @ControllerMethod(view = VIEW_ECC_RT) 240 public Map<String, Object> selectEccRT( @ParamName("dateinf") finalString dateinf,240 public Map<String, Object> selectEccRT( @ParamName("dateinf") String dateinf, 241 241 @ParamName("station") String station, 242 242 @ParamName("instrument") final String instrument, … … 247 247 { 248 248 249 final List<String> plotsList = _plotService.getPlotsByDateByInstrumentByStationByType( instrument, dateinf, "yyyyMMdd", station, type ); 250 251 //dateinf="02021980"; 252 //List<String> ListDates = _plotService.getLastDate(instrument); 253 final List<String> listeDates = _serviceTools.getListeDates(); 249 254 250 String rep = ""; 255 251 String year = dateinf.substring( 0, 4 ); 252 String month= dateinf.substring( 4, 6 ); 256 253 257 254 if( station.compareTo( "OHP" ) == 0 || station.compareTo( "ohp" ) == 0 ) … … 259 256 rep = "./resources/visu/ohp/ecc"; 260 257 station = "OHP"; 261 if( year.compareTo( "1970" ) == 0 ) year = "2012"; 258 if( year.compareTo( "1970" ) == 0 ) { 259 year = "2012"; 260 month = "01"; 261 } 262 262 } 263 263 else if( station.compareTo( "LA REUNION" ) == 0 || station.compareTo( "reunion" ) == 0 ) … … 278 278 } 279 279 280 281 dateinf=year+month+"01"; 282 final List<String> plotsList = _plotService.getPlotsByDateByInstrumentByStationByType( instrument, dateinf, "yyyyMMdd", station, type ); 283 284 285 //dateinf="02021980"; 286 //List<String> ListDates = _plotService.getLastDate(instrument); 287 final List<String> listeDates = _serviceTools.getListeDates(); 280 288 final Map<String, Object> model = new HashMap<String, Object>(); 289 281 290 model.put( "plotsList", plotsList ); 282 291 model.put( "listeDates", listeDates ); 283 292 model.put( "firstDate", dateinf ); 284 final String month = dateinf.substring( 4, 6 ); 293 285 294 model.put( "month", month ); 286 295 model.put( "year", year ); 287 296 model.put( "station", station ); 297 298 // model.put( "dateinf", dateinf ); 288 299 model.put( "rep", rep ); 289 300 return model; 301 290 302 } 291 303 catch( ServiceException e ) … … 464 476 try 465 477 { 466 467 List<String> plotsList = _plotService.getPlotsByDateByInstrumentByStation( instrument, dateinf, "yyyyMMdd", station );468 469 478 //dateinf="02021980"; 470 479 //List<String> ListDates = _plotService.getLastDate(instrument); 471 final List<String> listeDates = _serviceTools.getListeDates();472 480 String rep = ""; 473 481 String year = dateinf.substring( 0, 4 ); … … 482 490 dateinf = year + month + "03"; 483 491 } 492 493 // dateinf="20120101"; 494 dateinf=year+month+"01"; 495 List<String> plotsList = _plotService.getPlotsByDateByInstrumentByStation( instrument, dateinf, "yyyyMMdd", station ); 496 final List<String> listeDates = _serviceTools.getListeDates(); 497 498 final Map<String, Object> model = new HashMap<String, Object>(); 499 500 model.put( "plotsList", plotsList ); 501 484 502 485 503 … … 496 514 mView.put( "station", station ); 497 515 mView.put( "rep", rep ); 516 517 498 518 499 519 return mView;
Note: See TracChangeset
for help on using the changeset viewer.