Examples of DeviceType


Examples of org.openhab.binding.insteonplm.internal.device.DeviceType

   * @param aConfig The binding configuration parameters, needed to make device.
   * @return Reference to the new device that has been created
   */
  private InsteonDevice makeNewDevice(InsteonPLMBindingConfig aConfig) {
    String prodKey = aConfig.getProductKey();
    DeviceType dt = DeviceTypeLoader.s_instance().getDeviceType(prodKey);
    if (dt == null) {
      logger.error("unknown product key: {} for config: {}." +
          " Add definition to xml file and try again", prodKey, aConfig);
      return null;
    }
View Full Code Here

Examples of org.openhab.binding.insteonplm.internal.device.DeviceType

        if (msg.isPureNack()) return;
        if (msg.getByte("Cmd") == 0x60) {
          // add the modem to the device list
          InsteonAddress a = new InsteonAddress(msg.getAddress("IMAddress"));
          String prodKey = "0x000045";
          DeviceType dt = DeviceTypeLoader.s_instance().getDeviceType(prodKey);
          if (dt == null) {
            logger.error("unknown modem product key: {} for modem: {}.", prodKey, a);
          } else {
            m_device =  InsteonDevice.s_makeDevice(dt);
            m_device.setAddress(a);
View Full Code Here

Examples of org.teleal.cling.model.types.DeviceType

      LocalServiceBindingException, IOException {

    DeviceIdentity identity = new DeviceIdentity(
        UDN.uniqueSystemIdentifier("SMD UPnP Plugin"));

    DeviceType type = new UDADeviceType("MediaServer", 1);

    DeviceDetails details = new DeviceDetails("SMD Media Server",
        new ManufacturerDetails("SMD Project - vrobin"), new ModelDetails(
            "SMD-UPnP-CD-Proto", "Prototype of UPnP ContentDirectory for SocialMusicDirectory Server",
            "v0.0.1alpha"));
View Full Code Here

Examples of org.uiautomation.ios.communication.device.DeviceType

    this.caps = session.getCapabilities();
    this.desiredSDKVersion = validateSDK(caps.getSDKVersion());

    xcodeInstall = ClassicCommands.getXCodeInstall();
    boolean is64bit = DeviceVariation.is64bit(caps.getDeviceVariation());
    DeviceType deviceType = caps.getDevice();
    DeviceVariation variation = caps.getDeviceVariation();
    simulatorSettings = new SimulatorSettings(info, desiredSDKVersion, is64bit, deviceType, variation);
    bundleId = caps.getBundleId();
  }
View Full Code Here

Examples of org.uiautomation.ios.communication.device.DeviceType

  }


  @Override
  public void setup() {
    DeviceType deviceType = caps.getDevice();
    IOSRunningApplication application = session.getApplication();
    String locale = caps.getLocale();
    String language = caps.getLanguage();
    IOSVersion instrumentsVersion = new IOSVersion(info.getInstrumentsVersion().getVersion());
    boolean instrumentsIs50OrHigher = instrumentsVersion.isGreaterOrEqualTo("5.0");
View Full Code Here

Examples of org.uiautomation.ios.communication.device.DeviceType

    jsList.add(getResource("uiactions.js"));
    jsList.add(getResource("inspector/third_party/jquery.layout1.3.js"));

    map.put("jsList", jsList);

    DeviceType device = model.getCapabilities().getDevice();
    DeviceVariation variation = model.getCapabilities().getDeviceVariation();
    Orientation orientation = model.getDeviceOrientation();

    map.put("frame", getFrame(device, variation, orientation));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.