Пример #1
0
 public ClsTransInfoEx(string portType)
 {
     if (portType.ToUpper() == "BLUE")
     {
         m_communication = new ClsCommunicationBlueEx(GetOs());
     }
 }
Пример #2
0
        public static ClsQCTDeviceEx CreateDevice(ClsCommunicationBlueEx comm, string devicename)
        {
            //Ѫѹ
            if (devicename.StartsWith("CHITBP"))
            {
                return(new ClsCHITDEVICEBPEx(comm));
            }

            //¶îÎÂ
            if (devicename.StartsWith("QCATF"))
            {
                return(new ClsALKDEVICETFEx(comm));
            }

            //ѪÌÇ
            if (devicename.StartsWith("CHITBG"))
            {
                return(new ClsCHITDEVICEBGEx(comm));
            }

            //ÌåÖØ
            if (devicename.StartsWith("CHITBM"))
            {
                return(new ClsCHITDEVICEBMEx(comm));
            }

            //ÄòÒº·ÖÎö
            if (devicename.StartsWith("EMP-Ui"))
            {
                return(new ClsEMPDEVICEUIEx(comm));
            }

            return(null);
        }
Пример #3
0
 public ClsCHITDEVICEBPEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 5000;
 }
Пример #4
0
 public ClsEMPDEVICEUIEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 20000;
 }
Пример #5
0
 public ClsALKDEVICETFEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 6000;
 }