// Path: common/src/main/java/de/jlab/android/hombot/common/wear/WearMessages.java
// public final class WearMessages {
// 
//     public static final String MESSAGE_COMMAND = "/command";
//     public static final String MESSAGE_STATUS  = "/status";
//     public static final String MESSAGE_CLEANDATA = "/cleandata";
//     public static final String MESSAGE_MAP = "/map";
//     public static final String MESSAGE_BOT_SELECT = "/bot/select";
//     public static final String MESSAGE_BOT_LIST = "/bot/list";
// 
//     public static final String MAPENTRY_BOT_LIST = "bot_list";
//     public static final String MAPENTRY_BOT_ID = "id";
//     public static final String MAPENTRY_BOT_NAME = "name";
//     public static final String MAPENTRY_BOT_ADDRESS = "address";
// 
//     public static final String CAPABILITY_HOMBOT_HOST   = "hombot_host";
//     public static final String CAPABILITY_HOMBOT_CLIENT = "hombot_client";
// 
// 
// }


import com.google.android.gms.wearable.DataMap;
import de.jlab.android.hombot.common.wear.WearMessages;
package de.jlab.android.hombot.data;



/**
 * Created by frede_000 on 15.10.2015.
 */
public class WearBot {

    private long id;
    private String address;
    private String name;

    public WearBot(DataMap botMap) {
// Path: common/src/main/java/de/jlab/android/hombot/common/wear/WearMessages.java
// public final class WearMessages {
// 
//     public static final String MESSAGE_COMMAND = "/command";
//     public static final String MESSAGE_STATUS  = "/status";
//     public static final String MESSAGE_CLEANDATA = "/cleandata";
//     public static final String MESSAGE_MAP = "/map";
//     public static final String MESSAGE_BOT_SELECT = "/bot/select";
//     public static final String MESSAGE_BOT_LIST = "/bot/list";
// 
//     public static final String MAPENTRY_BOT_LIST = "bot_list";
//     public static final String MAPENTRY_BOT_ID = "id";
//     public static final String MAPENTRY_BOT_NAME = "name";
//     public static final String MAPENTRY_BOT_ADDRESS = "address";
// 
//     public static final String CAPABILITY_HOMBOT_HOST   = "hombot_host";
//     public static final String CAPABILITY_HOMBOT_CLIENT = "hombot_client";
// 
// 
// }


// Path: wear/src/main/java/de/jlab/android/hombot/data/WearBot.java
import com.google.android.gms.wearable.DataMap;
import de.jlab.android.hombot.common.wear.WearMessages;

package de.jlab.android.hombot.data;



/**
 * Created by frede_000 on 15.10.2015.
 */
public class WearBot {

    private long id;
    private String address;
    private String name;

    public WearBot(DataMap botMap) {
        this.id = botMap.getLong(WearMessages.MAPENTRY_BOT_ID);