00001 #ifndef _RC_H_
00002 #define _RC_H_
00003
00004
00005
00006
00007
00008 #define RC_NONE 0
00009 #define RC_PRESENT 1
00010 #define RC_READY 2
00011 #define RC_RUNNING 3
00012 #define RC_PAUSED 4
00013 #define RC_ERROR 5
00014
00015 #define RC_WAITING 128
00016 #define RC_READY_WAIT (RC_WAITING + RC_READY)
00017 #define RC_RUNNING_WAIT (RC_WAITING + RC_RUNNING)
00018 #define RC_PAUSED_WAIT (RC_WAITING + RC_PAUSED)
00019 #define RC_PRESENT_WAIT (RC_WAITING + RC_PRESENT)
00020
00021
00022 #define GS_NONE 1
00023 #define GS_READY 2
00024 #define GS_CONFIGURING 3
00025 #define GS_CONFIGURED 4
00026 #define GS_STARTING 5
00027 #define GS_RUNNING 6
00028 #define GS_PAUSING 7
00029 #define GS_PAUSED 8
00030 #define GS_STOPPING 9
00031 #define GS_ERROR 10
00032 #define GS_ANY 100
00033
00034
00035 #define GSR_NO_RUNS 0
00036 #define GSR_STOPRUN 1
00037 #define GSR_STOPRUN_OPER_BAD 2 // operator marked bad
00038 #define GSR_FLUSHTOKENS 3
00039 #define GSR_FORCESTOP 4 // Also fill in node
00040 #define GSR_DISCONNECTED 5 // Also fill in node
00041 #define GSR_REBOOTED 6
00042 #define GSR_STOPRUN_FAILED 7 // the stoprun command failed: file in node
00043
00044
00045
00046
00047 #define ETH_OUT_SERVER "daqman"
00048 #define ETH_SERVER_PORT 4000
00049 #define ETH_UNIX_PORT ETH_SERVER_PORT
00050 #define ETH_CLIENT_PORT 4001
00051 #define ETH_VXWORKS_PORT ETH_CLIENT_PORT
00052 #define ETH_RC_PORT 4010
00053
00054
00055
00056
00057
00058 #define EVB_DEST_SCSI 0
00059 #define EVB_DEST_TAPE 1
00060 #define EVB_DEST_FILE 2
00061 #define EVB_DEST_NONE 3
00062 #define EVB_DEST_ETHNET 4
00063 #define EVB_DEST_MYRINET 5
00064 #define EVB_DEST_MYRINET2 6
00065
00066 #define BB_DEST_NONE 0
00067 #define BB_DEST_RCF 1
00068 #define BB_DEST_DISK 2
00069 #define BB_DEST_DBONLY 3
00070 #define BB_DEST_COPY 4
00071 #define BB_DEST_WRITER_NONE 5
00072 #define BB_DEST_LOCAL_DISK 6
00073 #define BB_DEST_NONE_EVB 7
00074 #endif