00001 package Sct_CalibrationController;
00002
00003
00004
00005
00006
00007
00014 public class CalibrationControllerStatus extends is.Info {
00015 public static final is.Type type = new is.Type( new CalibrationControllerStatus( ) );
00016
00017 public CalibrationControllerStatus() {
00018 this( "CalibrationControllerStatus" );
00019 }
00020
00021 protected CalibrationControllerStatus( String type ) {
00022 super( type );
00023 status = LOADED;
00024 updateOption = "UPDATE";
00025 currentSequence = "";
00026 currentTest = "";
00027
00028
00029
00030
00031 }
00032
00033 public static final int LOADED = 0;
00034 public static final int INCONTROL = 1;
00035 public static final int BUSY = 2;
00036 public static final int ERROR = 3;
00037
00040 public int status;
00041
00044 public String updateOption;
00045
00048 public String currentSequence;
00049
00052 public String currentTest;
00053
00056 public int currentScanIndex;
00057
00058
00059 public void publishGuts( is.Ostream out ){
00060 super.publishGuts( out );
00061 out.put( status, true ).put( updateOption ).put( currentSequence ).put( currentTest );
00062 out.put( currentScanIndex, false );
00063 }
00064
00065 public void refreshGuts( is.Istream in ){
00066 super.refreshGuts( in );
00067 status = in.getInt( );
00068 updateOption = in.getString( );
00069 currentSequence = in.getString( );
00070 currentTest = in.getString( );
00071 currentScanIndex = in.getInt( );
00072 }
00073
00074
00075
00076
00077
00078 }
00079
00080
00081
00082
00083