package FLXCheckInController type FlxCheckInComPara byte /// 数据包大小 const DataPacketMinLength int = 6 /// 广播地址 const CMD_BROAD byte = 0xFF /// 默认0通道地址 const CMD_CHANEL byte = 0x00 /// 包头 const CMD_HEAD byte = 0x7E /// 包尾 const CMD_Tail byte = 0x7E /// 清除存储区状态 const Clear_SaveArea byte = 0x00 /// 下载E状态 const DownLoad_EState byte = 0x01 /// 读输入端口状态 const Read_In_State byte = 0x02 /// 控制继电器及开关量输出 const Set_Output_State byte = 0x03 /// 天线的开关控制(State=1 表示开启天线的工作状态;State = 0 表示关闭天线的工作状态) const Open_Close_ReaderPower byte = 0x04 /// (对于原装TI读卡器)读读卡器检测状态 const Read_Reader_State byte = 0x05 /// /// 蜂鸣指令关键字。 /// const BeepOn byte = 0x09 /// 持卡进出 const Read_SeriaNo byte = 0x06 type CheckInDirection int const ( CheckInDirection_Unkown = 0 CheckInDirection_In = 1 CheckInDirection_Out = 2 )