RunType.java

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

Generated on Mon Feb 6 14:12:17 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6