2025-07-31 15:29:33 +08:00

324 lines
9.6 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 6,
"identityHash": "86d49018aa29975d4a06870f7c35e0d8",
"entities": [
{
"tableName": "D010",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `pkg_type` TEXT, `pkg_length` INTEGER NOT NULL, `time` INTEGER NOT NULL, `time_type` INTEGER NOT NULL, `tag` INTEGER NOT NULL, `alarm_state` INTEGER NOT NULL, `emergency_degree` INTEGER NOT NULL, `current_pkg_number` INTEGER NOT NULL, `total_pkg_number` INTEGER NOT NULL, `telegram_id` INTEGER NOT NULL, `telegram_content` BLOB, `sender_mac` TEXT, `receive_mac` TEXT, `send_port` INTEGER NOT NULL, `data_type` INTEGER NOT NULL, `desc_group` INTEGER NOT NULL, `final_port` INTEGER NOT NULL, `standby` BLOB, `crc8` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "uid",
"columnName": "uid",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "pkgType",
"columnName": "pkg_type",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "pkgLength",
"columnName": "pkg_length",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "timeType",
"columnName": "time_type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "tag",
"columnName": "tag",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "alarmState",
"columnName": "alarm_state",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "emergencyDegree",
"columnName": "emergency_degree",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "currentPkgNumber",
"columnName": "current_pkg_number",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "totalPkgNumber",
"columnName": "total_pkg_number",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "telegramId",
"columnName": "telegram_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "telegramContent",
"columnName": "telegram_content",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "senderMac",
"columnName": "sender_mac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "receiveMac",
"columnName": "receive_mac",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "sendPort",
"columnName": "send_port",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "dataType",
"columnName": "data_type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "descGroup",
"columnName": "desc_group",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "finalPort",
"columnName": "final_port",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "standby",
"columnName": "standby",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "crc8",
"columnName": "crc8",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"uid"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "F00E",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `pkgType` TEXT, `pkgLength` INTEGER NOT NULL, `time` INTEGER, `timeType` INTEGER, `tag` INTEGER, `alarmState` INTEGER, `emergencyDegree` INTEGER, `latLngType` INTEGER, `lat` REAL, `lng` REAL, `high` REAL, `positionState` INTEGER, `deviceTime` INTEGER, `deviceTimeType` INTEGER, `portsState` BLOB, `mainVersion` INTEGER NOT NULL, `childVersion` INTEGER NOT NULL, `keep1` BLOB, `d_battery` REAL, `circuitTemp` REAL, `cpuTemp` REAL, `keep2` BLOB, `canColud` INTEGER NOT NULL, `keep3` BLOB, `sdkDo` BLOB, `crc8` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "uid",
"columnName": "uid",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "pkgType",
"columnName": "pkgType",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "pkgLength",
"columnName": "pkgLength",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "timeType",
"columnName": "timeType",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "tag",
"columnName": "tag",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "alarmState",
"columnName": "alarmState",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "emergencyDegree",
"columnName": "emergencyDegree",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "latLngType",
"columnName": "latLngType",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "lat",
"columnName": "lat",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "lng",
"columnName": "lng",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "high",
"columnName": "high",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "positionState",
"columnName": "positionState",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "deviceTime",
"columnName": "deviceTime",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "deviceTimeType",
"columnName": "deviceTimeType",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "portsState",
"columnName": "portsState",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "mainVersion",
"columnName": "mainVersion",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "childVersion",
"columnName": "childVersion",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "keep1",
"columnName": "keep1",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "battery",
"columnName": "d_battery",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "circuitTemp",
"columnName": "circuitTemp",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "cpuTemp",
"columnName": "cpuTemp",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "keep2",
"columnName": "keep2",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "canColud",
"columnName": "canColud",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "keep3",
"columnName": "keep3",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "sdkDo",
"columnName": "sdkDo",
"affinity": "BLOB",
"notNull": false
},
{
"fieldPath": "crc8",
"columnName": "crc8",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"uid"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '86d49018aa29975d4a06870f7c35e0d8')"
]
}
}