class_h

/*
**	Copyright 1991-2014, Fermi Research Alliance, LLC.  All rights reserved.
*/
/******************************************************************************/
/*class.h
**
**	Definitions for console classes.  Each console is a member of one
**	or more classes that determines what programs can be run and what
**	database devices may be set by a console.
**	Companion routines are class_do_check(), class_get_names(),litapc().
**	K. Cahill	26-Sep-91
**
**	Swapped the definitions for Meson and RF	B Hendricks	10-Dec-02
*/
/******************************************************************************/

#ifndef CLASSH_DEFINED				/* do this only once */
#define	CLASSH_DEFINED

#include "ul_cnscom_noX11.h"

#define	NUM_CONSOLE_CLASSES	32		/* number of available console classes */

#define CLASS_MCR 		0X00000002
#define CLASS_REMOTE_MCR	0X00000004
#define CLASS_CHL		0X00000008
#define CLASS_MCRCC		0X00000010
#define CLASS_DZERO		0X00000020
#define CLASS_ASTA		0X00000020
#define CLASS_CDF		0X00000040
#define CLASS_WEBUSER		0X00000080
#define CLASS_MINIMAL		0X00000100
#define CLASS_OPERATIONS	0X00000200
#define CLASS_KTEV		0X00000400
#define CLASS_ACCEL_PROGRAMMER	0X00000800
#define CLASS_RF		0X00001000
#define CLASS_NOVA		0X00002000
#define CLASS_CENTRAL_OTHER	0X00004000
#define CLASS_CENTRAL_SERVICES	0X00008000
#define CLASS_PBAR		0X00010000
#define CLASS_MUON		0X00010000
#define CLASS_FSWRITE		0x00020000
#define CLASS_DEVELOPMENT	0x00040000
#define CLASS_COLLIDER		0X00080000
#define CLASS_LINAC		0X00100000
#define CLASS_BOOSTER		0X00200000
#define CLASS_MAIN_INJECTOR	0X00400000
#define CLASS_SWITCHYARD	0X00800000
#define CLASS_TEVATRON		0X01000000
#define CLASS_NUMI		0X02000000
#define CLASS_BOONE		0X04000000
#define CLASS_MESON		0X08000000
#define CLASS_FRIG		0X10000000
#define CLASS_RPC		0X20000000
#define CLASS_ACCEL_R_AND_D	0X20000000
#define CLASS_REMOTE_SET	0X40000000
#define CLASS_MANAGER		0X80000000


/* definitions for class_check_uti_sets.  */

#define UTI_RPC		1
#define UTI_GASSET	2
#define UTI_UPLINK	3
#define	UTI_IOMAC	4
#define UTI_SET4RD	5
#define UTI_FSWRIT	6

#endif