Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

BankType.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class BankType implements org.omg.CORBA.portable.IDLEntity
00012 {
00013   private        int __value;
00014   private static int __size = 3;
00015   private static Sct_SctApi.BankType[] __array = new Sct_SctApi.BankType [__size];
00016 
00017   public static final int _PHYSICS_CONFIG = 0;
00018   public static final Sct_SctApi.BankType PHYSICS_CONFIG = new Sct_SctApi.BankType(_PHYSICS_CONFIG);
00019   public static final int _SCAN_CONFIG = 1;
00020   public static final Sct_SctApi.BankType SCAN_CONFIG = new Sct_SctApi.BankType(_SCAN_CONFIG);
00021   public static final int _CALIBRATION_CONFIG = 2;
00022   public static final Sct_SctApi.BankType CALIBRATION_CONFIG = new Sct_SctApi.BankType(_CALIBRATION_CONFIG);
00023 
00024   public int value ()
00025   {
00026     return __value;
00027   }
00028 
00029   public static Sct_SctApi.BankType from_int (int value)
00030   {
00031     if (value >= 0 && value < __size)
00032       return __array[value];
00033     else
00034       throw new org.omg.CORBA.BAD_PARAM ();
00035   }
00036 
00037   protected BankType (int value)
00038   {
00039     __value = value;
00040     __array[__value] = this;
00041   }
00042 } // class BankType

Generated on Thu Jul 15 09:55:38 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5