#ifndef PACKAGE
#define PACKAGE

#define PROJECT_ID	0x001CE000

#define PROTOKOL	1

#define m_FAST 0
#define m_SLOW 1

#define Inputs	Modbus[0x0]
#define Alarms	Modbus[0x1]
#define Errors	Modbus[0x2]

#define Alarm_mask	Modbus[0x8]
#define Error_mask	Modbus[0x9]

#define Jumpers		Modbus[0x17]
#define jumpers		modbus[0x17]

#define Sleep_time	modbus[0x30]

#define	Brightness	 modbus[0x64]	//	аркость сигнальных лампочек
#define	Cancount	(modbus+0x65)	//	* 10msec - период посылок CAN

#define Protokol	modbus[125]
#define LastMode	modbus[126]

#define Commands	Modbus[127].all
#define cTestLamp	Modbus[127].bit.bit0
#define cDefParam	Modbus[127].bit.bit1
#define cSaveParam	Modbus[127].bit.bit2
#define cLoadParam	Modbus[127].bit.bit3

#define cExtLamp	Modbus[127].bit.bit6
#define cExtLite	Modbus[127].bit.bit7

#define cReset		Modbus[127].bit.bitF

#endif	//PACKAGE

