⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testftspmsg.py

📁 tinyos-2.x.rar
💻 PY
📖 第 1 页 / 共 2 页
字号:
    # Return whether the field 'skew' is an array (False).
    #
    def isArray_skew(self):
        return False

    #
    # Return the offset (in bytes) of the field 'skew'
    #
    def offset_skew(self):
        return (128 / 8)

    #
    # Return the offset (in bits) of the field 'skew'
    #
    def offsetBits_skew(self):
        return 128

    #
    # Return the value (as a int) of the field 'skew'
    #
    def get_skew(self):
        return self.getFloatElement(self.offsetBits_skew(), 32, 0)

    #
    # Set the value of the field 'skew'
    #
    def set_skew(self, value):
        self.setSIntElement(self.offsetBits_skew(), 32, value, 1)

    #
    # Return the size, in bytes, of the field 'skew'
    #
    def size_skew(self):
        return (32 / 8)

    #
    # Return the size, in bits, of the field 'skew'
    #
    def sizeBits_skew(self):
        return 32

    #
    # Accessor methods for field: is_synced
    #   Field type: short
    #   Offset (bits): 160
    #   Size (bits): 8
    #

    #
    # Return whether the field 'is_synced' is signed (False).
    #
    def isSigned_is_synced(self):
        return False

    #
    # Return whether the field 'is_synced' is an array (False).
    #
    def isArray_is_synced(self):
        return False

    #
    # Return the offset (in bytes) of the field 'is_synced'
    #
    def offset_is_synced(self):
        return (160 / 8)

    #
    # Return the offset (in bits) of the field 'is_synced'
    #
    def offsetBits_is_synced(self):
        return 160

    #
    # Return the value (as a short) of the field 'is_synced'
    #
    def get_is_synced(self):
        return self.getUIntElement(self.offsetBits_is_synced(), 8, 1)

    #
    # Set the value of the field 'is_synced'
    #
    def set_is_synced(self, value):
        self.setUIntElement(self.offsetBits_is_synced(), 8, value, 1)

    #
    # Return the size, in bytes, of the field 'is_synced'
    #
    def size_is_synced(self):
        return (8 / 8)

    #
    # Return the size, in bits, of the field 'is_synced'
    #
    def sizeBits_is_synced(self):
        return 8

    #
    # Accessor methods for field: ftsp_root_addr
    #   Field type: int
    #   Offset (bits): 168
    #   Size (bits): 16
    #

    #
    # Return whether the field 'ftsp_root_addr' is signed (False).
    #
    def isSigned_ftsp_root_addr(self):
        return False

    #
    # Return whether the field 'ftsp_root_addr' is an array (False).
    #
    def isArray_ftsp_root_addr(self):
        return False

    #
    # Return the offset (in bytes) of the field 'ftsp_root_addr'
    #
    def offset_ftsp_root_addr(self):
        return (168 / 8)

    #
    # Return the offset (in bits) of the field 'ftsp_root_addr'
    #
    def offsetBits_ftsp_root_addr(self):
        return 168

    #
    # Return the value (as a int) of the field 'ftsp_root_addr'
    #
    def get_ftsp_root_addr(self):
        return self.getUIntElement(self.offsetBits_ftsp_root_addr(), 16, 1)

    #
    # Set the value of the field 'ftsp_root_addr'
    #
    def set_ftsp_root_addr(self, value):
        self.setUIntElement(self.offsetBits_ftsp_root_addr(), 16, value, 1)

    #
    # Return the size, in bytes, of the field 'ftsp_root_addr'
    #
    def size_ftsp_root_addr(self):
        return (16 / 8)

    #
    # Return the size, in bits, of the field 'ftsp_root_addr'
    #
    def sizeBits_ftsp_root_addr(self):
        return 16

    #
    # Accessor methods for field: ftsp_seq
    #   Field type: short
    #   Offset (bits): 184
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ftsp_seq' is signed (False).
    #
    def isSigned_ftsp_seq(self):
        return False

    #
    # Return whether the field 'ftsp_seq' is an array (False).
    #
    def isArray_ftsp_seq(self):
        return False

    #
    # Return the offset (in bytes) of the field 'ftsp_seq'
    #
    def offset_ftsp_seq(self):
        return (184 / 8)

    #
    # Return the offset (in bits) of the field 'ftsp_seq'
    #
    def offsetBits_ftsp_seq(self):
        return 184

    #
    # Return the value (as a short) of the field 'ftsp_seq'
    #
    def get_ftsp_seq(self):
        return self.getUIntElement(self.offsetBits_ftsp_seq(), 8, 1)

    #
    # Set the value of the field 'ftsp_seq'
    #
    def set_ftsp_seq(self, value):
        self.setUIntElement(self.offsetBits_ftsp_seq(), 8, value, 1)

    #
    # Return the size, in bytes, of the field 'ftsp_seq'
    #
    def size_ftsp_seq(self):
        return (8 / 8)

    #
    # Return the size, in bits, of the field 'ftsp_seq'
    #
    def sizeBits_ftsp_seq(self):
        return 8

    #
    # Accessor methods for field: ftsp_table_entries
    #   Field type: short
    #   Offset (bits): 192
    #   Size (bits): 8
    #

    #
    # Return whether the field 'ftsp_table_entries' is signed (False).
    #
    def isSigned_ftsp_table_entries(self):
        return False

    #
    # Return whether the field 'ftsp_table_entries' is an array (False).
    #
    def isArray_ftsp_table_entries(self):
        return False

    #
    # Return the offset (in bytes) of the field 'ftsp_table_entries'
    #
    def offset_ftsp_table_entries(self):
        return (192 / 8)

    #
    # Return the offset (in bits) of the field 'ftsp_table_entries'
    #
    def offsetBits_ftsp_table_entries(self):
        return 192

    #
    # Return the value (as a short) of the field 'ftsp_table_entries'
    #
    def get_ftsp_table_entries(self):
        return self.getUIntElement(self.offsetBits_ftsp_table_entries(), 8, 1)

    #
    # Set the value of the field 'ftsp_table_entries'
    #
    def set_ftsp_table_entries(self, value):
        self.setUIntElement(self.offsetBits_ftsp_table_entries(), 8, value, 1)

    #
    # Return the size, in bytes, of the field 'ftsp_table_entries'
    #
    def size_ftsp_table_entries(self):
        return (8 / 8)

    #
    # Return the size, in bits, of the field 'ftsp_table_entries'
    #
    def sizeBits_ftsp_table_entries(self):
        return 8

    #
    # Accessor methods for field: localAverage
    #   Field type: long
    #   Offset (bits): 200
    #   Size (bits): 32
    #

    #
    # Return whether the field 'localAverage' is signed (False).
    #
    def isSigned_localAverage(self):
        return False

    #
    # Return whether the field 'localAverage' is an array (False).
    #
    def isArray_localAverage(self):
        return False

    #
    # Return the offset (in bytes) of the field 'localAverage'
    #
    def offset_localAverage(self):
        return (200 / 8)

    #
    # Return the offset (in bits) of the field 'localAverage'
    #
    def offsetBits_localAverage(self):
        return 200

    #
    # Return the value (as a long) of the field 'localAverage'
    #
    def get_localAverage(self):
        return self.getUIntElement(self.offsetBits_localAverage(), 32, 1)

    #
    # Set the value of the field 'localAverage'
    #
    def set_localAverage(self, value):
        self.setUIntElement(self.offsetBits_localAverage(), 32, value, 1)

    #
    # Return the size, in bytes, of the field 'localAverage'
    #
    def size_localAverage(self):
        return (32 / 8)

    #
    # Return the size, in bits, of the field 'localAverage'
    #
    def sizeBits_localAverage(self):
        return 32

    #
    # Accessor methods for field: offsetAverage
    #   Field type: int
    #   Offset (bits): 232
    #   Size (bits): 32
    #

    #
    # Return whether the field 'offsetAverage' is signed (False).
    #
    def isSigned_offsetAverage(self):
        return False

    #
    # Return whether the field 'offsetAverage' is an array (False).
    #
    def isArray_offsetAverage(self):
        return False

    #
    # Return the offset (in bytes) of the field 'offsetAverage'
    #
    def offset_offsetAverage(self):
        return (232 / 8)

    #
    # Return the offset (in bits) of the field 'offsetAverage'
    #
    def offsetBits_offsetAverage(self):
        return 232

    #
    # Return the value (as a int) of the field 'offsetAverage'
    #
    def get_offsetAverage(self):
        return self.getSIntElement(self.offsetBits_offsetAverage(), 32, 1)

    #
    # Set the value of the field 'offsetAverage'
    #
    def set_offsetAverage(self, value):
        self.setSIntElement(self.offsetBits_offsetAverage(), 32, value, 1)

    #
    # Return the size, in bytes, of the field 'offsetAverage'
    #
    def size_offsetAverage(self):
        return (32 / 8)

    #
    # Return the size, in bits, of the field 'offsetAverage'
    #
    def sizeBits_offsetAverage(self):
        return 32

⌨️ 快捷键说明

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