Ejemplo n.º 1
0
        /// <summary>
        /// 下传单个名单
        /// </summary>
        /// <param name="strCardNo">卡号</param>
        /// <param name="listType">名单类型</param>
        /// <returns></returns>
        public bool ER_SetSigleNameList(string strCardNo, ER_ListType listType)
        {
            PNameList nameList = new PNameList();

            nameList.cardno   = strCardNo;
            nameList.listtype = (int)listType;
            int iRes = DownLoadOneNameList(this._DevicePort, nameList);

            if (iRes == 0)
            {
                return(true);
            }
            return(false);
        }
Ejemplo n.º 2
0
 private static extern int DownLoadOneNameList(IntPtr hPort, PNameList nameList);
Ejemplo n.º 3
0
 /// <summary>
 /// 下传单个名单
 /// </summary>
 /// <param name="strCardNo">卡号</param>
 /// <param name="listType">名单类型</param>
 /// <returns></returns>
 public bool ER_SetSigleNameList(string strCardNo, ER_ListType listType)
 {
     PNameList nameList = new PNameList();
     nameList.cardno = strCardNo;
     nameList.listtype = (int)listType;
     int iRes = DownLoadOneNameList(this._DevicePort, nameList);
     if (iRes == 0)
     {
         return true;
     }
     return false;
 }
Ejemplo n.º 4
0
 private static extern int DownLoadOneNameList(IntPtr hPort, PNameList nameList);