示例#1
0
        public Contour_USB()
        {
            ID  = 8;
            VID = Int32.Parse("1A79", System.Globalization.NumberStyles.HexNumber);
            MeterDescription = "Bayer Contour USB";

            //load supported pids
            PopulateSupportedPIDs();

            Port = new UsbLibrary.UsbHidPort();

            Port.OnSpecifiedDeviceRemoved += Port_OnSpecifiedDeviceRemoved;
            Port.OnSpecifiedDeviceArrived += Port_OnSpecifiedDeviceArrived;
        }
示例#2
0
        public Contour_USB()
        {
            ID = 8;
            VID = Int32.Parse("1A79", System.Globalization.NumberStyles.HexNumber);
            MeterDescription = "Bayer Contour USB";

            //load supported pids
            PopulateSupportedPIDs();

            Port = new UsbLibrary.UsbHidPort();

            Port.OnSpecifiedDeviceRemoved += Port_OnSpecifiedDeviceRemoved;
            Port.OnSpecifiedDeviceArrived += Port_OnSpecifiedDeviceArrived;
        }