turnonmotecommand.java

来自「tinyos最新版」· Java 代码 · 共 95 行

JAVA
95
字号
/** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'TurnOnMoteCommand' * message type. */package net.tinyos.sim.msg;public class TurnOnMoteCommand extends net.tinyos.message.Message {    /** The default size of this message type in bytes. */    public static final int DEFAULT_MESSAGE_SIZE = 0;    /** The Active Message type associated with this message. */    public static final int AM_TYPE = 4096;    /** Create a new TurnOnMoteCommand of size 0. */    public TurnOnMoteCommand() {        super(DEFAULT_MESSAGE_SIZE);        amTypeSet(AM_TYPE);    }    /** Create a new TurnOnMoteCommand of the given data_length. */    public TurnOnMoteCommand(int data_length) {        super(data_length);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand with the given data_length     * and base offset.     */    public TurnOnMoteCommand(int data_length, int base_offset) {        super(data_length, base_offset);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand using the given byte array     * as backing store.     */    public TurnOnMoteCommand(byte[] data) {        super(data);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand using the given byte array     * as backing store, with the given base offset.     */    public TurnOnMoteCommand(byte[] data, int base_offset) {        super(data, base_offset);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand using the given byte array     * as backing store, with the given base offset and data length.     */    public TurnOnMoteCommand(byte[] data, int base_offset, int data_length) {        super(data, base_offset, data_length);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand embedded in the given message     * at the given base offset.     */    public TurnOnMoteCommand(net.tinyos.message.Message msg, int base_offset) {        super(msg, base_offset, DEFAULT_MESSAGE_SIZE);        amTypeSet(AM_TYPE);    }    /**     * Create a new TurnOnMoteCommand embedded in the given message     * at the given base offset and length.     */    public TurnOnMoteCommand(net.tinyos.message.Message msg, int base_offset, int data_length) {        super(msg, base_offset, data_length);        amTypeSet(AM_TYPE);    }    /**    /* Return a String representation of this message. Includes the     * message type name and the non-indexed field values.     */    public String toString() {      String s = "Message <TurnOnMoteCommand> \n";      return s;    }    // Message-type-specific access methods appear below.}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?