Пример #1
0
        public override void addPoints(MeasureQueueElement measureQueueElement)
        {
            int bin = (int)measureQueueElement.gatePacket.head.bin;
            int id  = (int)measureQueueElement.gatePacket.head.id;

            if (id == (int)PacketId.eventId && bin == (int)DAQ_EVENT.STOP_EVENT)
            {
                if (scanModeIndex == (int)ScanMode.Bscan)
                {
                    bscanSeries.clear();
                    //if (bscanCofig.IsSave)
                    //binarySerialize.SetializeClose();
                }
                else
                {
                    cscanSeries.clear();
                    //if (cscanCofig.IsSave)
                    //binarySerialize.SetializeClose();
                }
                return;
            }
            if (id == (int)PacketId.eventId && bin == (int)DAQ_EVENT.START_EVENT)
            {
                ;
            }



            updateCscan(measureQueueElement);
            updateBscan(measureQueueElement);
        }