Esempio n. 1
0
        /// <summary>
        /// 车牌识别触发
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void axHVActiveX21_OnReceivePlate(object sender, EventArgs e)
        {
            int    ism      = axHVActiveX21.SavePlateImage(StrImgPath);
            string strCarNo = axHVActiveX21.GetPlate();

            byte[]             imgCarNo = System.IO.File.ReadAllBytes(StrImgPath);
            OnReceiveEventArgs args     = new OnReceiveEventArgs(strCarNo, imgCarNo);

            OnReceive(sender, args);
        }
Esempio n. 2
0
 /// <summary>
 /// 车牌识别触发
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void axHVActiveX21_OnReceivePlate(object sender, EventArgs e)
 {
     int ism = axHVActiveX21.SavePlateImage(StrImgPath);
     string  strCarNo=axHVActiveX21.GetPlate();
     byte[] imgCarNo=System.IO.File.ReadAllBytes(StrImgPath);
     OnReceiveEventArgs args = new OnReceiveEventArgs(strCarNo, imgCarNo);
     OnReceive(sender, args);
 }