xuxiuxi
2017-08-01 785fd3c3e9984f301018b3b5deb91ecc2c8da124
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java
@@ -3,254 +3,303 @@
public class DeviceQueryItem {
   //
   // 设备主键
   private String deviceId;
   //
   // 设备所属公司
   private String companyId;
   //
   // 设备名称
   private String deviceName;
   //
   // 设备类型:camera1, camera2, main_device
   private String type;
   //
   private String address;
   //
   // 设备地址
   private String installAddress;
   // 学校名称
   private String schoolName;
   //
   // 品牌
   private String brandId;
   //
   // IP
   private String ip;
   //
   // 端口
   private String port;
   //
   // 分辨率
   private String resolutionId;
   //
   // 用户名
   private String username;
   //
   // 密码
   private String password;
   //
   // 通讯协议
   private String protocolId;
   //
   // 序列号
   private String sn;
   //
   // 所属设备id
   private String belongId;
   // 名称
   private String brandName;
   // 名称
   private String resolution;
   // 名称
   private String protocol;
   /**
    * Get
    * Get 设备主键
    */
   public String getDeviceId() {
      return deviceId;
   }
   /**
    * Set
    * Set 设备主键
    */
   public void setDeviceId(String deviceId) {
      this.deviceId = deviceId;
   }
   /**
    * Get
    * Get 设备所属公司
    */
   public String getCompanyId() {
      return companyId;
   }
   /**
    * Set
    * Set 设备所属公司
    */
   public void setCompanyId(String companyId) {
      this.companyId = companyId;
   }
   /**
    * Get
    * Get 设备名称
    */
   public String getDeviceName() {
      return deviceName;
   }
   /**
    * Set
    * Set 设备名称
    */
   public void setDeviceName(String deviceName) {
      this.deviceName = deviceName;
   }
   /**
    * Get
    * Get 设备类型:camera1, camera2, main_device
    */
   public String getType() {
      return type;
   }
   /**
    * Set
    * Set 设备类型:camera1, camera2, main_device
    */
   public void setType(String type) {
      this.type = type;
   }
   /**
    * Get
    * Get 设备地址
    */
   public String getAddress() {
      return address;
   }
   /**
    * Set
    */
   public void setAddress(String address) {
      this.address = address;
   public String getInstallAddress() {
      return installAddress;
   }
   /**
    * Get
    * Set 设备地址
    */
   public void setInstallAddress(String installAddress) {
      this.installAddress = installAddress;
   }
   /**
    * Get 学校名称
    */
   public String getSchoolName() {
      return schoolName;
   }
   /**
    * Set
    * Set 学校名称
    */
   public void setSchoolName(String schoolName) {
      this.schoolName = schoolName;
   }
   /**
    * Get
    * Get 品牌
    */
   public String getBrandId() {
      return brandId;
   }
   /**
    * Set
    * Set 品牌
    */
   public void setBrandId(String brandId) {
      this.brandId = brandId;
   }
   /**
    * Get
    * Get IP
    */
   public String getIp() {
      return ip;
   }
   /**
    * Set
    * Set IP
    */
   public void setIp(String ip) {
      this.ip = ip;
   }
   /**
    * Get
    * Get 端口
    */
   public String getPort() {
      return port;
   }
   /**
    * Set
    * Set 端口
    */
   public void setPort(String port) {
      this.port = port;
   }
   /**
    * Get
    * Get 分辨率
    */
   public String getResolutionId() {
      return resolutionId;
   }
   /**
    * Set
    * Set 分辨率
    */
   public void setResolutionId(String resolutionId) {
      this.resolutionId = resolutionId;
   }
   /**
    * Get
    * Get 用户名
    */
   public String getUsername() {
      return username;
   }
   /**
    * Set
    * Set 用户名
    */
   public void setUsername(String username) {
      this.username = username;
   }
   /**
    * Get
    * Get 密码
    */
   public String getPassword() {
      return password;
   }
   /**
    * Set
    * Set 密码
    */
   public void setPassword(String password) {
      this.password = password;
   }
   /**
    * Get
    * Get 通讯协议
    */
   public String getProtocolId() {
      return protocolId;
   }
   /**
    * Set
    * Set 通讯协议
    */
   public void setProtocolId(String protocolId) {
      this.protocolId = protocolId;
   }
   /**
    * Get
    * Get 序列号
    */
   public String getSn() {
      return sn;
   }
   /**
    * Set
    * Set 序列号
    */
   public void setSn(String sn) {
      this.sn = sn;
   }
   /**
    * Get
    * Get 所属设备id
    */
   public String getBelongId() {
      return belongId;
   }
   /**
    * Set
    * Set 所属设备id
    */
   public void setBelongId(String belongId) {
      this.belongId = belongId;
   }
   /**
    * Get 名称
    */
   public String getBrandName() {
      return brandName;
   }
   /**
    * Set 名称
    */
   public void setBrandName(String brandName) {
      this.brandName = brandName;
   }
   /**
    * Get 名称
    */
   public String getResolution() {
      return resolution;
   }
   /**
    * Set 名称
    */
   public void setResolution(String resolution) {
      this.resolution = resolution;
   }
   /**
    * Get 名称
    */
   public String getProtocol() {
      return protocol;
   }
   /**
    * Set 名称
    */
   public void setProtocol(String protocol) {
      this.protocol = protocol;
   }
   public String toString() {
      return
          ", ="     + deviceId   +  ", ="     + companyId  +  ", ="     + deviceName +
          ", ="     + type       +  ", ="     + address    +  ", ="     + schoolName +
          ", ="     + brandId    +  ", ="     + ip         +  ", ="     + port       +
          ", ="     + resolutionId +  ", ="     + username   +  ", ="     + password   +
          ", ="     + protocolId +  ", ="     + sn         +  ", ="     + belongId
         ;
      return
            ",设备主键 =" + deviceId   +  ",设备所属公司 ="+ companyId  +  ",设备名称 =" + deviceName +
                  ",设备类型:camera1, camera2, main_device ="+ type       +  ",设备地址 =" + installAddress +  ",学校名称 =" + schoolName +
                  ",品牌 ="   + brandId    +  ",IP ="   + ip         +  ",端口 ="   + port       +
                  ",分辨率 ="  + resolutionId +  ",用户名 ="  + username   +  ",密码 ="   + password   +
                  ",通讯协议 =" + protocolId +  ",序列号 ="  + sn         +  ",所属设备id ="+ belongId   +
                  ",名称 ="   + brandName  +  ",名称 ="   + resolution +  ",名称 ="   + protocol
            ;
   }
}