using System;
using Foundation;
namespace AsReaderDock_VS
{
    public class GlobalDefine
    {
        public static int df_ERROR = 0;
        public static int df_SUCESS = 1;

        public static int df_BATTERY_CHARGING = 2;

        public static int df_SETTING_EMPTY = -1;
        public static string df_SETTING_BEEP = "BEEP";
        public static string df_SETTING_VIBRATION = "VIBRATION";
        public static string df_SETTING_LED = "LED";
        public static string df_SETTING_ILLUMINATION = "ILLUMINATION";

        public static NSString df_CELL_TAG_INFO = new NSString("TAG_INFO");
        public static NSString df_CELL_TAG_COUNT = new NSString("COUNT");
        public static NSString df_CELL_TAG_RAW = new NSString("RAW");
        //public static NSString df_CELL_TAG_DEVICETYPE = new NSString("DEVICE");
        public static NSString df_CELL_TAG_RSSI = new NSString("RSSI");
        public static NSString df_CELL_TAG_DATETIME = new NSString("DATETIME");

        public static NSString df_CELL_TAG_DEVICE_MODE = new NSString("DEVICE_MODE");
        public static NSString df_CELL_DATA_TYPE = new NSString("DATA_TYPE");

        public static NSString Key_FDBX_NationalCode = new NSString("Key_FDBX_NationalCode");
        public static NSString Key_FDBX_CountryCode = new NSString("Key_FDBX_CountryCode");
        public static NSString Key_FDBX_StatusFlag = new NSString("Key_FDBX_StatusFlag");
        public static NSString Key_FDBX_AnimalIndicator = new NSString("Key_FDBX_AnimalIndicator");
        public static NSString Key_FDBX_Reserved = new NSString("Key_FDBX_Reserved");


        public const int df_READER_INFO_FROM_FIRMWARE = 0xB1;
        public const int df_READER_INFO_FROM_RFID = 0xB0;

        public const int REGION_KOREA_OLD = 0x01;
        public const int REGION_USA_OLD = 0x02;
        public const int REGION_EUROPE_OLD = 0x04;
        public const int REGION_JAPAN_OLD = 0x08;
        public const int REGION_CHINA2_OLD = 0x10;
        public const int REGION_CHINA1_OLD = 0x16;
        public const int REGION_USA2_OLD = 0x32;

        public const int REGION_KOREA = 0x11;
        public const int REGION_USA = 0x21;
        public const int REGION_USA2 = 0x22;
        public const int REGION_EUROPE = 0x31;
        public const int REGION_JAPAN = 0x41;
        public const int REGION_CHINA1 = 0x51;
        public const int REGION_CHINA2 = 0x52;
        public const int REGION_BRAZIL1 = 0x61;
        public const int REGION_BRAZIL2 = 0x62;
        public const int REGION_AU_HK = 0x71;

        public const int RCP_RESET_TYPE_HW = 0x01;
        public const int RCP_RESET_TYPE_APP = 0x00;
        public const int RCP_RESET_TYPE_NONE = 0xF0;
    }
}
