ConfigurationOperations.java

00001 package sctConf;
00002 
00003 
00011 public interface ConfigurationOperations  extends ipc.servantOperations
00012 {
00013 
00014   //     string getLocation();
00015   int[] listPartitions () throws sctConf.ConfigurationException;
00016   int[] listCratesInPartition (int partition) throws sctConf.ConfigurationException;
00017   boolean isDummyCrate (int partition, int crate);
00018   int[] listRodsInCrate (int partition, int crate) throws sctConf.ConfigurationException;
00019   int[] listMURSInRod (int partition, int crate, int rod) throws sctConf.ConfigurationException;
00020   String[] listModulesInMUR (int partition, int MUR) throws sctConf.ConfigurationException;
00021   String[] listRModulesInMUR (int partition, int MUR) throws sctConf.ConfigurationException;
00022   String[] listAllModules () throws sctConf.ConfigurationException;
00023   String[] listUnusedModules () throws sctConf.ConfigurationException;
00024   sctConf.ABCDModule getModuleConfig (String mod) throws sctConf.ConfigurationException;
00025   short getModuleGroup (String mod) throws sctConf.ConfigurationException;
00026   void setModuleGroup (String mod, short group) throws sctConf.ConfigurationException;
00027   int getModuleErrorMask (int partition, int crate, int rod, int channel, short link) throws sctConf.ConfigurationException;
00028   void setModuleErrorMask (int partition, int crate, int rod, int channel, short link, int mask) throws sctConf.ConfigurationException;
00029   void setDefaultModuleErrorMask (int mask) throws sctConf.ConfigurationException;
00030   sctConf.RodConfig getRodConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException;
00031   sctConf.SlaveConfig getDefaultSlaveConfig (byte type) throws sctConf.ConfigurationException;
00032   sctConf.TimConfig getTimConfig (int partition, int crate) throws sctConf.ConfigurationException;
00033 
00034   // These should be unsigned (for comparison with 255)
00035   byte[] getFibreMappings (int partition, int crate, int rod) throws sctConf.ConfigurationException;
00036   void setFibreMapping (int partition, int crate, int rod, int channel, int tx, int rx0, int rx1) throws sctConf.ConfigurationException;
00037   sctConf.BOCChannelConfig getBOCConfig (int partition, int crate, int rod, int channel) throws sctConf.ConfigurationException;
00038   sctConf.BOCGlobalConfig getBOCGlobalConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException;
00039   String printModuleConfig (sctConf.ABCDModule conf) throws sctConf.ConfigurationException;
00040   sctConf.MURType getMURType (int MUR) throws sctConf.ConfigurationException;
00041   int getFreeMurId () throws sctConf.ConfigurationException;
00042   void translateToROD (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException;
00043   void translateToRROD (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException;
00044   void translateToSN (int MUR, int mod, org.omg.CORBA.StringHolder sn) throws sctConf.ConfigurationException;
00045   void translateToRMUR (int RMUR, int rmod, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00046   void translateToBarrel (int MUR, int mod, org.omg.CORBA.IntHolder barrel, org.omg.CORBA.IntHolder row, org.omg.CORBA.IntHolder number) throws sctConf.ConfigurationException;
00047   void translateToEndcap (int MUR, int mod, org.omg.CORBA.IntHolder disk, org.omg.CORBA.IntHolder ring, org.omg.CORBA.IntHolder number) throws sctConf.ConfigurationException;
00048   void translateToPowerSupply (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException;
00049   void translateFromROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00050   void translateFromRROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00051   void translateFromSN (String sn, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00052   void translateFromRMUR (int MUR, int mod, org.omg.CORBA.IntHolder RMUR, org.omg.CORBA.IntHolder rmod) throws sctConf.ConfigurationException;
00053   void translateFromBarrel (int barrel, int row, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00054   void translateFromEndcap (int disk, int ring, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00055   void translateFromPowerSupply (int partition, int crate, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException;
00056 
00057   //       raises(ConfigurationException);
00058   void configureModuleFromStructure (String number, sctConf.ABCDModule mConf) throws sctConf.ConfigurationException;
00059   void configureModuleFromFile (String filename) throws sctConf.ConfigurationException;
00060   void configureROD (int partition, int crate, int rod, sctConf.RodConfig conf) throws sctConf.ConfigurationException;
00061   void configureTIM (int partition, int crate, sctConf.TimConfig conf) throws sctConf.ConfigurationException;
00062   void configureBOC (int partition, int crate, int rod, sctConf.BOCGlobalConfig conf) throws sctConf.ConfigurationException;
00063   void clearAll () throws sctConf.ConfigurationException;
00064   void namePartition (int partition, String name) throws sctConf.ConfigurationException;
00065   void mapRODMUR (int partition, int crate, int rod, int order, int number) throws sctConf.ConfigurationException;
00066   void unmapRODMUR (int MUR) throws sctConf.ConfigurationException;
00067   void mapBarrelMUR (int MUR, int barrel, int row, int position) throws sctConf.ConfigurationException;
00068   void unmapBarrelMUR (int MUR) throws sctConf.ConfigurationException;
00069   void mapEndcapMUR (int MUR, int disk, int quadrant, int position) throws sctConf.ConfigurationException;
00070   void unmapEndcapMUR (int MUR) throws sctConf.ConfigurationException;
00071   void mapPowerChannel (int MUR, int number, int partition, int crate, int channel) throws sctConf.ConfigurationException;
00072   void unmapPowerChannel (int MUR, int number) throws sctConf.ConfigurationException;
00073   void mapModuleMUR (int MUR, int order, int RMUR, int rorder, String sn) throws sctConf.ConfigurationException;
00074   void unmapModuleMUR (int MUR, int order) throws sctConf.ConfigurationException;
00075   void getMapMURROD (int MUR, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder order) throws sctConf.ConfigurationException;
00076   void getMapRODMUR (int partition, int crate, int rod, int order, org.omg.CORBA.IntHolder MUR) throws sctConf.ConfigurationException;
00077   sctConf.MURType getMapMURPhysical (int MUR, org.omg.CORBA.IntHolder plane, org.omg.CORBA.IntHolder section, org.omg.CORBA.IntHolder position) throws sctConf.ConfigurationException;
00078   void swapMURNames (int MUR1, int MUR2) throws sctConf.ConfigurationException;
00079   void modifyDefaultPowerParam (String state, String name, String type, float value) throws sctConf.ConfigurationException;
00080   void modifyHVCardParam (int crate, int card, String name, String type, float value) throws sctConf.ConfigurationException;
00081   void modifyLVCardParam (int crate, int card, String name, String type, float value) throws sctConf.ConfigurationException;
00082   void modifyPowerParam (int MUR, int number, String state, String name, String type, float value) throws sctConf.ConfigurationException;
00083   void modifyPowerParamCC (int crate, int channel, String state, String name, String type, float value) throws sctConf.ConfigurationException;
00084   float getDefaultPowerParam (String state, String name, String type) throws sctConf.ConfigurationException;
00085   float getHVCardParam (int crate, int card, String name, String type) throws sctConf.ConfigurationException;
00086 
00093   float getLVCardParam (int crate, int card, String name, String type) throws sctConf.ConfigurationException;
00094 
00102   float getPowerParam (int MUR, int number, String state, String name, String type) throws sctConf.ConfigurationException;
00103 
00111   float getPowerParamCC (int crate, int channel, String state, String name, String type) throws sctConf.ConfigurationException;
00112   String[] listDefaultPowerParams () throws sctConf.ConfigurationException;
00113   String[] listDCSChannelParams () throws sctConf.ConfigurationException;
00114   String[] listDCSCardParams () throws sctConf.ConfigurationException;
00115   String[] listDCSCrateParams () throws sctConf.ConfigurationException;
00116   void configureBOCChannel (int MUR, int position, sctConf.BOCChannelConfig conf) throws sctConf.ConfigurationException;
00117   void useMRSForMessages (boolean valid) throws sctConf.ConfigurationException;
00118   void useISForChanges (boolean valid) throws sctConf.ConfigurationException;
00119   void loadConfiguration (String filename) throws sctConf.ConfigurationException;
00120   String getConfigurationFileName () throws sctConf.ConfigurationException;
00121   void saveConfiguration (String filename) throws sctConf.ConfigurationException;
00122   void saveModuleConfiguration (String sn, String filename) throws sctConf.ConfigurationException;
00123   String getModuleConfigurationString (String modsn, sctConf.ABCDModule config) throws sctConf.ConfigurationException;
00124   void writePowerSupplyConfiguration (String directory) throws sctConf.ConfigurationException;
00125 } // interface ConfigurationOperations

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