Ejemplo n.º 1
0
 public ClsTransInfoEx(string portType)
 {
     if (portType.ToUpper() == "BLUE")
     {
         m_communication = new ClsCommunicationBlueEx(GetOs());
     }
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public ClsCHITDEVICEBPEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 5000;
 }
Ejemplo n.º 4
0
 public ClsEMPDEVICEUIEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 20000;
 }
Ejemplo n.º 5
0
 public ClsALKDEVICETFEx(ClsCommunicationBlueEx comm)
 {
     base.m_Comm  = comm;
     base.m_delay = 6000;
 }