00001 package Sct_SctApi;
00002
00003
00012
00013 public class _SctApiIPCOriginalStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.SctApiIPCOriginal
00014 {
00015
00016 public ipc.servantPackage.info information ()
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00021 $in = _invoke ($out);
00022 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00023 return $result;
00024 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025 $in = $ex.getInputStream ();
00026 String _id = $ex.getId ();
00027 throw new org.omg.CORBA.MARSHAL (_id);
00028 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00029 return information ( );
00030 } finally {
00031 _releaseReply ($in);
00032 }
00033 }
00034
00035 public void shutdown ()
00036 {
00037 org.omg.CORBA.portable.InputStream $in = null;
00038 try {
00039 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00040 $in = _invoke ($out);
00041 return;
00042 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00043 $in = $ex.getInputStream ();
00044 String _id = $ex.getId ();
00045 throw new org.omg.CORBA.MARSHAL (_id);
00046 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00047 shutdown ( );
00048 } finally {
00049 _releaseReply ($in);
00050 }
00051 }
00052
00053 public Sct_SctApi.Idiosyncrasy getIdiosyncrasy ()
00054 {
00055 org.omg.CORBA.portable.InputStream $in = null;
00056 try {
00057 org.omg.CORBA.portable.OutputStream $out = _request ("getIdiosyncrasy", true);
00058 $in = _invoke ($out);
00059 Sct_SctApi.Idiosyncrasy $result = Sct_SctApi.IdiosyncrasyHelper.read ($in);
00060 return $result;
00061 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00062 $in = $ex.getInputStream ();
00063 String _id = $ex.getId ();
00064 throw new org.omg.CORBA.MARSHAL (_id);
00065 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00066 return getIdiosyncrasy ( );
00067 } finally {
00068 _releaseReply ($in);
00069 }
00070 }
00071
00072
00073
00074 public short dspBlockDump (int rod, int dspStart, int numWords, int dspNumber)
00075 {
00076 org.omg.CORBA.portable.InputStream $in = null;
00077 try {
00078 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockDump", true);
00079 $out.write_ulong (rod);
00080 $out.write_long (dspStart);
00081 $out.write_long (numWords);
00082 $out.write_long (dspNumber);
00083 $in = _invoke ($out);
00084 short $result = $in.read_short ();
00085 return $result;
00086 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00087 $in = $ex.getInputStream ();
00088 String _id = $ex.getId ();
00089 throw new org.omg.CORBA.MARSHAL (_id);
00090 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00091 return dspBlockDump (rod, dspStart, numWords, dspNumber );
00092 } finally {
00093 _releaseReply ($in);
00094 }
00095 }
00096
00097 public int[] dspBlockRead (int rod, int dspStart, int numWords, int dspNumber)
00098 {
00099 org.omg.CORBA.portable.InputStream $in = null;
00100 try {
00101 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockRead", true);
00102 $out.write_ulong (rod);
00103 $out.write_long (dspStart);
00104 $out.write_long (numWords);
00105 $out.write_long (dspNumber);
00106 $in = _invoke ($out);
00107 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00108 return $result;
00109 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00110 $in = $ex.getInputStream ();
00111 String _id = $ex.getId ();
00112 throw new org.omg.CORBA.MARSHAL (_id);
00113 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00114 return dspBlockRead (rod, dspStart, numWords, dspNumber );
00115 } finally {
00116 _releaseReply ($in);
00117 }
00118 }
00119
00120 public short dspBlockWrite (int rod, int[] buffer, int dspAddress, int dspNumber)
00121 {
00122 org.omg.CORBA.portable.InputStream $in = null;
00123 try {
00124 org.omg.CORBA.portable.OutputStream $out = _request ("dspBlockWrite", true);
00125 $out.write_ulong (rod);
00126 Sct_SctApi.DataBlockHelper.write ($out, buffer);
00127 $out.write_ulong (dspAddress);
00128 $out.write_long (dspNumber);
00129 $in = _invoke ($out);
00130 short $result = $in.read_short ();
00131 return $result;
00132 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00133 $in = $ex.getInputStream ();
00134 String _id = $ex.getId ();
00135 throw new org.omg.CORBA.MARSHAL (_id);
00136 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00137 return dspBlockWrite (rod, buffer, dspAddress, dspNumber );
00138 } finally {
00139 _releaseReply ($in);
00140 }
00141 }
00142
00143 public int dspSingleRead (int rod, int dspAddr, int dspNumber)
00144 {
00145 org.omg.CORBA.portable.InputStream $in = null;
00146 try {
00147 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleRead", true);
00148 $out.write_ulong (rod);
00149 $out.write_ulong (dspAddr);
00150 $out.write_long (dspNumber);
00151 $in = _invoke ($out);
00152 int $result = $in.read_ulong ();
00153 return $result;
00154 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00155 $in = $ex.getInputStream ();
00156 String _id = $ex.getId ();
00157 throw new org.omg.CORBA.MARSHAL (_id);
00158 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00159 return dspSingleRead (rod, dspAddr, dspNumber );
00160 } finally {
00161 _releaseReply ($in);
00162 }
00163 }
00164
00165 public void dspSingleWrite (int rod, int dspAddr, int val, int dspNumber)
00166 {
00167 org.omg.CORBA.portable.InputStream $in = null;
00168 try {
00169 org.omg.CORBA.portable.OutputStream $out = _request ("dspSingleWrite", true);
00170 $out.write_ulong (rod);
00171 $out.write_ulong (dspAddr);
00172 $out.write_ulong (val);
00173 $out.write_long (dspNumber);
00174 $in = _invoke ($out);
00175 return;
00176 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00177 $in = $ex.getInputStream ();
00178 String _id = $ex.getId ();
00179 throw new org.omg.CORBA.MARSHAL (_id);
00180 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00181 dspSingleWrite (rod, dspAddr, val, dspNumber );
00182 } finally {
00183 _releaseReply ($in);
00184 }
00185 }
00186
00187 public int[] readSlaveDsp (int rod, short s, int add, int words)
00188 {
00189 org.omg.CORBA.portable.InputStream $in = null;
00190 try {
00191 org.omg.CORBA.portable.OutputStream $out = _request ("readSlaveDsp", true);
00192 $out.write_ulong (rod);
00193 $out.write_short (s);
00194 $out.write_ulong (add);
00195 $out.write_ulong (words);
00196 $in = _invoke ($out);
00197 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00198 return $result;
00199 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00200 $in = $ex.getInputStream ();
00201 String _id = $ex.getId ();
00202 throw new org.omg.CORBA.MARSHAL (_id);
00203 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00204 return readSlaveDsp (rod, s, add, words );
00205 } finally {
00206 _releaseReply ($in);
00207 }
00208 }
00209
00210
00211
00212 public void printBOCSetup (int rod)
00213 {
00214 org.omg.CORBA.portable.InputStream $in = null;
00215 try {
00216 org.omg.CORBA.portable.OutputStream $out = _request ("printBOCSetup", true);
00217 $out.write_ulong (rod);
00218 $in = _invoke ($out);
00219 return;
00220 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00221 $in = $ex.getInputStream ();
00222 String _id = $ex.getId ();
00223 throw new org.omg.CORBA.MARSHAL (_id);
00224 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00225 printBOCSetup (rod );
00226 } finally {
00227 _releaseReply ($in);
00228 }
00229 }
00230
00231 public sctConf.ABCDModule getABCDModuleRaw (int rod, int slot, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00232 {
00233 org.omg.CORBA.portable.InputStream $in = null;
00234 try {
00235 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModuleRaw", true);
00236 $out.write_ulong (rod);
00237 $out.write_ulong (slot);
00238 Sct_SctApi.BankTypeHelper.write ($out, bank);
00239 $in = _invoke ($out);
00240 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00241 return $result;
00242 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00243 $in = $ex.getInputStream ();
00244 String _id = $ex.getId ();
00245 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00246 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00247 else
00248 throw new org.omg.CORBA.MARSHAL (_id);
00249 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00250 return getABCDModuleRaw (rod, slot, bank );
00251 } finally {
00252 _releaseReply ($in);
00253 }
00254 }
00255
00256 public String[] listEnabledDebugOptions ()
00257 {
00258 org.omg.CORBA.portable.InputStream $in = null;
00259 try {
00260 org.omg.CORBA.portable.OutputStream $out = _request ("listEnabledDebugOptions", true);
00261 $in = _invoke ($out);
00262 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
00263 return $result;
00264 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00265 $in = $ex.getInputStream ();
00266 String _id = $ex.getId ();
00267 throw new org.omg.CORBA.MARSHAL (_id);
00268 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00269 return listEnabledDebugOptions ( );
00270 } finally {
00271 _releaseReply ($in);
00272 }
00273 }
00274
00275 public void standardRegisterDumpRod (int rod)
00276 {
00277 org.omg.CORBA.portable.InputStream $in = null;
00278 try {
00279 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpRod", true);
00280 $out.write_ulong (rod);
00281 $in = _invoke ($out);
00282 return;
00283 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00284 $in = $ex.getInputStream ();
00285 String _id = $ex.getId ();
00286 throw new org.omg.CORBA.MARSHAL (_id);
00287 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00288 standardRegisterDumpRod (rod );
00289 } finally {
00290 _releaseReply ($in);
00291 }
00292 }
00293
00294 public Sct_SctApi.CrateIPC getCrate (Sct.Corba.UniqueCrateIdentifier ucid)
00295 {
00296 org.omg.CORBA.portable.InputStream $in = null;
00297 try {
00298 org.omg.CORBA.portable.OutputStream $out = _request ("getCrate", true);
00299 Sct.Corba.UCIDHelper.write ($out, ucid);
00300 $in = _invoke ($out);
00301 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00302 return $result;
00303 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00304 $in = $ex.getInputStream ();
00305 String _id = $ex.getId ();
00306 throw new org.omg.CORBA.MARSHAL (_id);
00307 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00308 return getCrate (ucid );
00309 } finally {
00310 _releaseReply ($in);
00311 }
00312 }
00313
00314 public Sct_SctApi.CrateIPC getCrateLegacy (int partition, int crate)
00315 {
00316 org.omg.CORBA.portable.InputStream $in = null;
00317 try {
00318 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateLegacy", true);
00319 $out.write_ulong (partition);
00320 $out.write_ulong (crate);
00321 $in = _invoke ($out);
00322 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00323 return $result;
00324 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00325 $in = $ex.getInputStream ();
00326 String _id = $ex.getId ();
00327 throw new org.omg.CORBA.MARSHAL (_id);
00328 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00329 return getCrateLegacy (partition, crate );
00330 } finally {
00331 _releaseReply ($in);
00332 }
00333 }
00334
00335 public Sct.Corba.UniqueCrateIdentifier[] getCrateUCIDs ()
00336 {
00337 org.omg.CORBA.portable.InputStream $in = null;
00338 try {
00339 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateUCIDs", true);
00340 $in = _invoke ($out);
00341 Sct.Corba.UniqueCrateIdentifier $result[] = Sct.Corba.UCIDsHelper.read ($in);
00342 return $result;
00343 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00344 $in = $ex.getInputStream ();
00345 String _id = $ex.getId ();
00346 throw new org.omg.CORBA.MARSHAL (_id);
00347 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00348 return getCrateUCIDs ( );
00349 } finally {
00350 _releaseReply ($in);
00351 }
00352 }
00353
00354 public void standardRegisterDumpURID (Sct.Corba.UniqueRodIdentifier urid)
00355 {
00356 org.omg.CORBA.portable.InputStream $in = null;
00357 try {
00358 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpURID", true);
00359 Sct.Corba.URIDHelper.write ($out, urid);
00360 $in = _invoke ($out);
00361 return;
00362 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00363 $in = $ex.getInputStream ();
00364 String _id = $ex.getId ();
00365 throw new org.omg.CORBA.MARSHAL (_id);
00366 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00367 standardRegisterDumpURID (urid );
00368 } finally {
00369 _releaseReply ($in);
00370 }
00371 }
00372
00373
00374
00375 public void doScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
00376 {
00377 org.omg.CORBA.portable.InputStream $in = null;
00378 try {
00379 org.omg.CORBA.portable.OutputStream $out = _request ("doScan", true);
00380 Sct_SctApi.ScanHelper.write ($out, thisScan);
00381 $in = _invoke ($out);
00382 return;
00383 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00384 $in = $ex.getInputStream ();
00385 String _id = $ex.getId ();
00386 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00387 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00388 else
00389 throw new org.omg.CORBA.MARSHAL (_id);
00390 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00391 doScan (thisScan );
00392 } finally {
00393 _releaseReply ($in);
00394 }
00395 }
00396
00397 public void doRawScan (Sct_SctApi.Scan thisScan, int delay, int width, boolean configure, boolean clockByTwo) throws Sct_SctApi.SctApiException
00398 {
00399 org.omg.CORBA.portable.InputStream $in = null;
00400 try {
00401 org.omg.CORBA.portable.OutputStream $out = _request ("doRawScan", true);
00402 Sct_SctApi.ScanHelper.write ($out, thisScan);
00403 $out.write_long (delay);
00404 $out.write_long (width);
00405 $out.write_boolean (configure);
00406 $out.write_boolean (clockByTwo);
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 doRawScan (thisScan, delay, width, configure, clockByTwo );
00418 } finally {
00419 _releaseReply ($in);
00420 }
00421 }
00422
00423 public void abortScan ()
00424 {
00425 org.omg.CORBA.portable.InputStream $in = null;
00426 try {
00427 org.omg.CORBA.portable.OutputStream $out = _request ("abortScan", 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 throw new org.omg.CORBA.MARSHAL (_id);
00434 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00435 abortScan ( );
00436 } finally {
00437 _releaseReply ($in);
00438 }
00439 }
00440
00441
00442
00443 public boolean hasFinishedScanning ()
00444 {
00445 org.omg.CORBA.portable.InputStream $in = null;
00446 try {
00447 org.omg.CORBA.portable.OutputStream $out = _request ("hasFinishedScanning", true);
00448 $in = _invoke ($out);
00449 boolean $result = $in.read_boolean ();
00450 return $result;
00451 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00452 $in = $ex.getInputStream ();
00453 String _id = $ex.getId ();
00454 throw new org.omg.CORBA.MARSHAL (_id);
00455 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00456 return hasFinishedScanning ( );
00457 } finally {
00458 _releaseReply ($in);
00459 }
00460 }
00461
00462 public void modifyABCDMask (int mid, int[] mask)
00463 {
00464 org.omg.CORBA.portable.InputStream $in = null;
00465 try {
00466 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
00467 $out.write_ulong (mid);
00468 Sct_SctApi.DataBlockHelper.write ($out, mask);
00469 $in = _invoke ($out);
00470 return;
00471 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00472 $in = $ex.getInputStream ();
00473 String _id = $ex.getId ();
00474 throw new org.omg.CORBA.MARSHAL (_id);
00475 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00476 modifyABCDMask (mid, mask );
00477 } finally {
00478 _releaseReply ($in);
00479 }
00480 }
00481
00482 public void modifyABCDTrims (int mid, short[] trims)
00483 {
00484 org.omg.CORBA.portable.InputStream $in = null;
00485 try {
00486 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
00487 $out.write_ulong (mid);
00488 Sct_SctApi.CharBlockHelper.write ($out, trims);
00489 $in = _invoke ($out);
00490 return;
00491 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00492 $in = $ex.getInputStream ();
00493 String _id = $ex.getId ();
00494 throw new org.omg.CORBA.MARSHAL (_id);
00495 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00496 modifyABCDTrims (mid, trims );
00497 } finally {
00498 _releaseReply ($in);
00499 }
00500 }
00501
00502 public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
00503 {
00504 org.omg.CORBA.portable.InputStream $in = null;
00505 try {
00506 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
00507 $out.write_ulong (mid);
00508 $out.write_ulong (chip);
00509 $out.write_ushort (index);
00510 $out.write_double (p0);
00511 $out.write_double (p1);
00512 $out.write_double (p2);
00513 $in = _invoke ($out);
00514 return;
00515 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00516 $in = $ex.getInputStream ();
00517 String _id = $ex.getId ();
00518 throw new org.omg.CORBA.MARSHAL (_id);
00519 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00520 modifyABCDRC (mid, chip, index, p0, p1, p2 );
00521 } finally {
00522 _releaseReply ($in);
00523 }
00524 }
00525
00526
00527
00528 public void modifyABCDVar (int typ, double var)
00529 {
00530 org.omg.CORBA.portable.InputStream $in = null;
00531 try {
00532 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
00533 $out.write_ulong (typ);
00534 $out.write_double (var);
00535 $in = _invoke ($out);
00536 return;
00537 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00538 $in = $ex.getInputStream ();
00539 String _id = $ex.getId ();
00540 throw new org.omg.CORBA.MARSHAL (_id);
00541 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00542 modifyABCDVar (typ, var );
00543 } finally {
00544 _releaseReply ($in);
00545 }
00546 }
00547
00548 public void modifyABCDModuleVar (int mid, int typ, double var)
00549 {
00550 org.omg.CORBA.portable.InputStream $in = null;
00551 try {
00552 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
00553 $out.write_ulong (mid);
00554 $out.write_ulong (typ);
00555 $out.write_double (var);
00556 $in = _invoke ($out);
00557 return;
00558 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00559 $in = $ex.getInputStream ();
00560 String _id = $ex.getId ();
00561 throw new org.omg.CORBA.MARSHAL (_id);
00562 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00563 modifyABCDModuleVar (mid, typ, var );
00564 } finally {
00565 _releaseReply ($in);
00566 }
00567 }
00568
00569 public void modifyABCDChipVar (int mid, int chip, int typ, double var)
00570 {
00571 org.omg.CORBA.portable.InputStream $in = null;
00572 try {
00573 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
00574 $out.write_ulong (mid);
00575 $out.write_ulong (chip);
00576 $out.write_ulong (typ);
00577 $out.write_double (var);
00578 $in = _invoke ($out);
00579 return;
00580 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00581 $in = $ex.getInputStream ();
00582 String _id = $ex.getId ();
00583 throw new org.omg.CORBA.MARSHAL (_id);
00584 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00585 modifyABCDChipVar (mid, chip, typ, var );
00586 } finally {
00587 _releaseReply ($in);
00588 }
00589 }
00590
00591 public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType[] banks)
00592 {
00593 org.omg.CORBA.portable.InputStream $in = null;
00594 try {
00595 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
00596 $out.write_ulong (typ);
00597 $out.write_double (var);
00598 Sct_SctApi.BankListHelper.write ($out, banks);
00599 $in = _invoke ($out);
00600 return;
00601 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00602 $in = $ex.getInputStream ();
00603 String _id = $ex.getId ();
00604 throw new org.omg.CORBA.MARSHAL (_id);
00605 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00606 modifyABCDVarROD (typ, var, banks );
00607 } finally {
00608 _releaseReply ($in);
00609 }
00610 }
00611
00612 public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType[] banks)
00613 {
00614 org.omg.CORBA.portable.InputStream $in = null;
00615 try {
00616 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
00617 $out.write_ulong (mid);
00618 $out.write_ulong (typ);
00619 $out.write_double (var);
00620 Sct_SctApi.BankListHelper.write ($out, banks);
00621 $in = _invoke ($out);
00622 return;
00623 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00624 $in = $ex.getInputStream ();
00625 String _id = $ex.getId ();
00626 throw new org.omg.CORBA.MARSHAL (_id);
00627 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00628 modifyABCDModuleVarROD (mid, typ, var, banks );
00629 } finally {
00630 _releaseReply ($in);
00631 }
00632 }
00633
00634 public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
00635 {
00636 org.omg.CORBA.portable.InputStream $in = null;
00637 try {
00638 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
00639 $out.write_ulong (partition);
00640 $out.write_ulong (crate);
00641 $out.write_ulong (rod);
00642 $out.write_ulong (channel);
00643 $out.write_ulong (type);
00644 $out.write_ulong (val);
00645 $in = _invoke ($out);
00646 return;
00647 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00648 $in = $ex.getInputStream ();
00649 String _id = $ex.getId ();
00650 throw new org.omg.CORBA.MARSHAL (_id);
00651 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00652 modifyBOCParam (partition, crate, rod, channel, type, val );
00653 } finally {
00654 _releaseReply ($in);
00655 }
00656 }
00657
00658
00660 public void getABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00661 {
00662 org.omg.CORBA.portable.InputStream $in = null;
00663 try {
00664 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModules", true);
00665 Sct_SctApi.BankTypeHelper.write ($out, bank);
00666 $in = _invoke ($out);
00667 return;
00668 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00669 $in = $ex.getInputStream ();
00670 String _id = $ex.getId ();
00671 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00672 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00673 else
00674 throw new org.omg.CORBA.MARSHAL (_id);
00675 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00676 getABCDModules (bank );
00677 } finally {
00678 _releaseReply ($in);
00679 }
00680 }
00681
00682 public void getABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00683 {
00684 org.omg.CORBA.portable.InputStream $in = null;
00685 try {
00686 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModule", true);
00687 $out.write_ulong (mid);
00688 Sct_SctApi.BankTypeHelper.write ($out, bank);
00689 $in = _invoke ($out);
00690 return;
00691 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00692 $in = $ex.getInputStream ();
00693 String _id = $ex.getId ();
00694 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00695 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00696 else
00697 throw new org.omg.CORBA.MARSHAL (_id);
00698 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00699 getABCDModule (mid, bank );
00700 } finally {
00701 _releaseReply ($in);
00702 }
00703 }
00704
00705 public void setABCDModule (int mid, Sct_SctApi.BankType[] banks) throws Sct_SctApi.SctApiException
00706 {
00707 org.omg.CORBA.portable.InputStream $in = null;
00708 try {
00709 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
00710 $out.write_ulong (mid);
00711 Sct_SctApi.BankListHelper.write ($out, banks);
00712 $in = _invoke ($out);
00713 return;
00714 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00715 $in = $ex.getInputStream ();
00716 String _id = $ex.getId ();
00717 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00718 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00719 else
00720 throw new org.omg.CORBA.MARSHAL (_id);
00721 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00722 setABCDModule (mid, banks );
00723 } finally {
00724 _releaseReply ($in);
00725 }
00726 }
00727
00728 public void setABCDModules (Sct_SctApi.BankType[] bank) throws Sct_SctApi.SctApiException
00729 {
00730 org.omg.CORBA.portable.InputStream $in = null;
00731 try {
00732 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
00733 Sct_SctApi.BankListHelper.write ($out, bank);
00734 $in = _invoke ($out);
00735 return;
00736 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00737 $in = $ex.getInputStream ();
00738 String _id = $ex.getId ();
00739 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00740 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00741 else
00742 throw new org.omg.CORBA.MARSHAL (_id);
00743 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00744 setABCDModules (bank );
00745 } finally {
00746 _releaseReply ($in);
00747 }
00748 }
00749
00750 public void copyABCDModule (int mid, Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00751 {
00752 org.omg.CORBA.portable.InputStream $in = null;
00753 try {
00754 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModule", true);
00755 $out.write_ulong (mid);
00756 Sct_SctApi.BankTypeHelper.write ($out, from);
00757 Sct_SctApi.BankListHelper.write ($out, to);
00758 $in = _invoke ($out);
00759 return;
00760 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00761 $in = $ex.getInputStream ();
00762 String _id = $ex.getId ();
00763 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00764 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00765 else
00766 throw new org.omg.CORBA.MARSHAL (_id);
00767 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00768 copyABCDModule (mid, from, to );
00769 } finally {
00770 _releaseReply ($in);
00771 }
00772 }
00773
00774 public void copyABCDModules (Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00775 {
00776 org.omg.CORBA.portable.InputStream $in = null;
00777 try {
00778 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModules", true);
00779 Sct_SctApi.BankTypeHelper.write ($out, from);
00780 Sct_SctApi.BankListHelper.write ($out, to);
00781 $in = _invoke ($out);
00782 return;
00783 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00784 $in = $ex.getInputStream ();
00785 String _id = $ex.getId ();
00786 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00787 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00788 else
00789 throw new org.omg.CORBA.MARSHAL (_id);
00790 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00791 copyABCDModules (from, to );
00792 } finally {
00793 _releaseReply ($in);
00794 }
00795 }
00796
00797 public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
00798 {
00799 org.omg.CORBA.portable.InputStream $in = null;
00800 try {
00801 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
00802 $out.write_ulong (mid);
00803 Sct_SctApi.BankTypeHelper.write ($out, bank);
00804 $out.write_ulong (type);
00805 $in = _invoke ($out);
00806 return;
00807 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00808 $in = $ex.getInputStream ();
00809 String _id = $ex.getId ();
00810 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00811 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00812 else
00813 throw new org.omg.CORBA.MARSHAL (_id);
00814 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00815 sendABCDModule (mid, bank, type );
00816 } finally {
00817 _releaseReply ($in);
00818 }
00819 }
00820
00821 public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00822 {
00823 org.omg.CORBA.portable.InputStream $in = null;
00824 try {
00825 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
00826 Sct_SctApi.BankTypeHelper.write ($out, bank);
00827 $in = _invoke ($out);
00828 return;
00829 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00830 $in = $ex.getInputStream ();
00831 String _id = $ex.getId ();
00832 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00833 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00834 else
00835 throw new org.omg.CORBA.MARSHAL (_id);
00836 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00837 sendABCDModules (bank );
00838 } finally {
00839 _releaseReply ($in);
00840 }
00841 }
00842
00843 public void storeModuleConfigurations () throws Sct_SctApi.SctApiException
00844 {
00845 org.omg.CORBA.portable.InputStream $in = null;
00846 try {
00847 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00848 $in = _invoke ($out);
00849 return;
00850 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00851 $in = $ex.getInputStream ();
00852 String _id = $ex.getId ();
00853 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00854 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00855 else
00856 throw new org.omg.CORBA.MARSHAL (_id);
00857 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00858 storeModuleConfigurations ( );
00859 } finally {
00860 _releaseReply ($in);
00861 }
00862 }
00863
00864 public void storeBOCConfigurations () throws Sct_SctApi.SctApiException
00865 {
00866 org.omg.CORBA.portable.InputStream $in = null;
00867 try {
00868 org.omg.CORBA.portable.OutputStream $out = _request ("storeBOCConfigurations", true);
00869 $in = _invoke ($out);
00870 return;
00871 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00872 $in = $ex.getInputStream ();
00873 String _id = $ex.getId ();
00874 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00875 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00876 else
00877 throw new org.omg.CORBA.MARSHAL (_id);
00878 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00879 storeBOCConfigurations ( );
00880 } finally {
00881 _releaseReply ($in);
00882 }
00883 }
00884
00885 public void configureAllModules () throws Sct_SctApi.SctApiException
00886 {
00887 org.omg.CORBA.portable.InputStream $in = null;
00888 try {
00889 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00890 $in = _invoke ($out);
00891 return;
00892 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00893 $in = $ex.getInputStream ();
00894 String _id = $ex.getId ();
00895 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00896 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00897 else
00898 throw new org.omg.CORBA.MARSHAL (_id);
00899 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00900 configureAllModules ( );
00901 } finally {
00902 _releaseReply ($in);
00903 }
00904 }
00905
00906
00908 public sctConf.ABCDModule retrieveModule (int mid)
00909 {
00910 org.omg.CORBA.portable.InputStream $in = null;
00911 try {
00912 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
00913 $out.write_ulong (mid);
00914 $in = _invoke ($out);
00915 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00916 return $result;
00917 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00918 $in = $ex.getInputStream ();
00919 String _id = $ex.getId ();
00920 throw new org.omg.CORBA.MARSHAL (_id);
00921 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00922 return retrieveModule (mid );
00923 } finally {
00924 _releaseReply ($in);
00925 }
00926 }
00927
00928 public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
00929 {
00930 org.omg.CORBA.portable.InputStream $in = null;
00931 try {
00932 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
00933 $out.write_ulong (partition);
00934 $out.write_ulong (crate);
00935 $out.write_ulong (rod);
00936 $in = _invoke ($out);
00937 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
00938 return $result;
00939 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00940 $in = $ex.getInputStream ();
00941 String _id = $ex.getId ();
00942 throw new org.omg.CORBA.MARSHAL (_id);
00943 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00944 return currentBOCSetup (partition, crate, rod );
00945 } finally {
00946 _releaseReply ($in);
00947 }
00948 }
00949
00950 public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
00951 {
00952 org.omg.CORBA.portable.InputStream $in = null;
00953 try {
00954 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
00955 $out.write_ulong (partition);
00956 $out.write_ulong (crate);
00957 $out.write_ulong (rod);
00958 $in = _invoke ($out);
00959 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00960 return $result;
00961 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00962 $in = $ex.getInputStream ();
00963 String _id = $ex.getId ();
00964 throw new org.omg.CORBA.MARSHAL (_id);
00965 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00966 return currentBOCRegisters (partition, crate, rod );
00967 } finally {
00968 _releaseReply ($in);
00969 }
00970 }
00971
00972 public void sendL1A (int partition, int crate, int rod)
00973 {
00974 org.omg.CORBA.portable.InputStream $in = null;
00975 try {
00976 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
00977 $out.write_ulong (partition);
00978 $out.write_ulong (crate);
00979 $out.write_ulong (rod);
00980 $in = _invoke ($out);
00981 return;
00982 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00983 $in = $ex.getInputStream ();
00984 String _id = $ex.getId ();
00985 throw new org.omg.CORBA.MARSHAL (_id);
00986 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00987 sendL1A (partition, crate, rod );
00988 } finally {
00989 _releaseReply ($in);
00990 }
00991 }
00992
00993 public void sendTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
00994 {
00995 org.omg.CORBA.portable.InputStream $in = null;
00996 try {
00997 org.omg.CORBA.portable.OutputStream $out = _request ("sendTrigger", true);
00998 $out.write_ulong (partition);
00999 $out.write_ulong (crate);
01000 $out.write_ulong (rod);
01001 Sct_SctApi.TriggerHelper.write ($out, trig);
01002 $in = _invoke ($out);
01003 return;
01004 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01005 $in = $ex.getInputStream ();
01006 String _id = $ex.getId ();
01007 throw new org.omg.CORBA.MARSHAL (_id);
01008 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01009 sendTrigger (partition, crate, rod, trig );
01010 } finally {
01011 _releaseReply ($in);
01012 }
01013 }
01014
01015
01016
01017 public void timSetFrequency (int partition, int crate, double trigFreq, double rstFreq)
01018 {
01019 org.omg.CORBA.portable.InputStream $in = null;
01020 try {
01021 org.omg.CORBA.portable.OutputStream $out = _request ("timSetFrequency", true);
01022 $out.write_ulong (partition);
01023 $out.write_ulong (crate);
01024 $out.write_double (trigFreq);
01025 $out.write_double (rstFreq);
01026 $in = _invoke ($out);
01027 return;
01028 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01029 $in = $ex.getInputStream ();
01030 String _id = $ex.getId ();
01031 throw new org.omg.CORBA.MARSHAL (_id);
01032 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01033 timSetFrequency (partition, crate, trigFreq, rstFreq );
01034 } finally {
01035 _releaseReply ($in);
01036 }
01037 }
01038
01039 public void freeTriggers (int partition, int crate)
01040 {
01041 org.omg.CORBA.portable.InputStream $in = null;
01042 try {
01043 org.omg.CORBA.portable.OutputStream $out = _request ("freeTriggers", true);
01044 $out.write_ulong (partition);
01045 $out.write_ulong (crate);
01046 $in = _invoke ($out);
01047 return;
01048 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01049 $in = $ex.getInputStream ();
01050 String _id = $ex.getId ();
01051 throw new org.omg.CORBA.MARSHAL (_id);
01052 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01053 freeTriggers (partition, crate );
01054 } finally {
01055 _releaseReply ($in);
01056 }
01057 }
01058
01059 public void stopTriggers (int partition, int crate)
01060 {
01061 org.omg.CORBA.portable.InputStream $in = null;
01062 try {
01063 org.omg.CORBA.portable.OutputStream $out = _request ("stopTriggers", true);
01064 $out.write_ulong (partition);
01065 $out.write_ulong (crate);
01066 $in = _invoke ($out);
01067 return;
01068 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01069 $in = $ex.getInputStream ();
01070 String _id = $ex.getId ();
01071 throw new org.omg.CORBA.MARSHAL (_id);
01072 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01073 stopTriggers (partition, crate );
01074 } finally {
01075 _releaseReply ($in);
01076 }
01077 }
01078
01079 public void timL1A (int partition, int crate)
01080 {
01081 org.omg.CORBA.portable.InputStream $in = null;
01082 try {
01083 org.omg.CORBA.portable.OutputStream $out = _request ("timL1A", true);
01084 $out.write_ulong (partition);
01085 $out.write_ulong (crate);
01086 $in = _invoke ($out);
01087 return;
01088 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01089 $in = $ex.getInputStream ();
01090 String _id = $ex.getId ();
01091 throw new org.omg.CORBA.MARSHAL (_id);
01092 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01093 timL1A (partition, crate );
01094 } finally {
01095 _releaseReply ($in);
01096 }
01097 }
01098
01099 public void timCalL1A (int partition, int crate, short delay)
01100 {
01101 org.omg.CORBA.portable.InputStream $in = null;
01102 try {
01103 org.omg.CORBA.portable.OutputStream $out = _request ("timCalL1A", true);
01104 $out.write_ulong (partition);
01105 $out.write_ulong (crate);
01106 $out.write_short (delay);
01107 $in = _invoke ($out);
01108 return;
01109 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01110 $in = $ex.getInputStream ();
01111 String _id = $ex.getId ();
01112 throw new org.omg.CORBA.MARSHAL (_id);
01113 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01114 timCalL1A (partition, crate, delay );
01115 } finally {
01116 _releaseReply ($in);
01117 }
01118 }
01119
01120 public short timReadRegister (int partition, int crate, short value)
01121 {
01122 org.omg.CORBA.portable.InputStream $in = null;
01123 try {
01124 org.omg.CORBA.portable.OutputStream $out = _request ("timReadRegister", true);
01125 $out.write_ulong (partition);
01126 $out.write_ulong (crate);
01127 $out.write_short (value);
01128 $in = _invoke ($out);
01129 short $result = $in.read_short ();
01130 return $result;
01131 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01132 $in = $ex.getInputStream ();
01133 String _id = $ex.getId ();
01134 throw new org.omg.CORBA.MARSHAL (_id);
01135 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01136 return timReadRegister (partition, crate, value );
01137 } finally {
01138 _releaseReply ($in);
01139 }
01140 }
01141
01142 public void timWriteRegister (int partition, int crate, short reg, short value)
01143 {
01144 org.omg.CORBA.portable.InputStream $in = null;
01145 try {
01146 org.omg.CORBA.portable.OutputStream $out = _request ("timWriteRegister", true);
01147 $out.write_ulong (partition);
01148 $out.write_ulong (crate);
01149 $out.write_short (reg);
01150 $out.write_short (value);
01151 $in = _invoke ($out);
01152 return;
01153 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01154 $in = $ex.getInputStream ();
01155 String _id = $ex.getId ();
01156 throw new org.omg.CORBA.MARSHAL (_id);
01157 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01158 timWriteRegister (partition, crate, reg, value );
01159 } finally {
01160 _releaseReply ($in);
01161 }
01162 }
01163
01164 public void sendTimTrigger (int partition, int crate, Sct_SctApi.Trigger trig)
01165 {
01166 org.omg.CORBA.portable.InputStream $in = null;
01167 try {
01168 org.omg.CORBA.portable.OutputStream $out = _request ("sendTimTrigger", true);
01169 $out.write_ulong (partition);
01170 $out.write_ulong (crate);
01171 Sct_SctApi.TriggerHelper.write ($out, trig);
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 sendTimTrigger (partition, crate, trig );
01180 } finally {
01181 _releaseReply ($in);
01182 }
01183 }
01184
01185 public Sct_SctApi.AutoConfigResult[] autoConfigureScan () throws Sct_SctApi.SctApiException
01186 {
01187 org.omg.CORBA.portable.InputStream $in = null;
01188 try {
01189 org.omg.CORBA.portable.OutputStream $out = _request ("autoConfigureScan", true);
01190 $in = _invoke ($out);
01191 Sct_SctApi.AutoConfigResult $result[] = Sct_SctApi.AutoResultListHelper.read ($in);
01192 return $result;
01193 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01194 $in = $ex.getInputStream ();
01195 String _id = $ex.getId ();
01196 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01197 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01198 else
01199 throw new org.omg.CORBA.MARSHAL (_id);
01200 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01201 return autoConfigureScan ( );
01202 } finally {
01203 _releaseReply ($in);
01204 }
01205 }
01206
01207 public boolean checkAllModulesProbe (String chars) throws Sct_SctApi.SctApiException
01208 {
01209 org.omg.CORBA.portable.InputStream $in = null;
01210 try {
01211 org.omg.CORBA.portable.OutputStream $out = _request ("checkAllModulesProbe", true);
01212 $out.write_string (chars);
01213 $in = _invoke ($out);
01214 boolean $result = $in.read_boolean ();
01215 return $result;
01216 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01217 $in = $ex.getInputStream ();
01218 String _id = $ex.getId ();
01219 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01220 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01221 else
01222 throw new org.omg.CORBA.MARSHAL (_id);
01223 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01224 return checkAllModulesProbe (chars );
01225 } finally {
01226 _releaseReply ($in);
01227 }
01228 }
01229
01230 public short[] probe (int partition, int crate, int rod)
01231 {
01232 org.omg.CORBA.portable.InputStream $in = null;
01233 try {
01234 org.omg.CORBA.portable.OutputStream $out = _request ("probe", true);
01235 $out.write_ulong (partition);
01236 $out.write_ulong (crate);
01237 $out.write_ulong (rod);
01238 $in = _invoke ($out);
01239 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01240 return $result;
01241 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01242 $in = $ex.getInputStream ();
01243 String _id = $ex.getId ();
01244 throw new org.omg.CORBA.MARSHAL (_id);
01245 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01246 return probe (partition, crate, rod );
01247 } finally {
01248 _releaseReply ($in);
01249 }
01250 }
01251
01252 public short[] probeHarness (int partition, int crate, int rod, int harness)
01253 {
01254 org.omg.CORBA.portable.InputStream $in = null;
01255 try {
01256 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarness", true);
01257 $out.write_ulong (partition);
01258 $out.write_ulong (crate);
01259 $out.write_ulong (rod);
01260 $out.write_ulong (harness);
01261 $in = _invoke ($out);
01262 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01263 return $result;
01264 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01265 $in = $ex.getInputStream ();
01266 String _id = $ex.getId ();
01267 throw new org.omg.CORBA.MARSHAL (_id);
01268 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01269 return probeHarness (partition, crate, rod, harness );
01270 } finally {
01271 _releaseReply ($in);
01272 }
01273 }
01274
01275 public short[] probeWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01276 {
01277 org.omg.CORBA.portable.InputStream $in = null;
01278 try {
01279 org.omg.CORBA.portable.OutputStream $out = _request ("probeWithTrigger", true);
01280 $out.write_ulong (partition);
01281 $out.write_ulong (crate);
01282 $out.write_ulong (rod);
01283 Sct_SctApi.TriggerHelper.write ($out, trig);
01284 $in = _invoke ($out);
01285 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01286 return $result;
01287 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01288 $in = $ex.getInputStream ();
01289 String _id = $ex.getId ();
01290 throw new org.omg.CORBA.MARSHAL (_id);
01291 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01292 return probeWithTrigger (partition, crate, rod, trig );
01293 } finally {
01294 _releaseReply ($in);
01295 }
01296 }
01297
01298 public short[] probeHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig, int harness)
01299 {
01300 org.omg.CORBA.portable.InputStream $in = null;
01301 try {
01302 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarnessWithTrigger", true);
01303 $out.write_ulong (partition);
01304 $out.write_ulong (crate);
01305 $out.write_ulong (rod);
01306 Sct_SctApi.TriggerHelper.write ($out, trig);
01307 $out.write_ulong (harness);
01308 $in = _invoke ($out);
01309 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01310 return $result;
01311 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01312 $in = $ex.getInputStream ();
01313 String _id = $ex.getId ();
01314 throw new org.omg.CORBA.MARSHAL (_id);
01315 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01316 return probeHarnessWithTrigger (partition, crate, rod, trig, harness );
01317 } finally {
01318 _releaseReply ($in);
01319 }
01320 }
01321
01322 public short[][] probeScanHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Scan trig, int harness)
01323 {
01324 org.omg.CORBA.portable.InputStream $in = null;
01325 try {
01326 org.omg.CORBA.portable.OutputStream $out = _request ("probeScanHarnessWithTrigger", true);
01327 $out.write_ulong (partition);
01328 $out.write_ulong (crate);
01329 $out.write_ulong (rod);
01330 Sct_SctApi.ScanHelper.write ($out, trig);
01331 $out.write_ulong (harness);
01332 $in = _invoke ($out);
01333 short $result[][] = Sct_SctApi.CharMatrixHelper.read ($in);
01334 return $result;
01335 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01336 $in = $ex.getInputStream ();
01337 String _id = $ex.getId ();
01338 throw new org.omg.CORBA.MARSHAL (_id);
01339 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01340 return probeScanHarnessWithTrigger (partition, crate, rod, trig, harness );
01341 } finally {
01342 _releaseReply ($in);
01343 }
01344 }
01345
01346 public void initialiseAll (int runNumber) throws Sct_SctApi.SctApiException
01347 {
01348 org.omg.CORBA.portable.InputStream $in = null;
01349 try {
01350 org.omg.CORBA.portable.OutputStream $out = _request ("initialiseAll", true);
01351 $out.write_ulong (runNumber);
01352 $in = _invoke ($out);
01353 return;
01354 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01355 $in = $ex.getInputStream ();
01356 String _id = $ex.getId ();
01357 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01358 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01359 else
01360 throw new org.omg.CORBA.MARSHAL (_id);
01361 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01362 initialiseAll (runNumber );
01363 } finally {
01364 _releaseReply ($in);
01365 }
01366 }
01367
01368 public void shutdownAll () throws Sct_SctApi.SctApiException
01369 {
01370 org.omg.CORBA.portable.InputStream $in = null;
01371 try {
01372 org.omg.CORBA.portable.OutputStream $out = _request ("shutdownAll", true);
01373 $in = _invoke ($out);
01374 return;
01375 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01376 $in = $ex.getInputStream ();
01377 String _id = $ex.getId ();
01378 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01379 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01380 else
01381 throw new org.omg.CORBA.MARSHAL (_id);
01382 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01383 shutdownAll ( );
01384 } finally {
01385 _releaseReply ($in);
01386 }
01387 }
01388
01389 public void status ()
01390 {
01391 org.omg.CORBA.portable.InputStream $in = null;
01392 try {
01393 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
01394 $in = _invoke ($out);
01395 return;
01396 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01397 $in = $ex.getInputStream ();
01398 String _id = $ex.getId ();
01399 throw new org.omg.CORBA.MARSHAL (_id);
01400 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01401 status ( );
01402 } finally {
01403 _releaseReply ($in);
01404 }
01405 }
01406
01407 public void setRunNumber (int newRun)
01408 {
01409 org.omg.CORBA.portable.InputStream $in = null;
01410 try {
01411 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
01412 $out.write_ulong (newRun);
01413 $in = _invoke ($out);
01414 return;
01415 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01416 $in = $ex.getInputStream ();
01417 String _id = $ex.getId ();
01418 throw new org.omg.CORBA.MARSHAL (_id);
01419 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01420 setRunNumber (newRun );
01421 } finally {
01422 _releaseReply ($in);
01423 }
01424 }
01425
01426 public void setScanNumber (int newScan)
01427 {
01428 org.omg.CORBA.portable.InputStream $in = null;
01429 try {
01430 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
01431 $out.write_ulong (newScan);
01432 $in = _invoke ($out);
01433 return;
01434 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01435 $in = $ex.getInputStream ();
01436 String _id = $ex.getId ();
01437 throw new org.omg.CORBA.MARSHAL (_id);
01438 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01439 setScanNumber (newScan );
01440 } finally {
01441 _releaseReply ($in);
01442 }
01443 }
01444
01445 public int getRunNumber ()
01446 {
01447 org.omg.CORBA.portable.InputStream $in = null;
01448 try {
01449 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
01450 $in = _invoke ($out);
01451 int $result = $in.read_ulong ();
01452 return $result;
01453 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01454 $in = $ex.getInputStream ();
01455 String _id = $ex.getId ();
01456 throw new org.omg.CORBA.MARSHAL (_id);
01457 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01458 return getRunNumber ( );
01459 } finally {
01460 _releaseReply ($in);
01461 }
01462 }
01463
01464 public int getScanNumber ()
01465 {
01466 org.omg.CORBA.portable.InputStream $in = null;
01467 try {
01468 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
01469 $in = _invoke ($out);
01470 int $result = $in.read_ulong ();
01471 return $result;
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 return getScanNumber ( );
01478 } finally {
01479 _releaseReply ($in);
01480 }
01481 }
01482
01483 public void standardRegisterDumpAll ()
01484 {
01485 org.omg.CORBA.portable.InputStream $in = null;
01486 try {
01487 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpAll", true);
01488 $in = _invoke ($out);
01489 return;
01490 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01491 $in = $ex.getInputStream ();
01492 String _id = $ex.getId ();
01493 throw new org.omg.CORBA.MARSHAL (_id);
01494 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01495 standardRegisterDumpAll ( );
01496 } finally {
01497 _releaseReply ($in);
01498 }
01499 }
01500
01501 public void lasersOff ()
01502 {
01503 org.omg.CORBA.portable.InputStream $in = null;
01504 try {
01505 org.omg.CORBA.portable.OutputStream $out = _request ("lasersOff", true);
01506 $in = _invoke ($out);
01507 return;
01508 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01509 $in = $ex.getInputStream ();
01510 String _id = $ex.getId ();
01511 throw new org.omg.CORBA.MARSHAL (_id);
01512 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01513 lasersOff ( );
01514 } finally {
01515 _releaseReply ($in);
01516 }
01517 }
01518
01519 public String[] getModuleList ()
01520 {
01521 org.omg.CORBA.portable.InputStream $in = null;
01522 try {
01523 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
01524 $in = _invoke ($out);
01525 String $result[] = sctConf.ModuleListHelper.read ($in);
01526 return $result;
01527 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01528 $in = $ex.getInputStream ();
01529 String _id = $ex.getId ();
01530 throw new org.omg.CORBA.MARSHAL (_id);
01531 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01532 return getModuleList ( );
01533 } finally {
01534 _releaseReply ($in);
01535 }
01536 }
01537
01538 public void unsetDebugOption (String opt)
01539 {
01540 org.omg.CORBA.portable.InputStream $in = null;
01541 try {
01542 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
01543 $out.write_string (opt);
01544 $in = _invoke ($out);
01545 return;
01546 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01547 $in = $ex.getInputStream ();
01548 String _id = $ex.getId ();
01549 throw new org.omg.CORBA.MARSHAL (_id);
01550 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01551 unsetDebugOption (opt );
01552 } finally {
01553 _releaseReply ($in);
01554 }
01555 }
01556
01557 public void setDebugOption (String opt)
01558 {
01559 org.omg.CORBA.portable.InputStream $in = null;
01560 try {
01561 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
01562 $out.write_string (opt);
01563 $in = _invoke ($out);
01564 return;
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 setDebugOption (opt );
01571 } finally {
01572 _releaseReply ($in);
01573 }
01574 }
01575
01576 public String[] listDebugOptions ()
01577 {
01578 org.omg.CORBA.portable.InputStream $in = null;
01579 try {
01580 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
01581 $in = _invoke ($out);
01582 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
01583 return $result;
01584 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01585 $in = $ex.getInputStream ();
01586 String _id = $ex.getId ();
01587 throw new org.omg.CORBA.MARSHAL (_id);
01588 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01589 return listDebugOptions ( );
01590 } finally {
01591 _releaseReply ($in);
01592 }
01593 }
01594
01595
01596
01597 public void loadConfiguration (String filename) throws Sct_SctApi.SctApiException
01598 {
01599 org.omg.CORBA.portable.InputStream $in = null;
01600 try {
01601 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
01602 $out.write_string (filename);
01603 $in = _invoke ($out);
01604 return;
01605 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01606 $in = $ex.getInputStream ();
01607 String _id = $ex.getId ();
01608 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01609 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01610 else
01611 throw new org.omg.CORBA.MARSHAL (_id);
01612 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01613 loadConfiguration (filename );
01614 } finally {
01615 _releaseReply ($in);
01616 }
01617 }
01618
01619 public void rawData (int partition, int crate, int rod, int delay, int units, boolean setMask)
01620 {
01621 org.omg.CORBA.portable.InputStream $in = null;
01622 try {
01623 org.omg.CORBA.portable.OutputStream $out = _request ("rawData", true);
01624 $out.write_ulong (partition);
01625 $out.write_ulong (crate);
01626 $out.write_ulong (rod);
01627 $out.write_long (delay);
01628 $out.write_long (units);
01629 $out.write_boolean (setMask);
01630 $in = _invoke ($out);
01631 return;
01632 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01633 $in = $ex.getInputStream ();
01634 String _id = $ex.getId ();
01635 throw new org.omg.CORBA.MARSHAL (_id);
01636 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01637 rawData (partition, crate, rod, delay, units, setMask );
01638 } finally {
01639 _releaseReply ($in);
01640 }
01641 }
01642
01643 public void rawDataWithTrigger (int partition, int crate, int rod, int delay, int units, boolean setMask, Sct_SctApi.Trigger trig)
01644 {
01645 org.omg.CORBA.portable.InputStream $in = null;
01646 try {
01647 org.omg.CORBA.portable.OutputStream $out = _request ("rawDataWithTrigger", true);
01648 $out.write_ulong (partition);
01649 $out.write_ulong (crate);
01650 $out.write_ulong (rod);
01651 $out.write_long (delay);
01652 $out.write_long (units);
01653 $out.write_boolean (setMask);
01654 Sct_SctApi.TriggerHelper.write ($out, trig);
01655 $in = _invoke ($out);
01656 return;
01657 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01658 $in = $ex.getInputStream ();
01659 String _id = $ex.getId ();
01660 throw new org.omg.CORBA.MARSHAL (_id);
01661 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01662 rawDataWithTrigger (partition, crate, rod, delay, units, setMask, trig );
01663 } finally {
01664 _releaseReply ($in);
01665 }
01666 }
01667
01668
01669 private static String[] __ids = {
01670 "IDL:Sct_SctApi/SctApiIPCOriginal:1.0",
01671 "IDL:ipc/servant:1.0",
01672 "IDL:Sct_SctApi/JustCrateMethods:1.0",
01673 "IDL:Sct_SctApi/DirectRODAccess:1.0",
01674 "IDL:Sct_SctApi/DebugOptionsJustCrate:1.0",
01675 "IDL:Sct_SctApi/JustTopLevel:1.0",
01676 "IDL:Sct_SctApi/CrateAccessTopLevel:1.0",
01677 "IDL:Sct_SctApi/DebugOptionsJustTop:1.0",
01678 "IDL:Sct_SctApi/CommonToTopAndCrate:1.0",
01679 "IDL:Sct_SctApi/DoScanMethods:1.0",
01680 "IDL:Sct_SctApi/ModifyABCDMethods:1.0",
01681 "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0",
01682 "IDL:Sct_SctApi/RetrievingConfigurationMethods:1.0",
01683 "IDL:Sct_SctApi/SavingConfigurationMethods:1.0",
01684 "IDL:Sct_SctApi/TriggerRODLevel:1.0",
01685 "IDL:Sct_SctApi/TriggerTIMLevel:1.0",
01686 "IDL:Sct_SctApi/AutoConfigure:1.0",
01687 "IDL:Sct_SctApi/ProbeChecks:1.0",
01688 "IDL:Sct_SctApi/ProbeMethods:1.0",
01689 "IDL:Sct_SctApi/RunControl:1.0",
01690 "IDL:Sct_SctApi/ModuleInquiry:1.0",
01691 "IDL:Sct_SctApi/DebugOptionsCommon:1.0",
01692 "IDL:Sct_SctApi/DeprecatedInterfaceOne:1.0",
01693 "IDL:Sct_SctApi/DeprecatedInterfaceTwo:1.0"};
01694
01695 public String[] _ids ()
01696 {
01697 return (String[])__ids.clone ();
01698 }
01699
01700 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
01701 {
01702 String str = s.readUTF ();
01703 String[] args = null;
01704 java.util.Properties props = null;
01705 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
01706 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
01707 _set_delegate (delegate);
01708 }
01709
01710 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
01711 {
01712 String[] args = null;
01713 java.util.Properties props = null;
01714 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
01715 s.writeUTF (str);
01716 }
01717 }