示例#1
0
        public CVRSDKReadCard(ref TextBox tBkrxm_0, ref ComboBox cBkrxb_0, ref TextBox tBnation_0, ref TextBox tBadd_0, ref TextBox tBid_0, ref DateTimePicker tBkrsr_0, ref TextBox tBkrgj0, ref TextBox tByxzj0, ref PictureBox pb_photo, bool sh_massage)
        {
            string OSType = Common_initalSystem.ReadXML("add", "OSType").ToString();

            //    <add key="OSType" value="win7" />
            if (OSType.Equals("win7"))
            {
                CVRSDKReadCard_win7 sdk = new CVRSDKReadCard_win7(ref tBkrxm_0, ref cBkrxb_0, ref tBnation_0, ref tBadd_0, ref tBid_0, ref tBkrsr_0, ref tBkrgj0, ref tByxzj0, ref pb_photo, sh_massage);
            }
            if (OSType.Equals("xp"))
            {
                CVRSDKReadCard_xp sdk = new CVRSDKReadCard_xp(ref tBkrxm_0, ref cBkrxb_0, ref tBnation_0, ref tBadd_0, ref tBid_0, ref tBkrsr_0, ref tBkrgj0, ref tByxzj0, ref pb_photo, sh_massage);
            }
        }
示例#2
0
        public CVRSDKReadCard(ref string tBkrxm, ref string tBkrxb, ref string tBnation, ref string tBadd, ref string tBid, ref string tBkrsr, ref string tBdepart, ref string tBstart, ref string tBend, ref byte[] imakrxp, bool sh_massage, ref string massage_nr)
        {
            string OSType = Common_initalSystem.ReadXML("add", "OSType").ToString();

            if (OSType.Equals("win7"))
            {
                CVRSDKReadCard_win7 sdk = new CVRSDKReadCard_win7();
                sdk.FillData();
            }
            if (OSType.Equals("xp"))
            {
                CVRSDKReadCard_xp sdk = new CVRSDKReadCard_xp();
                sdk.get_sfz_info(ref tBkrxm, ref tBkrxb, ref tBnation, ref tBadd, ref tBid, ref tBkrsr, ref tBdepart, ref tBstart, ref tBend, ref imakrxp, sh_massage, ref massage_nr);
            }
        }