00001 package Sct_SctApi;
00002
00003
00011 public class _SctApiStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.SctApi
00012 {
00013
00014 public void initialiseAll (int runNumber) throws Sct_SctApi.SctApiException
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("initialiseAll", true);
00019 $out.write_ulong (runNumber);
00020 $in = _invoke ($out);
00021 return;
00022 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00023 $in = $ex.getInputStream ();
00024 String _id = $ex.getId ();
00025 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00026 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00027 else
00028 throw new org.omg.CORBA.MARSHAL (_id);
00029 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00030 initialiseAll (runNumber );
00031 } finally {
00032 _releaseReply ($in);
00033 }
00034 }
00035
00036 public void shutdownAll () throws Sct_SctApi.SctApiException
00037 {
00038 org.omg.CORBA.portable.InputStream $in = null;
00039 try {
00040 org.omg.CORBA.portable.OutputStream $out = _request ("shutdownAll", true);
00041 $in = _invoke ($out);
00042 return;
00043 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00044 $in = $ex.getInputStream ();
00045 String _id = $ex.getId ();
00046 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00047 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00048 else
00049 throw new org.omg.CORBA.MARSHAL (_id);
00050 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00051 shutdownAll ( );
00052 } finally {
00053 _releaseReply ($in);
00054 }
00055 }
00056
00057 public void status ()
00058 {
00059 org.omg.CORBA.portable.InputStream $in = null;
00060 try {
00061 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
00062 $in = _invoke ($out);
00063 return;
00064 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00065 $in = $ex.getInputStream ();
00066 String _id = $ex.getId ();
00067 throw new org.omg.CORBA.MARSHAL (_id);
00068 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00069 status ( );
00070 } finally {
00071 _releaseReply ($in);
00072 }
00073 }
00074
00075 public void setRunNumber (int newRun)
00076 {
00077 org.omg.CORBA.portable.InputStream $in = null;
00078 try {
00079 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
00080 $out.write_ulong (newRun);
00081 $in = _invoke ($out);
00082 return;
00083 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00084 $in = $ex.getInputStream ();
00085 String _id = $ex.getId ();
00086 throw new org.omg.CORBA.MARSHAL (_id);
00087 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00088 setRunNumber (newRun );
00089 } finally {
00090 _releaseReply ($in);
00091 }
00092 }
00093
00094 public void setScanNumber (int newScan)
00095 {
00096 org.omg.CORBA.portable.InputStream $in = null;
00097 try {
00098 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
00099 $out.write_ulong (newScan);
00100 $in = _invoke ($out);
00101 return;
00102 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00103 $in = $ex.getInputStream ();
00104 String _id = $ex.getId ();
00105 throw new org.omg.CORBA.MARSHAL (_id);
00106 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00107 setScanNumber (newScan );
00108 } finally {
00109 _releaseReply ($in);
00110 }
00111 }
00112
00113 public int getRunNumber ()
00114 {
00115 org.omg.CORBA.portable.InputStream $in = null;
00116 try {
00117 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
00118 $in = _invoke ($out);
00119 int $result = $in.read_ulong ();
00120 return $result;
00121 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00122 $in = $ex.getInputStream ();
00123 String _id = $ex.getId ();
00124 throw new org.omg.CORBA.MARSHAL (_id);
00125 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00126 return getRunNumber ( );
00127 } finally {
00128 _releaseReply ($in);
00129 }
00130 }
00131
00132 public int getScanNumber ()
00133 {
00134 org.omg.CORBA.portable.InputStream $in = null;
00135 try {
00136 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
00137 $in = _invoke ($out);
00138 int $result = $in.read_ulong ();
00139 return $result;
00140 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00141 $in = $ex.getInputStream ();
00142 String _id = $ex.getId ();
00143 throw new org.omg.CORBA.MARSHAL (_id);
00144 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00145 return getScanNumber ( );
00146 } finally {
00147 _releaseReply ($in);
00148 }
00149 }
00150
00151 public void unsetDebugOption (String opt)
00152 {
00153 org.omg.CORBA.portable.InputStream $in = null;
00154 try {
00155 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
00156 $out.write_string (opt);
00157 $in = _invoke ($out);
00158 return;
00159 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00160 $in = $ex.getInputStream ();
00161 String _id = $ex.getId ();
00162 throw new org.omg.CORBA.MARSHAL (_id);
00163 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00164 unsetDebugOption (opt );
00165 } finally {
00166 _releaseReply ($in);
00167 }
00168 }
00169
00170 public void setDebugOption (String opt)
00171 {
00172 org.omg.CORBA.portable.InputStream $in = null;
00173 try {
00174 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
00175 $out.write_string (opt);
00176 $in = _invoke ($out);
00177 return;
00178 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00179 $in = $ex.getInputStream ();
00180 String _id = $ex.getId ();
00181 throw new org.omg.CORBA.MARSHAL (_id);
00182 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00183 setDebugOption (opt );
00184 } finally {
00185 _releaseReply ($in);
00186 }
00187 }
00188
00189 public String[] listEnabledDebugOptions ()
00190 {
00191 org.omg.CORBA.portable.InputStream $in = null;
00192 try {
00193 org.omg.CORBA.portable.OutputStream $out = _request ("listEnabledDebugOptions", true);
00194 $in = _invoke ($out);
00195 String $result[] = Sct_SctApi.DefectListHelper.read ($in);
00196 return $result;
00197 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00198 $in = $ex.getInputStream ();
00199 String _id = $ex.getId ();
00200 throw new org.omg.CORBA.MARSHAL (_id);
00201 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00202 return listEnabledDebugOptions ( );
00203 } finally {
00204 _releaseReply ($in);
00205 }
00206 }
00207
00208 public String[] listDebugOptions ()
00209 {
00210 org.omg.CORBA.portable.InputStream $in = null;
00211 try {
00212 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
00213 $in = _invoke ($out);
00214 String $result[] = Sct_SctApi.DefectListHelper.read ($in);
00215 return $result;
00216 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00217 $in = $ex.getInputStream ();
00218 String _id = $ex.getId ();
00219 throw new org.omg.CORBA.MARSHAL (_id);
00220 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00221 return listDebugOptions ( );
00222 } finally {
00223 _releaseReply ($in);
00224 }
00225 }
00226
00227 public void standardRegisterDump (int partition, int crate, int rod)
00228 {
00229 org.omg.CORBA.portable.InputStream $in = null;
00230 try {
00231 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDump", true);
00232 $out.write_ulong (partition);
00233 $out.write_ulong (crate);
00234 $out.write_ulong (rod);
00235 $in = _invoke ($out);
00236 return;
00237 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00238 $in = $ex.getInputStream ();
00239 String _id = $ex.getId ();
00240 throw new org.omg.CORBA.MARSHAL (_id);
00241 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00242 standardRegisterDump (partition, crate, rod );
00243 } finally {
00244 _releaseReply ($in);
00245 }
00246 }
00247
00248 public void standardRegisterDumpAll ()
00249 {
00250 org.omg.CORBA.portable.InputStream $in = null;
00251 try {
00252 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpAll", true);
00253 $in = _invoke ($out);
00254 return;
00255 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00256 $in = $ex.getInputStream ();
00257 String _id = $ex.getId ();
00258 throw new org.omg.CORBA.MARSHAL (_id);
00259 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00260 standardRegisterDumpAll ( );
00261 } finally {
00262 _releaseReply ($in);
00263 }
00264 }
00265
00266 public String[] getModuleList ()
00267 {
00268 org.omg.CORBA.portable.InputStream $in = null;
00269 try {
00270 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
00271 $in = _invoke ($out);
00272 String $result[] = sctConf.ModuleListHelper.read ($in);
00273 return $result;
00274 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00275 $in = $ex.getInputStream ();
00276 String _id = $ex.getId ();
00277 throw new org.omg.CORBA.MARSHAL (_id);
00278 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00279 return getModuleList ( );
00280 } finally {
00281 _releaseReply ($in);
00282 }
00283 }
00284
00285 public boolean isRODPresent (int partition, int crate, int rod)
00286 {
00287 org.omg.CORBA.portable.InputStream $in = null;
00288 try {
00289 org.omg.CORBA.portable.OutputStream $out = _request ("isRODPresent", true);
00290 $out.write_ulong (partition);
00291 $out.write_ulong (crate);
00292 $out.write_ulong (rod);
00293 $in = _invoke ($out);
00294 boolean $result = $in.read_boolean ();
00295 return $result;
00296 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00297 $in = $ex.getInputStream ();
00298 String _id = $ex.getId ();
00299 throw new org.omg.CORBA.MARSHAL (_id);
00300 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00301 return isRODPresent (partition, crate, rod );
00302 } finally {
00303 _releaseReply ($in);
00304 }
00305 }
00306
00307 public void awaitResponse (int partition, int crate, int rod)
00308 {
00309 org.omg.CORBA.portable.InputStream $in = null;
00310 try {
00311 org.omg.CORBA.portable.OutputStream $out = _request ("awaitResponse", true);
00312 $out.write_ulong (partition);
00313 $out.write_ulong (crate);
00314 $out.write_ulong (rod);
00315 $in = _invoke ($out);
00316 return;
00317 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00318 $in = $ex.getInputStream ();
00319 String _id = $ex.getId ();
00320 throw new org.omg.CORBA.MARSHAL (_id);
00321 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00322 awaitResponse (partition, crate, rod );
00323 } finally {
00324 _releaseReply ($in);
00325 }
00326 }
00327
00328 public int[] getResponse (int partition, int crate, int rod)
00329 {
00330 org.omg.CORBA.portable.InputStream $in = null;
00331 try {
00332 org.omg.CORBA.portable.OutputStream $out = _request ("getResponse", true);
00333 $out.write_ulong (partition);
00334 $out.write_ulong (crate);
00335 $out.write_ulong (rod);
00336 $in = _invoke ($out);
00337 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00338 return $result;
00339 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00340 $in = $ex.getInputStream ();
00341 String _id = $ex.getId ();
00342 throw new org.omg.CORBA.MARSHAL (_id);
00343 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00344 return getResponse (partition, crate, rod );
00345 } finally {
00346 _releaseReply ($in);
00347 }
00348 }
00349
00350 public void configureBOC (int partition, int crate, int rod)
00351 {
00352 org.omg.CORBA.portable.InputStream $in = null;
00353 try {
00354 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00355 $out.write_ulong (partition);
00356 $out.write_ulong (crate);
00357 $out.write_ulong (rod);
00358 $in = _invoke ($out);
00359 return;
00360 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00361 $in = $ex.getInputStream ();
00362 String _id = $ex.getId ();
00363 throw new org.omg.CORBA.MARSHAL (_id);
00364 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00365 configureBOC (partition, crate, rod );
00366 } finally {
00367 _releaseReply ($in);
00368 }
00369 }
00370
00371 public void flashLED (int partition, int crate, int rod, short slaveNumber, int period, int flashes) throws Sct_SctApi.SctApiException
00372 {
00373 org.omg.CORBA.portable.InputStream $in = null;
00374 try {
00375 org.omg.CORBA.portable.OutputStream $out = _request ("flashLED", true);
00376 $out.write_ulong (partition);
00377 $out.write_ulong (crate);
00378 $out.write_ulong (rod);
00379 $out.write_ushort (slaveNumber);
00380 $out.write_ulong (period);
00381 $out.write_ulong (flashes);
00382 $in = _invoke ($out);
00383 return;
00384 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00385 $in = $ex.getInputStream ();
00386 String _id = $ex.getId ();
00387 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00388 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00389 else
00390 throw new org.omg.CORBA.MARSHAL (_id);
00391 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00392 flashLED (partition, crate, rod, slaveNumber, period, flashes );
00393 } finally {
00394 _releaseReply ($in);
00395 }
00396 }
00397
00398 public void echo (int partition, int crate, int rod, int[] data) throws Sct_SctApi.SctApiException
00399 {
00400 org.omg.CORBA.portable.InputStream $in = null;
00401 try {
00402 org.omg.CORBA.portable.OutputStream $out = _request ("echo", true);
00403 $out.write_ulong (partition);
00404 $out.write_ulong (crate);
00405 $out.write_ulong (rod);
00406 Sct_SctApi.DataBlockHelper.write ($out, data);
00407 $in = _invoke ($out);
00408 return;
00409 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00410 $in = $ex.getInputStream ();
00411 String _id = $ex.getId ();
00412 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00413 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00414 else
00415 throw new org.omg.CORBA.MARSHAL (_id);
00416 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00417 echo (partition, crate, rod, data );
00418 } finally {
00419 _releaseReply ($in);
00420 }
00421 }
00422
00423 public void createDebugPrimList () throws Sct_SctApi.SctApiException
00424 {
00425 org.omg.CORBA.portable.InputStream $in = null;
00426 try {
00427 org.omg.CORBA.portable.OutputStream $out = _request ("createDebugPrimList", true);
00428 $in = _invoke ($out);
00429 return;
00430 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00431 $in = $ex.getInputStream ();
00432 String _id = $ex.getId ();
00433 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00434 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00435 else
00436 throw new org.omg.CORBA.MARSHAL (_id);
00437 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00438 createDebugPrimList ( );
00439 } finally {
00440 _releaseReply ($in);
00441 }
00442 }
00443
00444 public void addDebugPrimList (int index, int id, int version, int[] body) throws Sct_SctApi.SctApiException
00445 {
00446 org.omg.CORBA.portable.InputStream $in = null;
00447 try {
00448 org.omg.CORBA.portable.OutputStream $out = _request ("addDebugPrimList", true);
00449 $out.write_long (index);
00450 $out.write_long (id);
00451 $out.write_long (version);
00452 Sct_SctApi.DataBlockHelper.write ($out, body);
00453 $in = _invoke ($out);
00454 return;
00455 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00456 $in = $ex.getInputStream ();
00457 String _id = $ex.getId ();
00458 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00459 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00460 else
00461 throw new org.omg.CORBA.MARSHAL (_id);
00462 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00463 addDebugPrimList (index, id, version, body );
00464 } finally {
00465 _releaseReply ($in);
00466 }
00467 }
00468
00469 public void sendDebugPrimList (int partition, int crate, int rod) throws Sct_SctApi.SctApiException
00470 {
00471 org.omg.CORBA.portable.InputStream $in = null;
00472 try {
00473 org.omg.CORBA.portable.OutputStream $out = _request ("sendDebugPrimList", true);
00474 $out.write_ulong (partition);
00475 $out.write_ulong (crate);
00476 $out.write_ulong (rod);
00477 $in = _invoke ($out);
00478 return;
00479 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00480 $in = $ex.getInputStream ();
00481 String _id = $ex.getId ();
00482 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00483 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00484 else
00485 throw new org.omg.CORBA.MARSHAL (_id);
00486 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00487 sendDebugPrimList (partition, crate, rod );
00488 } finally {
00489 _releaseReply ($in);
00490 }
00491 }
00492
00493 public void sendDebugSlavePrimList (int partition, int crate, int rod, int slave, boolean await, boolean response) throws Sct_SctApi.SctApiException
00494 {
00495 org.omg.CORBA.portable.InputStream $in = null;
00496 try {
00497 org.omg.CORBA.portable.OutputStream $out = _request ("sendDebugSlavePrimList", true);
00498 $out.write_ulong (partition);
00499 $out.write_ulong (crate);
00500 $out.write_ulong (rod);
00501 $out.write_ulong (slave);
00502 $out.write_boolean (await);
00503 $out.write_boolean (response);
00504 $in = _invoke ($out);
00505 return;
00506 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00507 $in = $ex.getInputStream ();
00508 String _id = $ex.getId ();
00509 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00510 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00511 else
00512 throw new org.omg.CORBA.MARSHAL (_id);
00513 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00514 sendDebugSlavePrimList (partition, crate, rod, slave, await, response );
00515 } finally {
00516 _releaseReply ($in);
00517 }
00518 }
00519
00520
00521
00522 public void loadConfiguration (String filename) throws Sct_SctApi.SctApiException
00523 {
00524 org.omg.CORBA.portable.InputStream $in = null;
00525 try {
00526 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
00527 $out.write_string (filename);
00528 $in = _invoke ($out);
00529 return;
00530 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00531 $in = $ex.getInputStream ();
00532 String _id = $ex.getId ();
00533 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00534 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00535 else
00536 throw new org.omg.CORBA.MARSHAL (_id);
00537 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00538 loadConfiguration (filename );
00539 } finally {
00540 _releaseReply ($in);
00541 }
00542 }
00543
00544 public void storeModuleConfigurations () throws Sct_SctApi.SctApiException
00545 {
00546 org.omg.CORBA.portable.InputStream $in = null;
00547 try {
00548 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00549 $in = _invoke ($out);
00550 return;
00551 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00552 $in = $ex.getInputStream ();
00553 String _id = $ex.getId ();
00554 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00555 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00556 else
00557 throw new org.omg.CORBA.MARSHAL (_id);
00558 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00559 storeModuleConfigurations ( );
00560 } finally {
00561 _releaseReply ($in);
00562 }
00563 }
00564
00565 public void configureAllModules () throws Sct_SctApi.SctApiException
00566 {
00567 org.omg.CORBA.portable.InputStream $in = null;
00568 try {
00569 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00570 $in = _invoke ($out);
00571 return;
00572 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00573 $in = $ex.getInputStream ();
00574 String _id = $ex.getId ();
00575 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00576 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00577 else
00578 throw new org.omg.CORBA.MARSHAL (_id);
00579 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00580 configureAllModules ( );
00581 } finally {
00582 _releaseReply ($in);
00583 }
00584 }
00585
00586
00588 public sctConf.ABCDModule retrieveModule (int mid)
00589 {
00590 org.omg.CORBA.portable.InputStream $in = null;
00591 try {
00592 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
00593 $out.write_ulong (mid);
00594 $in = _invoke ($out);
00595 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00596 return $result;
00597 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00598 $in = $ex.getInputStream ();
00599 String _id = $ex.getId ();
00600 throw new org.omg.CORBA.MARSHAL (_id);
00601 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00602 return retrieveModule (mid );
00603 } finally {
00604 _releaseReply ($in);
00605 }
00606 }
00607
00608
00609
00610 public short dspBlockDump (int partition, int crate, int rod, int dspStart, int numWords, int dspNumber)
00611 {
00612 org.omg.CORBA.portable.InputStream $in = null;
00613 try {
00614 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockDump", true);
00615 $out.write_ulong (partition);
00616 $out.write_ulong (crate);
00617 $out.write_ulong (rod);
00618 $out.write_long (dspStart);
00619 $out.write_long (numWords);
00620 $out.write_long (dspNumber);
00621 $in = _invoke ($out);
00622 short $result = $in.read_short ();
00623 return $result;
00624 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00625 $in = $ex.getInputStream ();
00626 String _id = $ex.getId ();
00627 throw new org.omg.CORBA.MARSHAL (_id);
00628 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00629 return dspBlockDump (partition, crate, rod, dspStart, numWords, dspNumber );
00630 } finally {
00631 _releaseReply ($in);
00632 }
00633 }
00634
00635 public int[] dspBlockRead (int partition, int crate, int rod, int dspStart, int numWords, int dspNumber)
00636 {
00637 org.omg.CORBA.portable.InputStream $in = null;
00638 try {
00639 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockRead", true);
00640 $out.write_ulong (partition);
00641 $out.write_ulong (crate);
00642 $out.write_ulong (rod);
00643 $out.write_long (dspStart);
00644 $out.write_long (numWords);
00645 $out.write_long (dspNumber);
00646 $in = _invoke ($out);
00647 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00648 return $result;
00649 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00650 $in = $ex.getInputStream ();
00651 String _id = $ex.getId ();
00652 throw new org.omg.CORBA.MARSHAL (_id);
00653 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00654 return dspBlockRead (partition, crate, rod, dspStart, numWords, dspNumber );
00655 } finally {
00656 _releaseReply ($in);
00657 }
00658 }
00659
00660 public short dspBlockWrite (int partition, int crate, int rod, int[] buffer, int dspAddress, int dspNumber)
00661 {
00662 org.omg.CORBA.portable.InputStream $in = null;
00663 try {
00664 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockWrite", true);
00665 $out.write_ulong (partition);
00666 $out.write_ulong (crate);
00667 $out.write_ulong (rod);
00668 Sct_SctApi.DataBlockHelper.write ($out, buffer);
00669 $out.write_ulong (dspAddress);
00670 $out.write_long (dspNumber);
00671 $in = _invoke ($out);
00672 short $result = $in.read_short ();
00673 return $result;
00674 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00675 $in = $ex.getInputStream ();
00676 String _id = $ex.getId ();
00677 throw new org.omg.CORBA.MARSHAL (_id);
00678 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00679 return dspBlockWrite (partition, crate, rod, buffer, dspAddress, dspNumber );
00680 } finally {
00681 _releaseReply ($in);
00682 }
00683 }
00684
00685 public int dspSingleRead (int partition, int crate, int rod, int dspAddr, int dspNumber)
00686 {
00687 org.omg.CORBA.portable.InputStream $in = null;
00688 try {
00689 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleRead", true);
00690 $out.write_ulong (partition);
00691 $out.write_ulong (crate);
00692 $out.write_ulong (rod);
00693 $out.write_ulong (dspAddr);
00694 $out.write_long (dspNumber);
00695 $in = _invoke ($out);
00696 int $result = $in.read_ulong ();
00697 return $result;
00698 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00699 $in = $ex.getInputStream ();
00700 String _id = $ex.getId ();
00701 throw new org.omg.CORBA.MARSHAL (_id);
00702 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00703 return dspSingleRead (partition, crate, rod, dspAddr, dspNumber );
00704 } finally {
00705 _releaseReply ($in);
00706 }
00707 }
00708
00709 public void dspSingleWrite (int partition, int crate, int rod, int dspAddr, int val, int dspNumber)
00710 {
00711 org.omg.CORBA.portable.InputStream $in = null;
00712 try {
00713 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleWrite", true);
00714 $out.write_ulong (partition);
00715 $out.write_ulong (crate);
00716 $out.write_ulong (rod);
00717 $out.write_ulong (dspAddr);
00718 $out.write_ulong (val);
00719 $out.write_long (dspNumber);
00720 $in = _invoke ($out);
00721 return;
00722 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00723 $in = $ex.getInputStream ();
00724 String _id = $ex.getId ();
00725 throw new org.omg.CORBA.MARSHAL (_id);
00726 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00727 dspSingleWrite (partition, crate, rod, dspAddr, val, dspNumber );
00728 } finally {
00729 _releaseReply ($in);
00730 }
00731 }
00732
00733 public int[] readSlaveDsp (int partition, int crate, int rod, short s, int add, int words)
00734 {
00735 org.omg.CORBA.portable.InputStream $in = null;
00736 try {
00737 org.omg.CORBA.portable.OutputStream $out = _request ("readSlaveDsp", true);
00738 $out.write_ulong (partition);
00739 $out.write_ulong (crate);
00740 $out.write_ulong (rod);
00741 $out.write_short (s);
00742 $out.write_ulong (add);
00743 $out.write_ulong (words);
00744 $in = _invoke ($out);
00745 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00746 return $result;
00747 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00748 $in = $ex.getInputStream ();
00749 String _id = $ex.getId ();
00750 throw new org.omg.CORBA.MARSHAL (_id);
00751 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00752 return readSlaveDsp (partition, crate, rod, s, add, words );
00753 } finally {
00754 _releaseReply ($in);
00755 }
00756 }
00757
00758
00759
00760 public int findModuleSerial (String sn)
00761 {
00762 org.omg.CORBA.portable.InputStream $in = null;
00763 try {
00764 org.omg.CORBA.portable.OutputStream $out = _request ("findModuleSerial", true);
00765 $out.write_string (sn);
00766 $in = _invoke ($out);
00767 int $result = $in.read_ulong ();
00768 return $result;
00769 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00770 $in = $ex.getInputStream ();
00771 String _id = $ex.getId ();
00772 throw new org.omg.CORBA.MARSHAL (_id);
00773 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00774 return findModuleSerial (sn );
00775 } finally {
00776 _releaseReply ($in);
00777 }
00778 }
00779
00780 public String convertToString (int mid)
00781 {
00782 org.omg.CORBA.portable.InputStream $in = null;
00783 try {
00784 org.omg.CORBA.portable.OutputStream $out = _request ("convertToString", true);
00785 $out.write_ulong (mid);
00786 $in = _invoke ($out);
00787 String $result = $in.read_string ();
00788 return $result;
00789 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00790 $in = $ex.getInputStream ();
00791 String _id = $ex.getId ();
00792 throw new org.omg.CORBA.MARSHAL (_id);
00793 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00794 return convertToString (mid );
00795 } finally {
00796 _releaseReply ($in);
00797 }
00798 }
00799
00800 public int findModule (short mur, short number)
00801 {
00802 org.omg.CORBA.portable.InputStream $in = null;
00803 try {
00804 org.omg.CORBA.portable.OutputStream $out = _request ("findModule", true);
00805 $out.write_ushort (mur);
00806 $out.write_ushort (number);
00807 $in = _invoke ($out);
00808 int $result = $in.read_ulong ();
00809 return $result;
00810 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00811 $in = $ex.getInputStream ();
00812 String _id = $ex.getId ();
00813 throw new org.omg.CORBA.MARSHAL (_id);
00814 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00815 return findModule (mur, number );
00816 } finally {
00817 _releaseReply ($in);
00818 }
00819 }
00820
00821 public int findModuleRod (int partition, int crate, int rod, int channel)
00822 {
00823 org.omg.CORBA.portable.InputStream $in = null;
00824 try {
00825 org.omg.CORBA.portable.OutputStream $out = _request ("findModuleRod", true);
00826 $out.write_ulong (partition);
00827 $out.write_ulong (crate);
00828 $out.write_ulong (rod);
00829 $out.write_ulong (channel);
00830 $in = _invoke ($out);
00831 int $result = $in.read_ulong ();
00832 return $result;
00833 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00834 $in = $ex.getInputStream ();
00835 String _id = $ex.getId ();
00836 throw new org.omg.CORBA.MARSHAL (_id);
00837 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00838 return findModuleRod (partition, crate, rod, channel );
00839 } finally {
00840 _releaseReply ($in);
00841 }
00842 }
00843
00844
00845
00846 public int findBarrelModule (int barrel, int row, short number)
00847 {
00848 org.omg.CORBA.portable.InputStream $in = null;
00849 try {
00850 org.omg.CORBA.portable.OutputStream $out = _request ("findBarrelModule", true);
00851 $out.write_ulong (barrel);
00852 $out.write_ulong (row);
00853 $out.write_short (number);
00854 $in = _invoke ($out);
00855 int $result = $in.read_ulong ();
00856 return $result;
00857 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00858 $in = $ex.getInputStream ();
00859 String _id = $ex.getId ();
00860 throw new org.omg.CORBA.MARSHAL (_id);
00861 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00862 return findBarrelModule (barrel, row, number );
00863 } finally {
00864 _releaseReply ($in);
00865 }
00866 }
00867
00868 public void convertToBarrelModule (int mid, org.omg.CORBA.IntHolder barrel, org.omg.CORBA.IntHolder row, org.omg.CORBA.ShortHolder number)
00869 {
00870 org.omg.CORBA.portable.InputStream $in = null;
00871 try {
00872 org.omg.CORBA.portable.OutputStream $out = _request ("convertToBarrelModule", true);
00873 $out.write_ulong (mid);
00874 $in = _invoke ($out);
00875 barrel.value = $in.read_ulong ();
00876 row.value = $in.read_ulong ();
00877 number.value = $in.read_short ();
00878 return;
00879 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00880 $in = $ex.getInputStream ();
00881 String _id = $ex.getId ();
00882 throw new org.omg.CORBA.MARSHAL (_id);
00883 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00884 convertToBarrelModule (mid, barrel, row, number );
00885 } finally {
00886 _releaseReply ($in);
00887 }
00888 }
00889
00890 public int findEndcapModule (int disk, int ring, int number)
00891 {
00892 org.omg.CORBA.portable.InputStream $in = null;
00893 try {
00894 org.omg.CORBA.portable.OutputStream $out = _request ("findEndcapModule", true);
00895 $out.write_long (disk);
00896 $out.write_long (ring);
00897 $out.write_long (number);
00898 $in = _invoke ($out);
00899 int $result = $in.read_ulong ();
00900 return $result;
00901 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00902 $in = $ex.getInputStream ();
00903 String _id = $ex.getId ();
00904 throw new org.omg.CORBA.MARSHAL (_id);
00905 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00906 return findEndcapModule (disk, ring, number );
00907 } finally {
00908 _releaseReply ($in);
00909 }
00910 }
00911
00912 public void convertToEndcapModule (int mid, org.omg.CORBA.IntHolder disk, org.omg.CORBA.IntHolder ring, org.omg.CORBA.IntHolder number)
00913 {
00914 org.omg.CORBA.portable.InputStream $in = null;
00915 try {
00916 org.omg.CORBA.portable.OutputStream $out = _request ("convertToEndcapModule", true);
00917 $out.write_ulong (mid);
00918 $in = _invoke ($out);
00919 disk.value = $in.read_long ();
00920 ring.value = $in.read_ulong ();
00921 number.value = $in.read_ulong ();
00922 return;
00923 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00924 $in = $ex.getInputStream ();
00925 String _id = $ex.getId ();
00926 throw new org.omg.CORBA.MARSHAL (_id);
00927 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00928 convertToEndcapModule (mid, disk, ring, number );
00929 } finally {
00930 _releaseReply ($in);
00931 }
00932 }
00933
00934
00936 public void getABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00937 {
00938 org.omg.CORBA.portable.InputStream $in = null;
00939 try {
00940 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModules", true);
00941 Sct_SctApi.BankTypeHelper.write ($out, bank);
00942 $in = _invoke ($out);
00943 return;
00944 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00945 $in = $ex.getInputStream ();
00946 String _id = $ex.getId ();
00947 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00948 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00949 else
00950 throw new org.omg.CORBA.MARSHAL (_id);
00951 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00952 getABCDModules (bank );
00953 } finally {
00954 _releaseReply ($in);
00955 }
00956 }
00957
00958 public void getABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00959 {
00960 org.omg.CORBA.portable.InputStream $in = null;
00961 try {
00962 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModule", true);
00963 $out.write_ulong (mid);
00964 Sct_SctApi.BankTypeHelper.write ($out, bank);
00965 $in = _invoke ($out);
00966 return;
00967 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00968 $in = $ex.getInputStream ();
00969 String _id = $ex.getId ();
00970 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00971 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00972 else
00973 throw new org.omg.CORBA.MARSHAL (_id);
00974 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00975 getABCDModule (mid, bank );
00976 } finally {
00977 _releaseReply ($in);
00978 }
00979 }
00980
00981 public sctConf.ABCDModule getABCDModuleRaw (int partition, int crate, int rod, int slot, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00982 {
00983 org.omg.CORBA.portable.InputStream $in = null;
00984 try {
00985 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModuleRaw", true);
00986 $out.write_ulong (partition);
00987 $out.write_ulong (crate);
00988 $out.write_ulong (rod);
00989 $out.write_ulong (slot);
00990 Sct_SctApi.BankTypeHelper.write ($out, bank);
00991 $in = _invoke ($out);
00992 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00993 return $result;
00994 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00995 $in = $ex.getInputStream ();
00996 String _id = $ex.getId ();
00997 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00998 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00999 else
01000 throw new org.omg.CORBA.MARSHAL (_id);
01001 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01002 return getABCDModuleRaw (partition, crate, rod, slot, bank );
01003 } finally {
01004 _releaseReply ($in);
01005 }
01006 }
01007
01008 public void setABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
01009 {
01010 org.omg.CORBA.portable.InputStream $in = null;
01011 try {
01012 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
01013 $out.write_ulong (mid);
01014 Sct_SctApi.BankTypeHelper.write ($out, bank);
01015 $in = _invoke ($out);
01016 return;
01017 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01018 $in = $ex.getInputStream ();
01019 String _id = $ex.getId ();
01020 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01021 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01022 else
01023 throw new org.omg.CORBA.MARSHAL (_id);
01024 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01025 setABCDModule (mid, bank );
01026 } finally {
01027 _releaseReply ($in);
01028 }
01029 }
01030
01031 public void setABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
01032 {
01033 org.omg.CORBA.portable.InputStream $in = null;
01034 try {
01035 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
01036 Sct_SctApi.BankTypeHelper.write ($out, bank);
01037 $in = _invoke ($out);
01038 return;
01039 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01040 $in = $ex.getInputStream ();
01041 String _id = $ex.getId ();
01042 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01043 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01044 else
01045 throw new org.omg.CORBA.MARSHAL (_id);
01046 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01047 setABCDModules (bank );
01048 } finally {
01049 _releaseReply ($in);
01050 }
01051 }
01052
01053 public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
01054 {
01055 org.omg.CORBA.portable.InputStream $in = null;
01056 try {
01057 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
01058 $out.write_ulong (mid);
01059 Sct_SctApi.BankTypeHelper.write ($out, bank);
01060 $out.write_ulong (type);
01061 $in = _invoke ($out);
01062 return;
01063 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01064 $in = $ex.getInputStream ();
01065 String _id = $ex.getId ();
01066 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01067 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01068 else
01069 throw new org.omg.CORBA.MARSHAL (_id);
01070 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01071 sendABCDModule (mid, bank, type );
01072 } finally {
01073 _releaseReply ($in);
01074 }
01075 }
01076
01077 public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
01078 {
01079 org.omg.CORBA.portable.InputStream $in = null;
01080 try {
01081 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
01082 Sct_SctApi.BankTypeHelper.write ($out, bank);
01083 $in = _invoke ($out);
01084 return;
01085 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01086 $in = $ex.getInputStream ();
01087 String _id = $ex.getId ();
01088 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01089 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01090 else
01091 throw new org.omg.CORBA.MARSHAL (_id);
01092 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01093 sendABCDModules (bank );
01094 } finally {
01095 _releaseReply ($in);
01096 }
01097 }
01098
01099 public void modifyABCDMask (int mid, int[] mask)
01100 {
01101 org.omg.CORBA.portable.InputStream $in = null;
01102 try {
01103 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
01104 $out.write_ulong (mid);
01105 Sct_SctApi.DataBlockHelper.write ($out, mask);
01106 $in = _invoke ($out);
01107 return;
01108 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01109 $in = $ex.getInputStream ();
01110 String _id = $ex.getId ();
01111 throw new org.omg.CORBA.MARSHAL (_id);
01112 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01113 modifyABCDMask (mid, mask );
01114 } finally {
01115 _releaseReply ($in);
01116 }
01117 }
01118
01119 public void modifyABCDTrims (int mid, short[] trims)
01120 {
01121 org.omg.CORBA.portable.InputStream $in = null;
01122 try {
01123 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
01124 $out.write_ulong (mid);
01125 Sct_SctApi.CharBlockHelper.write ($out, trims);
01126 $in = _invoke ($out);
01127 return;
01128 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01129 $in = $ex.getInputStream ();
01130 String _id = $ex.getId ();
01131 throw new org.omg.CORBA.MARSHAL (_id);
01132 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01133 modifyABCDTrims (mid, trims );
01134 } finally {
01135 _releaseReply ($in);
01136 }
01137 }
01138
01139 public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
01140 {
01141 org.omg.CORBA.portable.InputStream $in = null;
01142 try {
01143 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
01144 $out.write_ulong (mid);
01145 $out.write_ulong (chip);
01146 $out.write_ushort (index);
01147 $out.write_double (p0);
01148 $out.write_double (p1);
01149 $out.write_double (p2);
01150 $in = _invoke ($out);
01151 return;
01152 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01153 $in = $ex.getInputStream ();
01154 String _id = $ex.getId ();
01155 throw new org.omg.CORBA.MARSHAL (_id);
01156 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01157 modifyABCDRC (mid, chip, index, p0, p1, p2 );
01158 } finally {
01159 _releaseReply ($in);
01160 }
01161 }
01162
01163
01164
01165 public void modifyABCDVar (int typ, double var)
01166 {
01167 org.omg.CORBA.portable.InputStream $in = null;
01168 try {
01169 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
01170 $out.write_ulong (typ);
01171 $out.write_double (var);
01172 $in = _invoke ($out);
01173 return;
01174 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01175 $in = $ex.getInputStream ();
01176 String _id = $ex.getId ();
01177 throw new org.omg.CORBA.MARSHAL (_id);
01178 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01179 modifyABCDVar (typ, var );
01180 } finally {
01181 _releaseReply ($in);
01182 }
01183 }
01184
01185 public void modifyABCDModuleVar (int mid, int typ, double var)
01186 {
01187 org.omg.CORBA.portable.InputStream $in = null;
01188 try {
01189 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
01190 $out.write_ulong (mid);
01191 $out.write_ulong (typ);
01192 $out.write_double (var);
01193 $in = _invoke ($out);
01194 return;
01195 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01196 $in = $ex.getInputStream ();
01197 String _id = $ex.getId ();
01198 throw new org.omg.CORBA.MARSHAL (_id);
01199 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01200 modifyABCDModuleVar (mid, typ, var );
01201 } finally {
01202 _releaseReply ($in);
01203 }
01204 }
01205
01206 public void modifyABCDChipVar (int mid, int chip, int typ, double var)
01207 {
01208 org.omg.CORBA.portable.InputStream $in = null;
01209 try {
01210 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
01211 $out.write_ulong (mid);
01212 $out.write_ulong (chip);
01213 $out.write_ulong (typ);
01214 $out.write_double (var);
01215 $in = _invoke ($out);
01216 return;
01217 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01218 $in = $ex.getInputStream ();
01219 String _id = $ex.getId ();
01220 throw new org.omg.CORBA.MARSHAL (_id);
01221 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01222 modifyABCDChipVar (mid, chip, typ, var );
01223 } finally {
01224 _releaseReply ($in);
01225 }
01226 }
01227
01228 public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType bank)
01229 {
01230 org.omg.CORBA.portable.InputStream $in = null;
01231 try {
01232 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
01233 $out.write_ulong (typ);
01234 $out.write_double (var);
01235 Sct_SctApi.BankTypeHelper.write ($out, bank);
01236 $in = _invoke ($out);
01237 return;
01238 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01239 $in = $ex.getInputStream ();
01240 String _id = $ex.getId ();
01241 throw new org.omg.CORBA.MARSHAL (_id);
01242 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01243 modifyABCDVarROD (typ, var, bank );
01244 } finally {
01245 _releaseReply ($in);
01246 }
01247 }
01248
01249 public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType bank)
01250 {
01251 org.omg.CORBA.portable.InputStream $in = null;
01252 try {
01253 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
01254 $out.write_ulong (mid);
01255 $out.write_ulong (typ);
01256 $out.write_double (var);
01257 Sct_SctApi.BankTypeHelper.write ($out, bank);
01258 $in = _invoke ($out);
01259 return;
01260 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01261 $in = $ex.getInputStream ();
01262 String _id = $ex.getId ();
01263 throw new org.omg.CORBA.MARSHAL (_id);
01264 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01265 modifyABCDModuleVarROD (mid, typ, var, bank );
01266 } finally {
01267 _releaseReply ($in);
01268 }
01269 }
01270
01271 public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
01272 {
01273 org.omg.CORBA.portable.InputStream $in = null;
01274 try {
01275 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
01276 $out.write_ulong (partition);
01277 $out.write_ulong (crate);
01278 $out.write_ulong (rod);
01279 $out.write_ulong (channel);
01280 $out.write_ulong (type);
01281 $out.write_ulong (val);
01282 $in = _invoke ($out);
01283 return;
01284 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01285 $in = $ex.getInputStream ();
01286 String _id = $ex.getId ();
01287 throw new org.omg.CORBA.MARSHAL (_id);
01288 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01289 modifyBOCParam (partition, crate, rod, channel, type, val );
01290 } finally {
01291 _releaseReply ($in);
01292 }
01293 }
01294
01295 public void lasersOff ()
01296 {
01297 org.omg.CORBA.portable.InputStream $in = null;
01298 try {
01299 org.omg.CORBA.portable.OutputStream $out = _request ("lasersOff", true);
01300 $in = _invoke ($out);
01301 return;
01302 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01303 $in = $ex.getInputStream ();
01304 String _id = $ex.getId ();
01305 throw new org.omg.CORBA.MARSHAL (_id);
01306 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01307 lasersOff ( );
01308 } finally {
01309 _releaseReply ($in);
01310 }
01311 }
01312
01313
01314
01315 public void timSetFrequency (int partition, int crate, double trigFreq, double rstFreq)
01316 {
01317 org.omg.CORBA.portable.InputStream $in = null;
01318 try {
01319 org.omg.CORBA.portable.OutputStream $out = _request ("timSetFrequency", true);
01320 $out.write_ulong (partition);
01321 $out.write_ulong (crate);
01322 $out.write_double (trigFreq);
01323 $out.write_double (rstFreq);
01324 $in = _invoke ($out);
01325 return;
01326 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01327 $in = $ex.getInputStream ();
01328 String _id = $ex.getId ();
01329 throw new org.omg.CORBA.MARSHAL (_id);
01330 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01331 timSetFrequency (partition, crate, trigFreq, rstFreq );
01332 } finally {
01333 _releaseReply ($in);
01334 }
01335 }
01336
01337 public void freeTriggers (int partition, int crate)
01338 {
01339 org.omg.CORBA.portable.InputStream $in = null;
01340 try {
01341 org.omg.CORBA.portable.OutputStream $out = _request ("freeTriggers", true);
01342 $out.write_ulong (partition);
01343 $out.write_ulong (crate);
01344 $in = _invoke ($out);
01345 return;
01346 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01347 $in = $ex.getInputStream ();
01348 String _id = $ex.getId ();
01349 throw new org.omg.CORBA.MARSHAL (_id);
01350 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01351 freeTriggers (partition, crate );
01352 } finally {
01353 _releaseReply ($in);
01354 }
01355 }
01356
01357 public void stopTriggers (int partition, int crate)
01358 {
01359 org.omg.CORBA.portable.InputStream $in = null;
01360 try {
01361 org.omg.CORBA.portable.OutputStream $out = _request ("stopTriggers", true);
01362 $out.write_ulong (partition);
01363 $out.write_ulong (crate);
01364 $in = _invoke ($out);
01365 return;
01366 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01367 $in = $ex.getInputStream ();
01368 String _id = $ex.getId ();
01369 throw new org.omg.CORBA.MARSHAL (_id);
01370 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01371 stopTriggers (partition, crate );
01372 } finally {
01373 _releaseReply ($in);
01374 }
01375 }
01376
01377 public void timL1A (int partition, int crate)
01378 {
01379 org.omg.CORBA.portable.InputStream $in = null;
01380 try {
01381 org.omg.CORBA.portable.OutputStream $out = _request ("timL1A", true);
01382 $out.write_ulong (partition);
01383 $out.write_ulong (crate);
01384 $in = _invoke ($out);
01385 return;
01386 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01387 $in = $ex.getInputStream ();
01388 String _id = $ex.getId ();
01389 throw new org.omg.CORBA.MARSHAL (_id);
01390 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01391 timL1A (partition, crate );
01392 } finally {
01393 _releaseReply ($in);
01394 }
01395 }
01396
01397 public void timCalL1A (int partition, int crate, short delay)
01398 {
01399 org.omg.CORBA.portable.InputStream $in = null;
01400 try {
01401 org.omg.CORBA.portable.OutputStream $out = _request ("timCalL1A", true);
01402 $out.write_ulong (partition);
01403 $out.write_ulong (crate);
01404 $out.write_short (delay);
01405 $in = _invoke ($out);
01406 return;
01407 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01408 $in = $ex.getInputStream ();
01409 String _id = $ex.getId ();
01410 throw new org.omg.CORBA.MARSHAL (_id);
01411 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01412 timCalL1A (partition, crate, delay );
01413 } finally {
01414 _releaseReply ($in);
01415 }
01416 }
01417
01418 public short timReadRegister (int partition, int crate, short value)
01419 {
01420 org.omg.CORBA.portable.InputStream $in = null;
01421 try {
01422 org.omg.CORBA.portable.OutputStream $out = _request ("timReadRegister", true);
01423 $out.write_ulong (partition);
01424 $out.write_ulong (crate);
01425 $out.write_short (value);
01426 $in = _invoke ($out);
01427 short $result = $in.read_short ();
01428 return $result;
01429 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01430 $in = $ex.getInputStream ();
01431 String _id = $ex.getId ();
01432 throw new org.omg.CORBA.MARSHAL (_id);
01433 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01434 return timReadRegister (partition, crate, value );
01435 } finally {
01436 _releaseReply ($in);
01437 }
01438 }
01439
01440 public void sendTimTrigger (int partition, int crate, Sct_SctApi.Trigger trig)
01441 {
01442 org.omg.CORBA.portable.InputStream $in = null;
01443 try {
01444 org.omg.CORBA.portable.OutputStream $out = _request ("sendTimTrigger", true);
01445 $out.write_ulong (partition);
01446 $out.write_ulong (crate);
01447 Sct_SctApi.TriggerHelper.write ($out, trig);
01448 $in = _invoke ($out);
01449 return;
01450 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01451 $in = $ex.getInputStream ();
01452 String _id = $ex.getId ();
01453 throw new org.omg.CORBA.MARSHAL (_id);
01454 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01455 sendTimTrigger (partition, crate, trig );
01456 } finally {
01457 _releaseReply ($in);
01458 }
01459 }
01460
01461 public void sendTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01462 {
01463 org.omg.CORBA.portable.InputStream $in = null;
01464 try {
01465 org.omg.CORBA.portable.OutputStream $out = _request ("sendTrigger", true);
01466 $out.write_ulong (partition);
01467 $out.write_ulong (crate);
01468 $out.write_ulong (rod);
01469 Sct_SctApi.TriggerHelper.write ($out, trig);
01470 $in = _invoke ($out);
01471 return;
01472 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01473 $in = $ex.getInputStream ();
01474 String _id = $ex.getId ();
01475 throw new org.omg.CORBA.MARSHAL (_id);
01476 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01477 sendTrigger (partition, crate, rod, trig );
01478 } finally {
01479 _releaseReply ($in);
01480 }
01481 }
01482
01483
01484
01485 public void doScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
01486 {
01487 org.omg.CORBA.portable.InputStream $in = null;
01488 try {
01489 org.omg.CORBA.portable.OutputStream $out = _request ("doScan", true);
01490 Sct_SctApi.ScanHelper.write ($out, thisScan);
01491 $in = _invoke ($out);
01492 return;
01493 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01494 $in = $ex.getInputStream ();
01495 String _id = $ex.getId ();
01496 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01497 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01498 else
01499 throw new org.omg.CORBA.MARSHAL (_id);
01500 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01501 doScan (thisScan );
01502 } finally {
01503 _releaseReply ($in);
01504 }
01505 }
01506
01507 public void doRawScan (Sct_SctApi.Scan thisScan, int delay, int width, boolean configure, boolean clockByTwo) throws Sct_SctApi.SctApiException
01508 {
01509 org.omg.CORBA.portable.InputStream $in = null;
01510 try {
01511 org.omg.CORBA.portable.OutputStream $out = _request ("doRawScan", true);
01512 Sct_SctApi.ScanHelper.write ($out, thisScan);
01513 $out.write_long (delay);
01514 $out.write_long (width);
01515 $out.write_boolean (configure);
01516 $out.write_boolean (clockByTwo);
01517 $in = _invoke ($out);
01518 return;
01519 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01520 $in = $ex.getInputStream ();
01521 String _id = $ex.getId ();
01522 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01523 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01524 else
01525 throw new org.omg.CORBA.MARSHAL (_id);
01526 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01527 doRawScan (thisScan, delay, width, configure, clockByTwo );
01528 } finally {
01529 _releaseReply ($in);
01530 }
01531 }
01532
01533 public void printBOCSetup (int partition, int crate, int rod)
01534 {
01535 org.omg.CORBA.portable.InputStream $in = null;
01536 try {
01537 org.omg.CORBA.portable.OutputStream $out = _request ("printBOCSetup", true);
01538 $out.write_ulong (partition);
01539 $out.write_ulong (crate);
01540 $out.write_ulong (rod);
01541 $in = _invoke ($out);
01542 return;
01543 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01544 $in = $ex.getInputStream ();
01545 String _id = $ex.getId ();
01546 throw new org.omg.CORBA.MARSHAL (_id);
01547 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01548 printBOCSetup (partition, crate, rod );
01549 } finally {
01550 _releaseReply ($in);
01551 }
01552 }
01553
01554 public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
01555 {
01556 org.omg.CORBA.portable.InputStream $in = null;
01557 try {
01558 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
01559 $out.write_ulong (partition);
01560 $out.write_ulong (crate);
01561 $out.write_ulong (rod);
01562 $in = _invoke ($out);
01563 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
01564 return $result;
01565 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01566 $in = $ex.getInputStream ();
01567 String _id = $ex.getId ();
01568 throw new org.omg.CORBA.MARSHAL (_id);
01569 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01570 return currentBOCSetup (partition, crate, rod );
01571 } finally {
01572 _releaseReply ($in);
01573 }
01574 }
01575
01576 public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
01577 {
01578 org.omg.CORBA.portable.InputStream $in = null;
01579 try {
01580 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
01581 $out.write_ulong (partition);
01582 $out.write_ulong (crate);
01583 $out.write_ulong (rod);
01584 $in = _invoke ($out);
01585 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
01586 return $result;
01587 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01588 $in = $ex.getInputStream ();
01589 String _id = $ex.getId ();
01590 throw new org.omg.CORBA.MARSHAL (_id);
01591 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01592 return currentBOCRegisters (partition, crate, rod );
01593 } finally {
01594 _releaseReply ($in);
01595 }
01596 }
01597
01598 public void printABCDModule (int mid)
01599 {
01600 org.omg.CORBA.portable.InputStream $in = null;
01601 try {
01602 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDModule", true);
01603 $out.write_ulong (mid);
01604 $in = _invoke ($out);
01605 return;
01606 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01607 $in = $ex.getInputStream ();
01608 String _id = $ex.getId ();
01609 throw new org.omg.CORBA.MARSHAL (_id);
01610 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01611 printABCDModule (mid );
01612 } finally {
01613 _releaseReply ($in);
01614 }
01615 }
01616
01617 public void printABCDRodModule (int mid, Sct_SctApi.BankType bank)
01618 {
01619 org.omg.CORBA.portable.InputStream $in = null;
01620 try {
01621 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDRodModule", true);
01622 $out.write_ulong (mid);
01623 Sct_SctApi.BankTypeHelper.write ($out, bank);
01624 $in = _invoke ($out);
01625 return;
01626 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01627 $in = $ex.getInputStream ();
01628 String _id = $ex.getId ();
01629 throw new org.omg.CORBA.MARSHAL (_id);
01630 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01631 printABCDRodModule (mid, bank );
01632 } finally {
01633 _releaseReply ($in);
01634 }
01635 }
01636
01637 public void decodeEvent (int partition, int crate, int rod, short sl, short index, boolean extFlag, boolean errorType)
01638 {
01639 org.omg.CORBA.portable.InputStream $in = null;
01640 try {
01641 org.omg.CORBA.portable.OutputStream $out = _request ("decodeEvent", true);
01642 $out.write_ulong (partition);
01643 $out.write_ulong (crate);
01644 $out.write_ulong (rod);
01645 $out.write_short (sl);
01646 $out.write_short (index);
01647 $out.write_boolean (extFlag);
01648 $out.write_boolean (errorType);
01649 $in = _invoke ($out);
01650 return;
01651 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01652 $in = $ex.getInputStream ();
01653 String _id = $ex.getId ();
01654 throw new org.omg.CORBA.MARSHAL (_id);
01655 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01656 decodeEvent (partition, crate, rod, sl, index, extFlag, errorType );
01657 } finally {
01658 _releaseReply ($in);
01659 }
01660 }
01661
01662 public void rawData (int partition, int crate, int rod, int delay, int units, boolean setMask)
01663 {
01664 org.omg.CORBA.portable.InputStream $in = null;
01665 try {
01666 org.omg.CORBA.portable.OutputStream $out = _request ("rawData", true);
01667 $out.write_ulong (partition);
01668 $out.write_ulong (crate);
01669 $out.write_ulong (rod);
01670 $out.write_long (delay);
01671 $out.write_long (units);
01672 $out.write_boolean (setMask);
01673 $in = _invoke ($out);
01674 return;
01675 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01676 $in = $ex.getInputStream ();
01677 String _id = $ex.getId ();
01678 throw new org.omg.CORBA.MARSHAL (_id);
01679 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01680 rawData (partition, crate, rod, delay, units, setMask );
01681 } finally {
01682 _releaseReply ($in);
01683 }
01684 }
01685
01686 public void rawDataWithTrigger (int partition, int crate, int rod, int delay, int units, boolean setMask, Sct_SctApi.Trigger trig)
01687 {
01688 org.omg.CORBA.portable.InputStream $in = null;
01689 try {
01690 org.omg.CORBA.portable.OutputStream $out = _request ("rawDataWithTrigger", true);
01691 $out.write_ulong (partition);
01692 $out.write_ulong (crate);
01693 $out.write_ulong (rod);
01694 $out.write_long (delay);
01695 $out.write_long (units);
01696 $out.write_boolean (setMask);
01697 Sct_SctApi.TriggerHelper.write ($out, trig);
01698 $in = _invoke ($out);
01699 return;
01700 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01701 $in = $ex.getInputStream ();
01702 String _id = $ex.getId ();
01703 throw new org.omg.CORBA.MARSHAL (_id);
01704 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01705 rawDataWithTrigger (partition, crate, rod, delay, units, setMask, trig );
01706 } finally {
01707 _releaseReply ($in);
01708 }
01709 }
01710
01711 public void sendL1A (int partition, int crate, int rod)
01712 {
01713 org.omg.CORBA.portable.InputStream $in = null;
01714 try {
01715 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
01716 $out.write_ulong (partition);
01717 $out.write_ulong (crate);
01718 $out.write_ulong (rod);
01719 $in = _invoke ($out);
01720 return;
01721 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01722 $in = $ex.getInputStream ();
01723 String _id = $ex.getId ();
01724 throw new org.omg.CORBA.MARSHAL (_id);
01725 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01726 sendL1A (partition, crate, rod );
01727 } finally {
01728 _releaseReply ($in);
01729 }
01730 }
01731
01732 public short[] probe (int partition, int crate, int rod)
01733 {
01734 org.omg.CORBA.portable.InputStream $in = null;
01735 try {
01736 org.omg.CORBA.portable.OutputStream $out = _request ("probe", true);
01737 $out.write_ulong (partition);
01738 $out.write_ulong (crate);
01739 $out.write_ulong (rod);
01740 $in = _invoke ($out);
01741 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01742 return $result;
01743 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01744 $in = $ex.getInputStream ();
01745 String _id = $ex.getId ();
01746 throw new org.omg.CORBA.MARSHAL (_id);
01747 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01748 return probe (partition, crate, rod );
01749 } finally {
01750 _releaseReply ($in);
01751 }
01752 }
01753
01754 public short[] probeHarness (int partition, int crate, int rod, int harness)
01755 {
01756 org.omg.CORBA.portable.InputStream $in = null;
01757 try {
01758 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarness", true);
01759 $out.write_ulong (partition);
01760 $out.write_ulong (crate);
01761 $out.write_ulong (rod);
01762 $out.write_ulong (harness);
01763 $in = _invoke ($out);
01764 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01765 return $result;
01766 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01767 $in = $ex.getInputStream ();
01768 String _id = $ex.getId ();
01769 throw new org.omg.CORBA.MARSHAL (_id);
01770 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01771 return probeHarness (partition, crate, rod, harness );
01772 } finally {
01773 _releaseReply ($in);
01774 }
01775 }
01776
01777 public short[] probeWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01778 {
01779 org.omg.CORBA.portable.InputStream $in = null;
01780 try {
01781 org.omg.CORBA.portable.OutputStream $out = _request ("probeWithTrigger", true);
01782 $out.write_ulong (partition);
01783 $out.write_ulong (crate);
01784 $out.write_ulong (rod);
01785 Sct_SctApi.TriggerHelper.write ($out, trig);
01786 $in = _invoke ($out);
01787 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01788 return $result;
01789 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01790 $in = $ex.getInputStream ();
01791 String _id = $ex.getId ();
01792 throw new org.omg.CORBA.MARSHAL (_id);
01793 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01794 return probeWithTrigger (partition, crate, rod, trig );
01795 } finally {
01796 _releaseReply ($in);
01797 }
01798 }
01799
01800 public short[] probeHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig, int harness)
01801 {
01802 org.omg.CORBA.portable.InputStream $in = null;
01803 try {
01804 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarnessWithTrigger", true);
01805 $out.write_ulong (partition);
01806 $out.write_ulong (crate);
01807 $out.write_ulong (rod);
01808 Sct_SctApi.TriggerHelper.write ($out, trig);
01809 $out.write_ulong (harness);
01810 $in = _invoke ($out);
01811 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01812 return $result;
01813 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01814 $in = $ex.getInputStream ();
01815 String _id = $ex.getId ();
01816 throw new org.omg.CORBA.MARSHAL (_id);
01817 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01818 return probeHarnessWithTrigger (partition, crate, rod, trig, harness );
01819 } finally {
01820 _releaseReply ($in);
01821 }
01822 }
01823
01824 public short[][] probeScanHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Scan trig, int harness)
01825 {
01826 org.omg.CORBA.portable.InputStream $in = null;
01827 try {
01828 org.omg.CORBA.portable.OutputStream $out = _request ("probeScanHarnessWithTrigger", true);
01829 $out.write_ulong (partition);
01830 $out.write_ulong (crate);
01831 $out.write_ulong (rod);
01832 Sct_SctApi.ScanHelper.write ($out, trig);
01833 $out.write_ulong (harness);
01834 $in = _invoke ($out);
01835 short $result[][] = Sct_SctApi.CharMatrixHelper.read ($in);
01836 return $result;
01837 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01838 $in = $ex.getInputStream ();
01839 String _id = $ex.getId ();
01840 throw new org.omg.CORBA.MARSHAL (_id);
01841 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01842 return probeScanHarnessWithTrigger (partition, crate, rod, trig, harness );
01843 } finally {
01844 _releaseReply ($in);
01845 }
01846 }
01847
01848 public boolean checkAllModulesProbe (String chars) throws Sct_SctApi.SctApiException
01849 {
01850 org.omg.CORBA.portable.InputStream $in = null;
01851 try {
01852 org.omg.CORBA.portable.OutputStream $out = _request ("checkAllModulesProbe", true);
01853 $out.write_string (chars);
01854 $in = _invoke ($out);
01855 boolean $result = $in.read_boolean ();
01856 return $result;
01857 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01858 $in = $ex.getInputStream ();
01859 String _id = $ex.getId ();
01860 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01861 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01862 else
01863 throw new org.omg.CORBA.MARSHAL (_id);
01864 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01865 return checkAllModulesProbe (chars );
01866 } finally {
01867 _releaseReply ($in);
01868 }
01869 }
01870
01871 public Sct_SctApi.AutoConfigResult[] autoConfigureScan () throws Sct_SctApi.SctApiException
01872 {
01873 org.omg.CORBA.portable.InputStream $in = null;
01874 try {
01875 org.omg.CORBA.portable.OutputStream $out = _request ("autoConfigureScan", true);
01876 $in = _invoke ($out);
01877 Sct_SctApi.AutoConfigResult $result[] = Sct_SctApi.AutoResultListHelper.read ($in);
01878 return $result;
01879 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01880 $in = $ex.getInputStream ();
01881 String _id = $ex.getId ();
01882 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01883 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01884 else
01885 throw new org.omg.CORBA.MARSHAL (_id);
01886 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01887 return autoConfigureScan ( );
01888 } finally {
01889 _releaseReply ($in);
01890 }
01891 }
01892
01893 public int getRodSlot (int partition, int crate, int rod)
01894 {
01895 org.omg.CORBA.portable.InputStream $in = null;
01896 try {
01897 org.omg.CORBA.portable.OutputStream $out = _request ("getRodSlot", true);
01898 $out.write_ulong (partition);
01899 $out.write_ulong (crate);
01900 $out.write_ulong (rod);
01901 $in = _invoke ($out);
01902 int $result = $in.read_ulong ();
01903 return $result;
01904 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01905 $in = $ex.getInputStream ();
01906 String _id = $ex.getId ();
01907 throw new org.omg.CORBA.MARSHAL (_id);
01908 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01909 return getRodSlot (partition, crate, rod );
01910 } finally {
01911 _releaseReply ($in);
01912 }
01913 }
01914
01915 public void testLinkOutSelect (int partition, int crate, int rod, int link)
01916 {
01917 org.omg.CORBA.portable.InputStream $in = null;
01918 try {
01919 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutSelect", true);
01920 $out.write_ulong (partition);
01921 $out.write_ulong (crate);
01922 $out.write_ulong (rod);
01923 $out.write_ulong (link);
01924 $in = _invoke ($out);
01925 return;
01926 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01927 $in = $ex.getInputStream ();
01928 String _id = $ex.getId ();
01929 throw new org.omg.CORBA.MARSHAL (_id);
01930 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01931 testLinkOutSelect (partition, crate, rod, link );
01932 } finally {
01933 _releaseReply ($in);
01934 }
01935 }
01936
01937 public int testLinkOutRetrieve (int partition, int crate, int rod)
01938 {
01939 org.omg.CORBA.portable.InputStream $in = null;
01940 try {
01941 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutRetrieve", true);
01942 $out.write_ulong (partition);
01943 $out.write_ulong (crate);
01944 $out.write_ulong (rod);
01945 $in = _invoke ($out);
01946 int $result = $in.read_ulong ();
01947 return $result;
01948 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01949 $in = $ex.getInputStream ();
01950 String _id = $ex.getId ();
01951 throw new org.omg.CORBA.MARSHAL (_id);
01952 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01953 return testLinkOutRetrieve (partition, crate, rod );
01954 } finally {
01955 _releaseReply ($in);
01956 }
01957 }
01958
01959
01960
01961 public void requestHardReset (int mid)
01962 {
01963 org.omg.CORBA.portable.InputStream $in = null;
01964 try {
01965 org.omg.CORBA.portable.OutputStream $out = _request ("requestHardReset", true);
01966 $out.write_ulong (mid);
01967 $in = _invoke ($out);
01968 return;
01969 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01970 $in = $ex.getInputStream ();
01971 String _id = $ex.getId ();
01972 throw new org.omg.CORBA.MARSHAL (_id);
01973 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01974 requestHardReset (mid );
01975 } finally {
01976 _releaseReply ($in);
01977 }
01978 }
01979
01980 public void requestIVCurve (int mid, float start, float stop, float step, short delay, float currentLim)
01981 {
01982 org.omg.CORBA.portable.InputStream $in = null;
01983 try {
01984 org.omg.CORBA.portable.OutputStream $out = _request ("requestIVCurve", true);
01985 $out.write_ulong (mid);
01986 $out.write_float (start);
01987 $out.write_float (stop);
01988 $out.write_float (step);
01989 $out.write_ushort (delay);
01990 $out.write_float (currentLim);
01991 $in = _invoke ($out);
01992 return;
01993 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01994 $in = $ex.getInputStream ();
01995 String _id = $ex.getId ();
01996 throw new org.omg.CORBA.MARSHAL (_id);
01997 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01998 requestIVCurve (mid, start, stop, step, delay, currentLim );
01999 } finally {
02000 _releaseReply ($in);
02001 }
02002 }
02003
02004 public void setSelect (int mid, boolean value)
02005 {
02006 org.omg.CORBA.portable.InputStream $in = null;
02007 try {
02008 org.omg.CORBA.portable.OutputStream $out = _request ("setSelect", true);
02009 $out.write_ulong (mid);
02010 $out.write_boolean (value);
02011 $in = _invoke ($out);
02012 return;
02013 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02014 $in = $ex.getInputStream ();
02015 String _id = $ex.getId ();
02016 throw new org.omg.CORBA.MARSHAL (_id);
02017 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02018 setSelect (mid, value );
02019 } finally {
02020 _releaseReply ($in);
02021 }
02022 }
02023
02024 public void setSelectAllInCrate (int crate, boolean value)
02025 {
02026 org.omg.CORBA.portable.InputStream $in = null;
02027 try {
02028 org.omg.CORBA.portable.OutputStream $out = _request ("setSelectAllInCrate", true);
02029 $out.write_long (crate);
02030 $out.write_boolean (value);
02031 $in = _invoke ($out);
02032 return;
02033 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02034 $in = $ex.getInputStream ();
02035 String _id = $ex.getId ();
02036 throw new org.omg.CORBA.MARSHAL (_id);
02037 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02038 setSelectAllInCrate (crate, value );
02039 } finally {
02040 _releaseReply ($in);
02041 }
02042 }
02043
02044 public void changeRunState (int state)
02045 {
02046 org.omg.CORBA.portable.InputStream $in = null;
02047 try {
02048 org.omg.CORBA.portable.OutputStream $out = _request ("changeRunState", true);
02049 $out.write_long (state);
02050 $in = _invoke ($out);
02051 return;
02052 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02053 $in = $ex.getInputStream ();
02054 String _id = $ex.getId ();
02055 throw new org.omg.CORBA.MARSHAL (_id);
02056 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02057 changeRunState (state );
02058 } finally {
02059 _releaseReply ($in);
02060 }
02061 }
02062
02063
02064
02065 public void ddcSetSingleTimeout (short timeout)
02066 {
02067 org.omg.CORBA.portable.InputStream $in = null;
02068 try {
02069 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetSingleTimeout", true);
02070 $out.write_short (timeout);
02071 $in = _invoke ($out);
02072 return;
02073 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02074 $in = $ex.getInputStream ();
02075 String _id = $ex.getId ();
02076 throw new org.omg.CORBA.MARSHAL (_id);
02077 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02078 ddcSetSingleTimeout (timeout );
02079 } finally {
02080 _releaseReply ($in);
02081 }
02082 }
02083
02084 public short ddcGetSingleTimeout ()
02085 {
02086 org.omg.CORBA.portable.InputStream $in = null;
02087 try {
02088 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetSingleTimeout", true);
02089 $in = _invoke ($out);
02090 short $result = $in.read_short ();
02091 return $result;
02092 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02093 $in = $ex.getInputStream ();
02094 String _id = $ex.getId ();
02095 throw new org.omg.CORBA.MARSHAL (_id);
02096 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02097 return ddcGetSingleTimeout ( );
02098 } finally {
02099 _releaseReply ($in);
02100 }
02101 }
02102
02103 public void ddcSetMultipleTimeout (short timeout)
02104 {
02105 org.omg.CORBA.portable.InputStream $in = null;
02106 try {
02107 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetMultipleTimeout", true);
02108 $out.write_short (timeout);
02109 $in = _invoke ($out);
02110 return;
02111 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02112 $in = $ex.getInputStream ();
02113 String _id = $ex.getId ();
02114 throw new org.omg.CORBA.MARSHAL (_id);
02115 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02116 ddcSetMultipleTimeout (timeout );
02117 } finally {
02118 _releaseReply ($in);
02119 }
02120 }
02121
02122 public short ddcGetMultipleTimeout ()
02123 {
02124 org.omg.CORBA.portable.InputStream $in = null;
02125 try {
02126 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetMultipleTimeout", true);
02127 $in = _invoke ($out);
02128 short $result = $in.read_short ();
02129 return $result;
02130 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02131 $in = $ex.getInputStream ();
02132 String _id = $ex.getId ();
02133 throw new org.omg.CORBA.MARSHAL (_id);
02134 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02135 return ddcGetMultipleTimeout ( );
02136 } finally {
02137 _releaseReply ($in);
02138 }
02139 }
02140
02141 public void ddcChangeState (int crate, int channel, short state)
02142 {
02143 org.omg.CORBA.portable.InputStream $in = null;
02144 try {
02145 org.omg.CORBA.portable.OutputStream $out = _request ("ddcChangeState", true);
02146 $out.write_long (crate);
02147 $out.write_long (channel);
02148 $out.write_short (state);
02149 $in = _invoke ($out);
02150 return;
02151 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02152 $in = $ex.getInputStream ();
02153 String _id = $ex.getId ();
02154 throw new org.omg.CORBA.MARSHAL (_id);
02155 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02156 ddcChangeState (crate, channel, state );
02157 } finally {
02158 _releaseReply ($in);
02159 }
02160 }
02161
02162
02163
02164 public void ddcChangeStateAll (int crate, short state)
02165 {
02166 org.omg.CORBA.portable.InputStream $in = null;
02167 try {
02168 org.omg.CORBA.portable.OutputStream $out = _request ("ddcChangeStateAll", true);
02169 $out.write_long (crate);
02170 $out.write_short (state);
02171 $in = _invoke ($out);
02172 return;
02173 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02174 $in = $ex.getInputStream ();
02175 String _id = $ex.getId ();
02176 throw new org.omg.CORBA.MARSHAL (_id);
02177 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02178 ddcChangeStateAll (crate, state );
02179 } finally {
02180 _releaseReply ($in);
02181 }
02182 }
02183
02184
02185
02186 public void ddcLoadConfiguration (int crate, short state)
02187 {
02188 org.omg.CORBA.portable.InputStream $in = null;
02189 try {
02190 org.omg.CORBA.portable.OutputStream $out = _request ("ddcLoadConfiguration", true);
02191 $out.write_long (crate);
02192 $out.write_short (state);
02193 $in = _invoke ($out);
02194 return;
02195 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02196 $in = $ex.getInputStream ();
02197 String _id = $ex.getId ();
02198 throw new org.omg.CORBA.MARSHAL (_id);
02199 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02200 ddcLoadConfiguration (crate, state );
02201 } finally {
02202 _releaseReply ($in);
02203 }
02204 }
02205
02206
02207
02208 public void ddcHardReset (int crate, int channel)
02209 {
02210 org.omg.CORBA.portable.InputStream $in = null;
02211 try {
02212 org.omg.CORBA.portable.OutputStream $out = _request ("ddcHardReset", true);
02213 $out.write_long (crate);
02214 $out.write_long (channel);
02215 $in = _invoke ($out);
02216 return;
02217 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02218 $in = $ex.getInputStream ();
02219 String _id = $ex.getId ();
02220 throw new org.omg.CORBA.MARSHAL (_id);
02221 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02222 ddcHardReset (crate, channel );
02223 } finally {
02224 _releaseReply ($in);
02225 }
02226 }
02227
02228
02229
02230 public void ddcHardResetAll (int crate)
02231 {
02232 org.omg.CORBA.portable.InputStream $in = null;
02233 try {
02234 org.omg.CORBA.portable.OutputStream $out = _request ("ddcHardResetAll", true);
02235 $out.write_long (crate);
02236 $in = _invoke ($out);
02237 return;
02238 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02239 $in = $ex.getInputStream ();
02240 String _id = $ex.getId ();
02241 throw new org.omg.CORBA.MARSHAL (_id);
02242 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02243 ddcHardResetAll (crate );
02244 } finally {
02245 _releaseReply ($in);
02246 }
02247 }
02248
02249
02250
02251 public int ddcGetChannelParameterInt (int crate, int channel, String name)
02252 {
02253 org.omg.CORBA.portable.InputStream $in = null;
02254 try {
02255 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterInt", true);
02256 $out.write_long (crate);
02257 $out.write_long (channel);
02258 $out.write_string (name);
02259 $in = _invoke ($out);
02260 int $result = $in.read_ulong ();
02261 return $result;
02262 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02263 $in = $ex.getInputStream ();
02264 String _id = $ex.getId ();
02265 throw new org.omg.CORBA.MARSHAL (_id);
02266 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02267 return ddcGetChannelParameterInt (crate, channel, name );
02268 } finally {
02269 _releaseReply ($in);
02270 }
02271 }
02272
02273
02274
02275 public float ddcGetChannelParameterFloat (int crate, int channel, String name)
02276 {
02277 org.omg.CORBA.portable.InputStream $in = null;
02278 try {
02279 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterFloat", true);
02280 $out.write_long (crate);
02281 $out.write_long (channel);
02282 $out.write_string (name);
02283 $in = _invoke ($out);
02284 float $result = $in.read_float ();
02285 return $result;
02286 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02287 $in = $ex.getInputStream ();
02288 String _id = $ex.getId ();
02289 throw new org.omg.CORBA.MARSHAL (_id);
02290 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02291 return ddcGetChannelParameterFloat (crate, channel, name );
02292 } finally {
02293 _releaseReply ($in);
02294 }
02295 }
02296
02297
02298
02299 public String ddcGetChannelParameterString (int crate, int channel, String name)
02300 {
02301 org.omg.CORBA.portable.InputStream $in = null;
02302 try {
02303 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterString", true);
02304 $out.write_long (crate);
02305 $out.write_long (channel);
02306 $out.write_string (name);
02307 $in = _invoke ($out);
02308 String $result = $in.read_string ();
02309 return $result;
02310 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02311 $in = $ex.getInputStream ();
02312 String _id = $ex.getId ();
02313 throw new org.omg.CORBA.MARSHAL (_id);
02314 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02315 return ddcGetChannelParameterString (crate, channel, name );
02316 } finally {
02317 _releaseReply ($in);
02318 }
02319 }
02320
02321
02322
02323 public int ddcGetCardParameterInt (int crate, int card, String name)
02324 {
02325 org.omg.CORBA.portable.InputStream $in = null;
02326 try {
02327 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterInt", true);
02328 $out.write_long (crate);
02329 $out.write_long (card);
02330 $out.write_string (name);
02331 $in = _invoke ($out);
02332 int $result = $in.read_ulong ();
02333 return $result;
02334 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02335 $in = $ex.getInputStream ();
02336 String _id = $ex.getId ();
02337 throw new org.omg.CORBA.MARSHAL (_id);
02338 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02339 return ddcGetCardParameterInt (crate, card, name );
02340 } finally {
02341 _releaseReply ($in);
02342 }
02343 }
02344
02345
02346
02347 public float ddcGetCardParameterFloat (int crate, int card, String name)
02348 {
02349 org.omg.CORBA.portable.InputStream $in = null;
02350 try {
02351 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterFloat", true);
02352 $out.write_long (crate);
02353 $out.write_long (card);
02354 $out.write_string (name);
02355 $in = _invoke ($out);
02356 float $result = $in.read_float ();
02357 return $result;
02358 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02359 $in = $ex.getInputStream ();
02360 String _id = $ex.getId ();
02361 throw new org.omg.CORBA.MARSHAL (_id);
02362 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02363 return ddcGetCardParameterFloat (crate, card, name );
02364 } finally {
02365 _releaseReply ($in);
02366 }
02367 }
02368
02369
02370
02371 public String ddcGetCardParameterString (int crate, int card, String name)
02372 {
02373 org.omg.CORBA.portable.InputStream $in = null;
02374 try {
02375 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterString", true);
02376 $out.write_long (crate);
02377 $out.write_long (card);
02378 $out.write_string (name);
02379 $in = _invoke ($out);
02380 String $result = $in.read_string ();
02381 return $result;
02382 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02383 $in = $ex.getInputStream ();
02384 String _id = $ex.getId ();
02385 throw new org.omg.CORBA.MARSHAL (_id);
02386 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02387 return ddcGetCardParameterString (crate, card, name );
02388 } finally {
02389 _releaseReply ($in);
02390 }
02391 }
02392
02393
02394
02395 public int ddcGetCrateParameterInt (int crate, String name)
02396 {
02397 org.omg.CORBA.portable.InputStream $in = null;
02398 try {
02399 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterInt", true);
02400 $out.write_long (crate);
02401 $out.write_string (name);
02402 $in = _invoke ($out);
02403 int $result = $in.read_ulong ();
02404 return $result;
02405 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02406 $in = $ex.getInputStream ();
02407 String _id = $ex.getId ();
02408 throw new org.omg.CORBA.MARSHAL (_id);
02409 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02410 return ddcGetCrateParameterInt (crate, name );
02411 } finally {
02412 _releaseReply ($in);
02413 }
02414 }
02415
02416
02417
02418 public float ddcGetCrateParameterFloat (int crate, String name)
02419 {
02420 org.omg.CORBA.portable.InputStream $in = null;
02421 try {
02422 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterFloat", true);
02423 $out.write_long (crate);
02424 $out.write_string (name);
02425 $in = _invoke ($out);
02426 float $result = $in.read_float ();
02427 return $result;
02428 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02429 $in = $ex.getInputStream ();
02430 String _id = $ex.getId ();
02431 throw new org.omg.CORBA.MARSHAL (_id);
02432 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02433 return ddcGetCrateParameterFloat (crate, name );
02434 } finally {
02435 _releaseReply ($in);
02436 }
02437 }
02438
02439
02440
02441 public String ddcGetCrateParameterString (int crate, String name)
02442 {
02443 org.omg.CORBA.portable.InputStream $in = null;
02444 try {
02445 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterString", true);
02446 $out.write_long (crate);
02447 $out.write_string (name);
02448 $in = _invoke ($out);
02449 String $result = $in.read_string ();
02450 return $result;
02451 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02452 $in = $ex.getInputStream ();
02453 String _id = $ex.getId ();
02454 throw new org.omg.CORBA.MARSHAL (_id);
02455 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02456 return ddcGetCrateParameterString (crate, name );
02457 } finally {
02458 _releaseReply ($in);
02459 }
02460 }
02461
02462
02463
02464 public void ddcGetCrateParameters (int crate, String[] names, Sct_SctApi.NameValueListHolder nameValues)
02465 {
02466 org.omg.CORBA.portable.InputStream $in = null;
02467 try {
02468 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameters", true);
02469 $out.write_long (crate);
02470 Sct_SctApi.NameListHelper.write ($out, names);
02471 $in = _invoke ($out);
02472 nameValues.value = Sct_SctApi.NameValueListHelper.read ($in);
02473 return;
02474 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02475 $in = $ex.getInputStream ();
02476 String _id = $ex.getId ();
02477 throw new org.omg.CORBA.MARSHAL (_id);
02478 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02479 ddcGetCrateParameters (crate, names, nameValues );
02480 } finally {
02481 _releaseReply ($in);
02482 }
02483 }
02484
02485
02486
02487 public Sct_SctApi.Scan createScan ()
02488 {
02489 org.omg.CORBA.portable.InputStream $in = null;
02490 try {
02491 org.omg.CORBA.portable.OutputStream $out = _request ("createScan", true);
02492 $in = _invoke ($out);
02493 Sct_SctApi.Scan $result = Sct_SctApi.ScanHelper.read ($in);
02494 return $result;
02495 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02496 $in = $ex.getInputStream ();
02497 String _id = $ex.getId ();
02498 throw new org.omg.CORBA.MARSHAL (_id);
02499 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02500 return createScan ( );
02501 } finally {
02502 _releaseReply ($in);
02503 }
02504 }
02505
02506 public Sct_SctApi.Scan getDefaultScan ()
02507 {
02508 org.omg.CORBA.portable.InputStream $in = null;
02509 try {
02510 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultScan", true);
02511 $in = _invoke ($out);
02512 Sct_SctApi.Scan $result = Sct_SctApi.ScanHelper.read ($in);
02513 return $result;
02514 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02515 $in = $ex.getInputStream ();
02516 String _id = $ex.getId ();
02517 throw new org.omg.CORBA.MARSHAL (_id);
02518 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02519 return getDefaultScan ( );
02520 } finally {
02521 _releaseReply ($in);
02522 }
02523 }
02524
02525 public Sct_SctApi.Trigger createTrigger ()
02526 {
02527 org.omg.CORBA.portable.InputStream $in = null;
02528 try {
02529 org.omg.CORBA.portable.OutputStream $out = _request ("createTrigger", true);
02530 $in = _invoke ($out);
02531 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
02532 return $result;
02533 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02534 $in = $ex.getInputStream ();
02535 String _id = $ex.getId ();
02536 throw new org.omg.CORBA.MARSHAL (_id);
02537 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02538 return createTrigger ( );
02539 } finally {
02540 _releaseReply ($in);
02541 }
02542 }
02543
02544 public Sct_SctApi.Trigger getDefaultTrigger ()
02545 {
02546 org.omg.CORBA.portable.InputStream $in = null;
02547 try {
02548 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultTrigger", true);
02549 $in = _invoke ($out);
02550 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
02551 return $result;
02552 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02553 $in = $ex.getInputStream ();
02554 String _id = $ex.getId ();
02555 throw new org.omg.CORBA.MARSHAL (_id);
02556 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02557 return getDefaultTrigger ( );
02558 } finally {
02559 _releaseReply ($in);
02560 }
02561 }
02562
02563 public Sct_SctApi.Scan[] knownScans ()
02564 {
02565 org.omg.CORBA.portable.InputStream $in = null;
02566 try {
02567 org.omg.CORBA.portable.OutputStream $out = _request ("knownScans", true);
02568 $in = _invoke ($out);
02569 Sct_SctApi.Scan $result[] = Sct_SctApi.ScanListHelper.read ($in);
02570 return $result;
02571 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02572 $in = $ex.getInputStream ();
02573 String _id = $ex.getId ();
02574 throw new org.omg.CORBA.MARSHAL (_id);
02575 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02576 return knownScans ( );
02577 } finally {
02578 _releaseReply ($in);
02579 }
02580 }
02581
02582 public void get_info (ipc.InfoHolder inf)
02583 {
02584 org.omg.CORBA.portable.InputStream $in = null;
02585 try {
02586 org.omg.CORBA.portable.OutputStream $out = _request ("get_info", true);
02587 $in = _invoke ($out);
02588 inf.value = ipc.InfoHelper.read ($in);
02589 return;
02590 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02591 $in = $ex.getInputStream ();
02592 String _id = $ex.getId ();
02593 throw new org.omg.CORBA.MARSHAL (_id);
02594 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02595 get_info (inf );
02596 } finally {
02597 _releaseReply ($in);
02598 }
02599 }
02600
02601 public void destroy ()
02602 {
02603 org.omg.CORBA.portable.InputStream $in = null;
02604 try {
02605 org.omg.CORBA.portable.OutputStream $out = _request ("destroy", false);
02606 $in = _invoke ($out);
02607 return;
02608 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02609 $in = $ex.getInputStream ();
02610 String _id = $ex.getId ();
02611 throw new org.omg.CORBA.MARSHAL (_id);
02612 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02613 destroy ( );
02614 } finally {
02615 _releaseReply ($in);
02616 }
02617 }
02618
02619
02620 private static String[] __ids = {
02621 "IDL:Sct_SctApi/SctApi:1.0",
02622 "IDL:ipc/freeable:1.0"};
02623
02624 public String[] _ids ()
02625 {
02626 return (String[])__ids.clone ();
02627 }
02628
02629 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
02630 {
02631 String str = s.readUTF ();
02632 String[] args = null;
02633 java.util.Properties props = null;
02634 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
02635 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
02636 _set_delegate (delegate);
02637 }
02638
02639 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
02640 {
02641 String[] args = null;
02642 java.util.Properties props = null;
02643 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
02644 s.writeUTF (str);
02645 }
02646 }