[Firebug-cvs] firebug/project/java/src/org/firebug XBow1Msg.java,NONE,1.1 XBow2Msg.java,NONE,1.1
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2004-07-02 00:09:15
|
Update of /cvsroot/firebug/firebug/project/java/src/org/firebug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25772 Added Files: XBow1Msg.java XBow2Msg.java Log Message: Added some xbow style messages. --- NEW FILE: XBow1Msg.java --- /** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'XBow1Msg' * message type. */ package org.firebug; public class XBow1Msg extends net.tinyos.message.Message { /** The default size of this message type in bytes. */ public static final int DEFAULT_MESSAGE_SIZE = 24; /** The Active Message type associated with this message. */ public static final int AM_TYPE = 137; /** Create a new XBow1Msg of size 24. */ public XBow1Msg() { super(DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** Create a new XBow1Msg of the given data_length. */ public XBow1Msg(int data_length) { super(data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg with the given data_length * and base offset. */ public XBow1Msg(int data_length, int base_offset) { super(data_length, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store. */ public XBow1Msg(byte[] data) { super(data); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store, with the given base offset. */ public XBow1Msg(byte[] data, int base_offset) { super(data, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg using the given byte array * as backing store, with the given base offset and data length. */ public XBow1Msg(byte[] data, int base_offset, int data_length) { super(data, base_offset, data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg embedded in the given message * at the given base offset. */ public XBow1Msg(net.tinyos.message.Message msg, int base_offset) { super(msg, base_offset, DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** * Create a new XBow1Msg embedded in the given message * at the given base offset and length. */ public XBow1Msg(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 <XBow1Msg> \n"; try { s += " [battery=0x"+Long.toHexString(get_battery())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [humidity=0x"+Long.toHexString(get_humidity())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [temp=0x"+Long.toHexString(get_temp())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word1=0x"+Long.toHexString(get_cal_word1())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word2=0x"+Long.toHexString(get_cal_word2())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word3=0x"+Long.toHexString(get_cal_word3())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [cal_word4=0x"+Long.toHexString(get_cal_word4())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [intersematemp=0x"+Long.toHexString(get_intersematemp())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [intersemapressure=0x"+Long.toHexString(get_intersemapressure())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [taosch0=0x"+Long.toHexString(get_taosch0())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [taosch1=0x"+Long.toHexString(get_taosch1())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [accel_x=0x"+Long.toHexString(get_accel_x())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } return s; } // Message-type-specific access methods appear below. ///////////////////////////////////////////////////////// // Accessor methods for field: battery // Field type: int, unsigned // Offset (bits): 0 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'battery' is signed (false). */ public static boolean isSigned_battery() { return false; } /** * Return whether the field 'battery' is an array (false). */ public static boolean isArray_battery() { return false; } /** * Return the offset (in bytes) of the field 'battery' */ public static int offset_battery() { return (0 / 8); } /** * Return the offset (in bits) of the field 'battery' */ public static int offsetBits_battery() { return 0; } /** * Return the value (as a int) of the field 'battery' */ public int get_battery() { return (int)getUIntElement(offsetBits_battery(), 16); } /** * Set the value of the field 'battery' */ public void set_battery(int value) { setUIntElement(offsetBits_battery(), 16, value); } /** * Return the size, in bytes, of the field 'battery' */ public static int size_battery() { return (16 / 8); } /** * Return the size, in bits, of the field 'battery' */ public static int sizeBits_battery() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: humidity // Field type: int, unsigned // Offset (bits): 16 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'humidity' is signed (false). */ public static boolean isSigned_humidity() { return false; } /** * Return whether the field 'humidity' is an array (false). */ public static boolean isArray_humidity() { return false; } /** * Return the offset (in bytes) of the field 'humidity' */ public static int offset_humidity() { return (16 / 8); } /** * Return the offset (in bits) of the field 'humidity' */ public static int offsetBits_humidity() { return 16; } /** * Return the value (as a int) of the field 'humidity' */ public int get_humidity() { return (int)getUIntElement(offsetBits_humidity(), 16); } /** * Set the value of the field 'humidity' */ public void set_humidity(int value) { setUIntElement(offsetBits_humidity(), 16, value); } /** * Return the size, in bytes, of the field 'humidity' */ public static int size_humidity() { return (16 / 8); } /** * Return the size, in bits, of the field 'humidity' */ public static int sizeBits_humidity() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: temp // Field type: int, unsigned // Offset (bits): 32 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'temp' is signed (false). */ public static boolean isSigned_temp() { return false; } /** * Return whether the field 'temp' is an array (false). */ public static boolean isArray_temp() { return false; } /** * Return the offset (in bytes) of the field 'temp' */ public static int offset_temp() { return (32 / 8); } /** * Return the offset (in bits) of the field 'temp' */ public static int offsetBits_temp() { return 32; } /** * Return the value (as a int) of the field 'temp' */ public int get_temp() { return (int)getUIntElement(offsetBits_temp(), 16); } /** * Set the value of the field 'temp' */ public void set_temp(int value) { setUIntElement(offsetBits_temp(), 16, value); } /** * Return the size, in bytes, of the field 'temp' */ public static int size_temp() { return (16 / 8); } /** * Return the size, in bits, of the field 'temp' */ public static int sizeBits_temp() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word1 // Field type: int, unsigned // Offset (bits): 48 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word1' is signed (false). */ public static boolean isSigned_cal_word1() { return false; } /** * Return whether the field 'cal_word1' is an array (false). */ public static boolean isArray_cal_word1() { return false; } /** * Return the offset (in bytes) of the field 'cal_word1' */ public static int offset_cal_word1() { return (48 / 8); } /** * Return the offset (in bits) of the field 'cal_word1' */ public static int offsetBits_cal_word1() { return 48; } /** * Return the value (as a int) of the field 'cal_word1' */ public int get_cal_word1() { return (int)getUIntElement(offsetBits_cal_word1(), 16); } /** * Set the value of the field 'cal_word1' */ public void set_cal_word1(int value) { setUIntElement(offsetBits_cal_word1(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word1' */ public static int size_cal_word1() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word1' */ public static int sizeBits_cal_word1() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word2 // Field type: int, unsigned // Offset (bits): 64 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word2' is signed (false). */ public static boolean isSigned_cal_word2() { return false; } /** * Return whether the field 'cal_word2' is an array (false). */ public static boolean isArray_cal_word2() { return false; } /** * Return the offset (in bytes) of the field 'cal_word2' */ public static int offset_cal_word2() { return (64 / 8); } /** * Return the offset (in bits) of the field 'cal_word2' */ public static int offsetBits_cal_word2() { return 64; } /** * Return the value (as a int) of the field 'cal_word2' */ public int get_cal_word2() { return (int)getUIntElement(offsetBits_cal_word2(), 16); } /** * Set the value of the field 'cal_word2' */ public void set_cal_word2(int value) { setUIntElement(offsetBits_cal_word2(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word2' */ public static int size_cal_word2() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word2' */ public static int sizeBits_cal_word2() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word3 // Field type: int, unsigned // Offset (bits): 80 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word3' is signed (false). */ public static boolean isSigned_cal_word3() { return false; } /** * Return whether the field 'cal_word3' is an array (false). */ public static boolean isArray_cal_word3() { return false; } /** * Return the offset (in bytes) of the field 'cal_word3' */ public static int offset_cal_word3() { return (80 / 8); } /** * Return the offset (in bits) of the field 'cal_word3' */ public static int offsetBits_cal_word3() { return 80; } /** * Return the value (as a int) of the field 'cal_word3' */ public int get_cal_word3() { return (int)getUIntElement(offsetBits_cal_word3(), 16); } /** * Set the value of the field 'cal_word3' */ public void set_cal_word3(int value) { setUIntElement(offsetBits_cal_word3(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word3' */ public static int size_cal_word3() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word3' */ public static int sizeBits_cal_word3() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: cal_word4 // Field type: int, unsigned // Offset (bits): 96 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'cal_word4' is signed (false). */ public static boolean isSigned_cal_word4() { return false; } /** * Return whether the field 'cal_word4' is an array (false). */ public static boolean isArray_cal_word4() { return false; } /** * Return the offset (in bytes) of the field 'cal_word4' */ public static int offset_cal_word4() { return (96 / 8); } /** * Return the offset (in bits) of the field 'cal_word4' */ public static int offsetBits_cal_word4() { return 96; } /** * Return the value (as a int) of the field 'cal_word4' */ public int get_cal_word4() { return (int)getUIntElement(offsetBits_cal_word4(), 16); } /** * Set the value of the field 'cal_word4' */ public void set_cal_word4(int value) { setUIntElement(offsetBits_cal_word4(), 16, value); } /** * Return the size, in bytes, of the field 'cal_word4' */ public static int size_cal_word4() { return (16 / 8); } /** * Return the size, in bits, of the field 'cal_word4' */ public static int sizeBits_cal_word4() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: intersematemp // Field type: int, unsigned // Offset (bits): 112 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'intersematemp' is signed (false). */ public static boolean isSigned_intersematemp() { return false; } /** * Return whether the field 'intersematemp' is an array (false). */ public static boolean isArray_intersematemp() { return false; } /** * Return the offset (in bytes) of the field 'intersematemp' */ public static int offset_intersematemp() { return (112 / 8); } /** * Return the offset (in bits) of the field 'intersematemp' */ public static int offsetBits_intersematemp() { return 112; } /** * Return the value (as a int) of the field 'intersematemp' */ public int get_intersematemp() { return (int)getUIntElement(offsetBits_intersematemp(), 16); } /** * Set the value of the field 'intersematemp' */ public void set_intersematemp(int value) { setUIntElement(offsetBits_intersematemp(), 16, value); } /** * Return the size, in bytes, of the field 'intersematemp' */ public static int size_intersematemp() { return (16 / 8); } /** * Return the size, in bits, of the field 'intersematemp' */ public static int sizeBits_intersematemp() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: intersemapressure // Field type: int, unsigned // Offset (bits): 128 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'intersemapressure' is signed (false). */ public static boolean isSigned_intersemapressure() { return false; } /** * Return whether the field 'intersemapressure' is an array (false). */ public static boolean isArray_intersemapressure() { return false; } /** * Return the offset (in bytes) of the field 'intersemapressure' */ public static int offset_intersemapressure() { return (128 / 8); } /** * Return the offset (in bits) of the field 'intersemapressure' */ public static int offsetBits_intersemapressure() { return 128; } /** * Return the value (as a int) of the field 'intersemapressure' */ public int get_intersemapressure() { return (int)getUIntElement(offsetBits_intersemapressure(), 16); } /** * Set the value of the field 'intersemapressure' */ public void set_intersemapressure(int value) { setUIntElement(offsetBits_intersemapressure(), 16, value); } /** * Return the size, in bytes, of the field 'intersemapressure' */ public static int size_intersemapressure() { return (16 / 8); } /** * Return the size, in bits, of the field 'intersemapressure' */ public static int sizeBits_intersemapressure() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: taosch0 // Field type: int, unsigned // Offset (bits): 144 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'taosch0' is signed (false). */ public static boolean isSigned_taosch0() { return false; } /** * Return whether the field 'taosch0' is an array (false). */ public static boolean isArray_taosch0() { return false; } /** * Return the offset (in bytes) of the field 'taosch0' */ public static int offset_taosch0() { return (144 / 8); } /** * Return the offset (in bits) of the field 'taosch0' */ public static int offsetBits_taosch0() { return 144; } /** * Return the value (as a int) of the field 'taosch0' */ public int get_taosch0() { return (int)getUIntElement(offsetBits_taosch0(), 16); } /** * Set the value of the field 'taosch0' */ public void set_taosch0(int value) { setUIntElement(offsetBits_taosch0(), 16, value); } /** * Return the size, in bytes, of the field 'taosch0' */ public static int size_taosch0() { return (16 / 8); } /** * Return the size, in bits, of the field 'taosch0' */ public static int sizeBits_taosch0() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: taosch1 // Field type: int, unsigned // Offset (bits): 160 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'taosch1' is signed (false). */ public static boolean isSigned_taosch1() { return false; } /** * Return whether the field 'taosch1' is an array (false). */ public static boolean isArray_taosch1() { return false; } /** * Return the offset (in bytes) of the field 'taosch1' */ public static int offset_taosch1() { return (160 / 8); } /** * Return the offset (in bits) of the field 'taosch1' */ public static int offsetBits_taosch1() { return 160; } /** * Return the value (as a int) of the field 'taosch1' */ public int get_taosch1() { return (int)getUIntElement(offsetBits_taosch1(), 16); } /** * Set the value of the field 'taosch1' */ public void set_taosch1(int value) { setUIntElement(offsetBits_taosch1(), 16, value); } /** * Return the size, in bytes, of the field 'taosch1' */ public static int size_taosch1() { return (16 / 8); } /** * Return the size, in bits, of the field 'taosch1' */ public static int sizeBits_taosch1() { return 16; } ///////////////////////////////////////////////////////// // Accessor methods for field: accel_x // Field type: int, unsigned // Offset (bits): 176 // Size (bits): 16 ///////////////////////////////////////////////////////// /** * Return whether the field 'accel_x' is signed (false). */ public static boolean isSigned_accel_x() { return false; } /** * Return whether the field 'accel_x' is an array (false). */ public static boolean isArray_accel_x() { return false; } /** * Return the offset (in bytes) of the field 'accel_x' */ public static int offset_accel_x() { return (176 / 8); } /** * Return the offset (in bits) of the field 'accel_x' */ public static int offsetBits_accel_x() { return 176; } /** * Return the value (as a int) of the field 'accel_x' */ public int get_accel_x() { return (int)getUIntElement(offsetBits_accel_x(), 16); } /** * Set the value of the field 'accel_x' */ public void set_accel_x(int value) { setUIntElement(offsetBits_accel_x(), 16, value); } /** * Return the size, in bytes, of the field 'accel_x' */ public static int size_accel_x() { return (16 / 8); } /** * Return the size, in bits, of the field 'accel_x' */ public static int sizeBits_accel_x() { return 16; } } --- NEW FILE: XBow2Msg.java --- /** * This class is automatically generated by mig. DO NOT EDIT THIS FILE. * This class implements a Java interface to the 'XBow2Msg' * message type. */ package org.firebug; public class XBow2Msg extends net.tinyos.message.Message { /** The default size of this message type in bytes. */ public static final int DEFAULT_MESSAGE_SIZE = 18; /** The Active Message type associated with this message. */ public static final int AM_TYPE = 138; /** Create a new XBow2Msg of size 18. */ public XBow2Msg() { super(DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** Create a new XBow2Msg of the given data_length. */ public XBow2Msg(int data_length) { super(data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg with the given data_length * and base offset. */ public XBow2Msg(int data_length, int base_offset) { super(data_length, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store. */ public XBow2Msg(byte[] data) { super(data); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store, with the given base offset. */ public XBow2Msg(byte[] data, int base_offset) { super(data, base_offset); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg using the given byte array * as backing store, with the given base offset and data length. */ public XBow2Msg(byte[] data, int base_offset, int data_length) { super(data, base_offset, data_length); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg embedded in the given message * at the given base offset. */ public XBow2Msg(net.tinyos.message.Message msg, int base_offset) { super(msg, base_offset, DEFAULT_MESSAGE_SIZE); amTypeSet(AM_TYPE); } /** * Create a new XBow2Msg embedded in the given message * at the given base offset and length. */ public XBow2Msg(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 <XBow2Msg> \n"; try { s += " [hours=0x"+Long.toHexString(get_hours())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [minutes=0x"+Long.toHexString(get_minutes())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Lat_deg=0x"+Long.toHexString(get_Lat_deg())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Long_deg=0x"+Long.toHexString(get_Long_deg())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [dec_sec=0x"+Long.toHexString(get_dec_sec())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Lat_dec_min=0x"+Long.toHexString(get_Lat_dec_min())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Long_dec_min=0x"+Long.toHexString(get_Long_dec_min())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [NSEWind=0x"+Long.toHexString(get_NSEWind())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } try { s += " [Fixed=0x"+Long.toHexString(get_Fixed())+"]\n"; } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } return s; } // Message-type-specific access methods appear below. ///////////////////////////////////////////////////////// // Accessor methods for field: hours // Field type: short, unsigned // Offset (bits): 0 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'hours' is signed (false). */ public static boolean isSigned_hours() { return false; } /** * Return whether the field 'hours' is an array (false). */ public static boolean isArray_hours() { return false; } /** * Return the offset (in bytes) of the field 'hours' */ public static int offset_hours() { return (0 / 8); } /** * Return the offset (in bits) of the field 'hours' */ public static int offsetBits_hours() { return 0; } /** * Return the value (as a short) of the field 'hours' */ public short get_hours() { return (short)getUIntElement(offsetBits_hours(), 8); } /** * Set the value of the field 'hours' */ public void set_hours(short value) { setUIntElement(offsetBits_hours(), 8, value); } /** * Return the size, in bytes, of the field 'hours' */ public static int size_hours() { return (8 / 8); } /** * Return the size, in bits, of the field 'hours' */ public static int sizeBits_hours() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: minutes // Field type: short, unsigned // Offset (bits): 8 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'minutes' is signed (false). */ public static boolean isSigned_minutes() { return false; } /** * Return whether the field 'minutes' is an array (false). */ public static boolean isArray_minutes() { return false; } /** * Return the offset (in bytes) of the field 'minutes' */ public static int offset_minutes() { return (8 / 8); } /** * Return the offset (in bits) of the field 'minutes' */ public static int offsetBits_minutes() { return 8; } /** * Return the value (as a short) of the field 'minutes' */ public short get_minutes() { return (short)getUIntElement(offsetBits_minutes(), 8); } /** * Set the value of the field 'minutes' */ public void set_minutes(short value) { setUIntElement(offsetBits_minutes(), 8, value); } /** * Return the size, in bytes, of the field 'minutes' */ public static int size_minutes() { return (8 / 8); } /** * Return the size, in bits, of the field 'minutes' */ public static int sizeBits_minutes() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Lat_deg // Field type: short, unsigned // Offset (bits): 16 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Lat_deg' is signed (false). */ public static boolean isSigned_Lat_deg() { return false; } /** * Return whether the field 'Lat_deg' is an array (false). */ public static boolean isArray_Lat_deg() { return false; } /** * Return the offset (in bytes) of the field 'Lat_deg' */ public static int offset_Lat_deg() { return (16 / 8); } /** * Return the offset (in bits) of the field 'Lat_deg' */ public static int offsetBits_Lat_deg() { return 16; } /** * Return the value (as a short) of the field 'Lat_deg' */ public short get_Lat_deg() { return (short)getUIntElement(offsetBits_Lat_deg(), 8); } /** * Set the value of the field 'Lat_deg' */ public void set_Lat_deg(short value) { setUIntElement(offsetBits_Lat_deg(), 8, value); } /** * Return the size, in bytes, of the field 'Lat_deg' */ public static int size_Lat_deg() { return (8 / 8); } /** * Return the size, in bits, of the field 'Lat_deg' */ public static int sizeBits_Lat_deg() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Long_deg // Field type: short, unsigned // Offset (bits): 24 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Long_deg' is signed (false). */ public static boolean isSigned_Long_deg() { return false; } /** * Return whether the field 'Long_deg' is an array (false). */ public static boolean isArray_Long_deg() { return false; } /** * Return the offset (in bytes) of the field 'Long_deg' */ public static int offset_Long_deg() { return (24 / 8); } /** * Return the offset (in bits) of the field 'Long_deg' */ public static int offsetBits_Long_deg() { return 24; } /** * Return the value (as a short) of the field 'Long_deg' */ public short get_Long_deg() { return (short)getUIntElement(offsetBits_Long_deg(), 8); } /** * Set the value of the field 'Long_deg' */ public void set_Long_deg(short value) { setUIntElement(offsetBits_Long_deg(), 8, value); } /** * Return the size, in bytes, of the field 'Long_deg' */ public static int size_Long_deg() { return (8 / 8); } /** * Return the size, in bits, of the field 'Long_deg' */ public static int sizeBits_Long_deg() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: dec_sec // Field type: long, unsigned // Offset (bits): 32 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'dec_sec' is signed (false). */ public static boolean isSigned_dec_sec() { return false; } /** * Return whether the field 'dec_sec' is an array (false). */ public static boolean isArray_dec_sec() { return false; } /** * Return the offset (in bytes) of the field 'dec_sec' */ public static int offset_dec_sec() { return (32 / 8); } /** * Return the offset (in bits) of the field 'dec_sec' */ public static int offsetBits_dec_sec() { return 32; } /** * Return the value (as a long) of the field 'dec_sec' */ public long get_dec_sec() { return (long)getUIntElement(offsetBits_dec_sec(), 32); } /** * Set the value of the field 'dec_sec' */ public void set_dec_sec(long value) { setUIntElement(offsetBits_dec_sec(), 32, value); } /** * Return the size, in bytes, of the field 'dec_sec' */ public static int size_dec_sec() { return (32 / 8); } /** * Return the size, in bits, of the field 'dec_sec' */ public static int sizeBits_dec_sec() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: Lat_dec_min // Field type: long, unsigned // Offset (bits): 64 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'Lat_dec_min' is signed (false). */ public static boolean isSigned_Lat_dec_min() { return false; } /** * Return whether the field 'Lat_dec_min' is an array (false). */ public static boolean isArray_Lat_dec_min() { return false; } /** * Return the offset (in bytes) of the field 'Lat_dec_min' */ public static int offset_Lat_dec_min() { return (64 / 8); } /** * Return the offset (in bits) of the field 'Lat_dec_min' */ public static int offsetBits_Lat_dec_min() { return 64; } /** * Return the value (as a long) of the field 'Lat_dec_min' */ public long get_Lat_dec_min() { return (long)getUIntElement(offsetBits_Lat_dec_min(), 32); } /** * Set the value of the field 'Lat_dec_min' */ public void set_Lat_dec_min(long value) { setUIntElement(offsetBits_Lat_dec_min(), 32, value); } /** * Return the size, in bytes, of the field 'Lat_dec_min' */ public static int size_Lat_dec_min() { return (32 / 8); } /** * Return the size, in bits, of the field 'Lat_dec_min' */ public static int sizeBits_Lat_dec_min() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: Long_dec_min // Field type: long, unsigned // Offset (bits): 96 // Size (bits): 32 ///////////////////////////////////////////////////////// /** * Return whether the field 'Long_dec_min' is signed (false). */ public static boolean isSigned_Long_dec_min() { return false; } /** * Return whether the field 'Long_dec_min' is an array (false). */ public static boolean isArray_Long_dec_min() { return false; } /** * Return the offset (in bytes) of the field 'Long_dec_min' */ public static int offset_Long_dec_min() { return (96 / 8); } /** * Return the offset (in bits) of the field 'Long_dec_min' */ public static int offsetBits_Long_dec_min() { return 96; } /** * Return the value (as a long) of the field 'Long_dec_min' */ public long get_Long_dec_min() { return (long)getUIntElement(offsetBits_Long_dec_min(), 32); } /** * Set the value of the field 'Long_dec_min' */ public void set_Long_dec_min(long value) { setUIntElement(offsetBits_Long_dec_min(), 32, value); } /** * Return the size, in bytes, of the field 'Long_dec_min' */ public static int size_Long_dec_min() { return (32 / 8); } /** * Return the size, in bits, of the field 'Long_dec_min' */ public static int sizeBits_Long_dec_min() { return 32; } ///////////////////////////////////////////////////////// // Accessor methods for field: NSEWind // Field type: short, unsigned // Offset (bits): 128 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'NSEWind' is signed (false). */ public static boolean isSigned_NSEWind() { return false; } /** * Return whether the field 'NSEWind' is an array (false). */ public static boolean isArray_NSEWind() { return false; } /** * Return the offset (in bytes) of the field 'NSEWind' */ public static int offset_NSEWind() { return (128 / 8); } /** * Return the offset (in bits) of the field 'NSEWind' */ public static int offsetBits_NSEWind() { return 128; } /** * Return the value (as a short) of the field 'NSEWind' */ public short get_NSEWind() { return (short)getUIntElement(offsetBits_NSEWind(), 8); } /** * Set the value of the field 'NSEWind' */ public void set_NSEWind(short value) { setUIntElement(offsetBits_NSEWind(), 8, value); } /** * Return the size, in bytes, of the field 'NSEWind' */ public static int size_NSEWind() { return (8 / 8); } /** * Return the size, in bits, of the field 'NSEWind' */ public static int sizeBits_NSEWind() { return 8; } ///////////////////////////////////////////////////////// // Accessor methods for field: Fixed // Field type: short, unsigned // Offset (bits): 136 // Size (bits): 8 ///////////////////////////////////////////////////////// /** * Return whether the field 'Fixed' is signed (false). */ public static boolean isSigned_Fixed() { return false; } /** * Return whether the field 'Fixed' is an array (false). */ public static boolean isArray_Fixed() { return false; } /** * Return the offset (in bytes) of the field 'Fixed' */ public static int offset_Fixed() { return (136 / 8); } /** * Return the offset (in bits) of the field 'Fixed' */ public static int offsetBits_Fixed() { return 136; } /** * Return the value (as a short) of the field 'Fixed' */ public short get_Fixed() { return (short)getUIntElement(offsetBits_Fixed(), 8); } /** * Set the value of the field 'Fixed' */ public void set_Fixed(short value) { setUIntElement(offsetBits_Fixed(), 8, value); } /** * Return the size, in bytes, of the field 'Fixed' */ public static int size_Fixed() { return (8 / 8); } /** * Return the size, in bits, of the field 'Fixed' */ public static int sizeBits_Fixed() { return 8; } } |