Esempio n. 1
0
 /// <summary>
 /// 重车车牌
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AxVECONclient_OnUpdateLPNEvent(object sender, AxVeconclientProj.IVECONclientEvents_OnUpdateLPNEventEvent e)
 {
     Plate = e.lPN;
     Lane  = e.laneNum.ToString();
     Time  = e.triggerTime.ToString("yyyy-MM-dd HH:mm:ss");
     Color = e.colorCode.ToString();
 }
Esempio n. 2
0
        /// <summary>
        /// 重车车牌结果
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AxVECONclient1_OnUpdateLPNEvent(object sender, AxVeconclientProj.IVECONclientEvents_OnUpdateLPNEventEvent e)
        {
            Log_.logInfo.Info("Container UpdateLPN " + e.triggerTime.ToString() + " " + e.lPN);
            Message("Container UpdateLPN " + e.triggerTime.ToString() + " " + e.lPN);
            ContainerEvent(string.Format("Container UpdateLPN at:{0} Plate:{1}", e.triggerTime.ToString(), e.lPN));
            InData_.InsertIN(e.triggerTime, e.lPN);

            ResultLPN = e.lPN;
            if (e.lPN == "")
            {
                ResultLPN = "null";
            }
            ResultDate();

            textBox10.Text = e.triggerTime.ToString();
            textBox11.Text = e.lPN;
            textBox12.Text = e.colorCode.ToString();
            textBox13.Text = e.laneNum.ToString();
        }