code: function SerialDeviceLoader(Device, useGlobal) {
  
    // call super class
    DeviceLoader.call(this);
  
    this.Device = Device;
  
    this.useGlobal = (useGlobal === undefined || useGlobal === null) ? true : useGlobal;
  
    if (this.useGlobal) {
      this.globalSerialDeviceLoader = globalSerialDeviceLoader.create(Device, this.filter);
    }
  }
docs: A serialdeviceloader can check if there are available some serial devices.
  @param {Object} Device The constructor function of the device.