Android Open Source - android-home-auto Home Unit






From Project

Back to project page android-home-auto.

License

The source code is released under:

Apache License

If you think the Android project android-home-auto listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package app.davols.home.data;
/*w  ww .j a  v a 2 s  .c om*/
import com.fasterxml.jackson.annotation.JsonProperty;

public class HomeUnit {

  @JsonProperty("Name")
  private String mName;
  
  @JsonProperty("deviceId")
  private char mDeviceId;
  
  @JsonProperty("deviceChannel")
  private int mChannel;
  
  @JsonProperty("mStatus")
  private int mStatus;

  public String getName() {
    return mName;
  }

  public void setName(String mName) {
    this.mName = mName;
  }

  public char getDeviceId() {
    return mDeviceId;
  }

  public void setDeviceId(char mDeviceId) {
    this.mDeviceId = mDeviceId;
  }

  public int getChannel() {
    return mChannel;
  }

  public void setChannel(int mChannel) {
    this.mChannel = mChannel;
  }

  public int getStatus() {
    return mStatus;
  }

  public void setStatus(int mStatus) {
    this.mStatus = mStatus;
  }

  public HomeUnit() {

  }
}




Java Source Code List

app.davols.home.MainActivity.java
app.davols.home.data.DataManager.java
app.davols.home.data.HomeUnit.java
app.davols.home.data.MyLog.java