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