Compare commits
3 Commits
c71e58f254
...
82e662c867
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82e662c867 | ||
|
|
f1ac4f67b5 | ||
|
|
b0a009c0f5 |
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: zookeeper
|
container_name: zookeeper
|
||||||
hostname: zookeeper
|
hostname: zookeeper
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -29,7 +29,7 @@ services:
|
|||||||
start_period: 60s
|
start_period: 60s
|
||||||
|
|
||||||
pulsar-cluster-init:
|
pulsar-cluster-init:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-cluster-init
|
container_name: pulsar-cluster-init
|
||||||
hostname: pulsar-cluster-init
|
hostname: pulsar-cluster-init
|
||||||
command: >
|
command: >
|
||||||
@ -42,7 +42,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
bookie:
|
bookie:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-bookie
|
container_name: pulsar-bookie
|
||||||
hostname: pulsar-bookie
|
hostname: pulsar-bookie
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -77,7 +77,7 @@ services:
|
|||||||
- pulsar-bookkeeper-data:/pulsar/data/bookkeeper
|
- pulsar-bookkeeper-data:/pulsar/data/bookkeeper
|
||||||
|
|
||||||
broker:
|
broker:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-broker
|
container_name: pulsar-broker
|
||||||
hostname: pulsar-broker
|
hostname: pulsar-broker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -149,7 +149,7 @@ services:
|
|||||||
start_period: 60s
|
start_period: 60s
|
||||||
|
|
||||||
pulsar-init:
|
pulsar-init:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-init
|
container_name: pulsar-init
|
||||||
hostname: pulsar-init
|
hostname: pulsar-init
|
||||||
command: >
|
command: >
|
||||||
@ -183,7 +183,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
iotdb-standalone-service:
|
iotdb-standalone-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.7-standalone
|
||||||
hostname: iotdb-standalone
|
hostname: iotdb-standalone
|
||||||
container_name: iotdb-standalone
|
container_name: iotdb-standalone
|
||||||
restart: always
|
restart: always
|
||||||
@ -216,7 +216,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
redis-service:
|
redis-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.0.2-alpine3.21
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.6.2-alpine3.23
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: always
|
restart: always
|
||||||
hostname: redis
|
hostname: redis
|
||||||
@ -237,7 +237,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
postgres-service:
|
postgres-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.1-alpine
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.3-alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
hostname: postgres
|
hostname: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
iotdb-standalone:
|
iotdb-standalone:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.7-standalone
|
||||||
hostname: iotdb-standalone
|
hostname: iotdb-standalone
|
||||||
container_name: iotdb-standalone
|
container_name: iotdb-standalone
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: zookeeper
|
container_name: zookeeper
|
||||||
hostname: zookeeper
|
hostname: zookeeper
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -34,7 +34,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
bookie:
|
bookie:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-bookie
|
container_name: pulsar-bookie
|
||||||
hostname: pulsar-bookie
|
hostname: pulsar-bookie
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -77,7 +77,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
broker:
|
broker:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.1
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/pulsar:4.1.3
|
||||||
container_name: pulsar-broker
|
container_name: pulsar-broker
|
||||||
hostname: pulsar-broker
|
hostname: pulsar-broker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -152,7 +152,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
iotdb-standalone-service:
|
iotdb-standalone-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.7-standalone
|
||||||
hostname: iotdb-standalone
|
hostname: iotdb-standalone
|
||||||
container_name: iotdb-standalone
|
container_name: iotdb-standalone
|
||||||
restart: always
|
restart: always
|
||||||
@ -190,7 +190,7 @@ services:
|
|||||||
max-file: "5"
|
max-file: "5"
|
||||||
|
|
||||||
redis-service:
|
redis-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.0.2-alpine3.21
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.6.2-alpine3.23
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: always
|
restart: always
|
||||||
hostname: redis
|
hostname: redis
|
||||||
@ -216,7 +216,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
postgres-service:
|
postgres-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.1-alpine
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.3-alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
hostname: postgres
|
hostname: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
iotdb-standalone-service:
|
iotdb-standalone-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.7-standalone
|
||||||
hostname: iotdb-standalone
|
hostname: iotdb-standalone
|
||||||
container_name: iotdb-standalone
|
container_name: iotdb-standalone
|
||||||
restart: always
|
restart: always
|
||||||
@ -38,7 +38,7 @@ services:
|
|||||||
max-file: "5"
|
max-file: "5"
|
||||||
|
|
||||||
redis-service:
|
redis-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.0.2-alpine3.21
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.6.2-alpine3.23
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: always
|
restart: always
|
||||||
hostname: redis
|
hostname: redis
|
||||||
@ -64,7 +64,7 @@ services:
|
|||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
postgres-service:
|
postgres-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.1-alpine
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.3-alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
hostname: postgres
|
hostname: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
iotdb-standalone-service:
|
iotdb-standalone-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.7-standalone
|
||||||
hostname: iotdb-standalone
|
hostname: iotdb-standalone
|
||||||
container_name: iotdb-standalone
|
container_name: iotdb-standalone
|
||||||
restart: always
|
restart: always
|
||||||
@ -33,7 +33,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
redis-service:
|
redis-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.0.2-alpine3.21
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/redis:8.6.2-alpine3.23
|
||||||
container_name: redis
|
container_name: redis
|
||||||
restart: always
|
restart: always
|
||||||
hostname: redis
|
hostname: redis
|
||||||
@ -54,7 +54,7 @@ services:
|
|||||||
- pulsar-net
|
- pulsar-net
|
||||||
|
|
||||||
postgres-service:
|
postgres-service:
|
||||||
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.1-alpine
|
image: registry.cn-qingdao.aliyuncs.com/jisheyun/postgres:18.3-alpine
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
hostname: postgres
|
hostname: postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
//"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB386;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
//"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB386;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
||||||
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||||
},
|
},
|
||||||
"Hangfire": {
|
"Hangfire": {
|
||||||
"Redis": {
|
"Redis": {
|
||||||
|
|||||||
@ -1,37 +1,41 @@
|
|||||||
{
|
{
|
||||||
"App": {
|
|
||||||
"SelfUrl": "http://localhost:44315",
|
|
||||||
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.10.104:4200"
|
|
||||||
},
|
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"Default": "Host=47.110.53.196;Port=35432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||||
},
|
},
|
||||||
"Hangfire": {
|
"IoTDBOptions": {
|
||||||
"Redis": {
|
"UserName": "root",
|
||||||
"Host": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#",
|
"Password": "Lixiao@1980",
|
||||||
"DB": "2"
|
//"TreeModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
||||||
}
|
//"TableModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
||||||
|
"TreeModelClusterList": [ "192.168.111.174:30710" ],
|
||||||
|
"TableModelClusterList": [ "192.168.111.174:30710" ],
|
||||||
|
"PoolSize": 32,
|
||||||
|
"DataBaseName": "jisheiotdata",
|
||||||
|
"OpenDebugMode": false,
|
||||||
|
"UseTableSessionPoolByDefault": false
|
||||||
},
|
},
|
||||||
"Redis": {
|
"FreeRedisOptions": {
|
||||||
"Configuration": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5"
|
"ConnectionString": "192.168.111.42:30712,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
|
||||||
|
"UseDistributedCache": true
|
||||||
},
|
},
|
||||||
"Kafka": {
|
"ServerApplicationOptions": {
|
||||||
"BootstrapServers": "47.110.62.104:9094,47.110.53.196:9094,47.110.60.222:9094",
|
"ServerTagName": "JiSheCollectBus10",
|
||||||
"EnableFilter": true,
|
"FirstCollectionTime": "2025-04-28 15:07:00",
|
||||||
"EnableAuthorization": false,
|
"AutomaticVerificationTime": "16:07:00",
|
||||||
"SaslUserName": "lixiao",
|
"AutomaticTerminalVersionTime": "17:07:00",
|
||||||
"SaslPassword": "lixiao@1980",
|
"AutomaticTelematicsModuleTime": "17:30:00",
|
||||||
"KafkaReplicationFactor": 3,
|
"AutomaticDayFreezeTime": "02:30:00",
|
||||||
"NumPartitions": 30,
|
"AutomaticMonthFreezeTime": "03:30:00",
|
||||||
"TaskThreadCount": -1
|
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
|
||||||
|
"VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
||||||
|
"DistributedMessage": 2
|
||||||
},
|
},
|
||||||
"Pulsar": {
|
"Pulsar": {
|
||||||
"ServiceUrl": "pulsar://47.110.53.196:9093", //pulsar+ssl://iot-north-mq.heclouds.com:6651 ,pulsar://47.110.53.196:26974
|
"ServiceUrl": "pulsar://47.110.60.222:9093",
|
||||||
"WebUrl": "http://47.110.53.196:9094",
|
"WebUrl": "http://47.110.60.222:9094",
|
||||||
"UserName": "admin",
|
"UserName": "admin",
|
||||||
"TenantName": "1YMVZZkAkRArjxSD8457",
|
"TenantName": "1YMVZZkAkRArjxSD8457",
|
||||||
"Namespace": "OneNET",
|
"Namespace": "OneNET",
|
||||||
"MessageTTL": 3600,
|
|
||||||
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
|
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
|
||||||
"PulsarSubscriptionCustomName": "sub",
|
"PulsarSubscriptionCustomName": "sub",
|
||||||
"EnableTls": false,
|
"EnableTls": false,
|
||||||
@ -44,78 +48,10 @@
|
|||||||
"DefaultPartitions": 16,
|
"DefaultPartitions": 16,
|
||||||
"DefaultBundles": 16,
|
"DefaultBundles": 16,
|
||||||
"EnableAutoCreation": true, //开启自动创建Topic
|
"EnableAutoCreation": true, //开启自动创建Topic
|
||||||
"TopicMode": "Static", //Dynamic、Static 主题模式
|
"TopicMode": "Static", //Dynamic 主题模式
|
||||||
"EnableTopicTypeFilter": true, //允许Topic类型过滤
|
"EnableTopicTypeFilter": true, //允许Topic类型过滤
|
||||||
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
|
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
|
||||||
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
|
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
|
||||||
"AdminRoles": [ "admin" ],
|
"AdminRoles": [ "admin" ]
|
||||||
"EnableConsumerIdleCleanup": true,
|
|
||||||
"ConsumerIdleCleanupMinutes": 120,
|
|
||||||
"EnableProducerIdleCleanup": true,
|
|
||||||
"ProducerIdleCleanupMinutes": 60
|
|
||||||
},
|
|
||||||
"IoTDBOptions": {
|
|
||||||
"UserName": "root",
|
|
||||||
"Password": "Li#xiao@198!0",
|
|
||||||
//"TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
|
||||||
//"TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
|
||||||
"TreeModelClusterList": [ "47.110.53.196:30710" ],
|
|
||||||
"TableModelClusterList": [ "47.110.53.196:30710" ],
|
|
||||||
"PoolSize": 32,
|
|
||||||
"DataBaseName": "jisheiotdata",
|
|
||||||
"OpenDebugMode": true,
|
|
||||||
"UseTableSessionPoolByDefault": false,
|
|
||||||
"BatchInsertSize": 1000
|
|
||||||
},
|
|
||||||
"ServerApplicationOptions": {
|
|
||||||
"ServerTagName": "JiSheCollectBus12",
|
|
||||||
"FirstCollectionTime": "2025-04-28 15:07:00",
|
|
||||||
"AutomaticVerificationTime": "16:07:00",
|
|
||||||
"AutomaticTerminalVersionTime": "17:07:00",
|
|
||||||
"AutomaticTelematicsModuleTime": "17:30:00",
|
|
||||||
"AutomaticDayFreezeTime": "02:30:00",
|
|
||||||
"AutomaticMonthFreezeTime": "03:30:00",
|
|
||||||
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
|
|
||||||
"SignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
|
||||||
"AesSecurityKey": "RPTEIGCA1KvDEXS1",
|
|
||||||
"IsAesEncrypted": false,
|
|
||||||
"DistributedMessage": 2,
|
|
||||||
"SnowflakeWorkerId": 1,
|
|
||||||
"DownloadDeviceFirmwareBasicUrl": "http://121.42.175.177:32580/Aggregation/Device/DownloadFirmware?Id=",
|
|
||||||
"MQTTServerType": 1
|
|
||||||
},
|
|
||||||
"Jwt": {
|
|
||||||
"Audience": "JiShe.IoT",
|
|
||||||
"SecurityKey": "dzehzRz9a8asdfaf43ghVD@d#fasdfaf567sdadfasdf=",
|
|
||||||
"Issuer": "JiShe.IoT",
|
|
||||||
"ExpirationTime": 2
|
|
||||||
},
|
|
||||||
"Cap": {
|
|
||||||
"RabbitMq": {
|
|
||||||
"HostName": "localhost",
|
|
||||||
"UserName": "admin",
|
|
||||||
"Password": "1q2w3E*",
|
|
||||||
"Port": 5672
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"FreeRedisOptions": {
|
|
||||||
"ConnectionString": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
|
|
||||||
"UseDistributedCache": true
|
|
||||||
},
|
|
||||||
"FreeSqlProviderOptions": {
|
|
||||||
"UsePrepayDB": false,
|
|
||||||
"UseEnergyDB": false,
|
|
||||||
"PrintLog": false,
|
|
||||||
"DataType": 1
|
|
||||||
},
|
|
||||||
"OneNETSecureReceiveOptions": {
|
|
||||||
"OneNETVerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
|
||||||
"OneNETAesKey": "RPTEIGCA1KvDEXS1"
|
|
||||||
},
|
|
||||||
"DataChannelOptions": {
|
|
||||||
"DefaultBatchSize": 10000,
|
|
||||||
"TelemetryBatchSize": 10000,
|
|
||||||
"EmptyWaitmilliseconds": 500,
|
|
||||||
"TimeoutMilliseconds": 500
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -14,7 +14,7 @@ using Volo.Abp.EntityFrameworkCore;
|
|||||||
namespace JiShe.IoT.Migrations
|
namespace JiShe.IoT.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(IoTDbContext))]
|
[DbContext(typeof(IoTDbContext))]
|
||||||
[Migration("20260320152205_InitialCreate")]
|
[Migration("20260325090415_InitialCreate")]
|
||||||
partial class InitialCreate
|
partial class InitialCreate
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@ -754,6 +754,18 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
.HasComment("设备类型,与业务系统无关,主要区分是网关设备、直连设备");
|
.HasComment("设备类型,与业务系统无关,主要区分是网关设备、直连设备");
|
||||||
|
|
||||||
|
b.Property<int>("EncryptionMethod")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(1)
|
||||||
|
.HasComment("设备鉴权加密方式");
|
||||||
|
|
||||||
|
b.Property<int>("EncryptionType")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(1)
|
||||||
|
.HasComment("设备加密类型,类型不同给,鉴权路径资源不同,默认为一型一密");
|
||||||
|
|
||||||
b.Property<string>("ExtraProperties")
|
b.Property<string>("ExtraProperties")
|
||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasColumnName("ExtraProperties")
|
.HasColumnName("ExtraProperties")
|
||||||
@ -826,6 +838,10 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("timestamp with time zone")
|
.HasColumnType("timestamp with time zone")
|
||||||
.HasComment("最后在线时间");
|
.HasComment("最后在线时间");
|
||||||
|
|
||||||
|
b.Property<int?>("NeedEquipmentProductionPlan")
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasComment("是否需要设备生产计划");
|
||||||
|
|
||||||
b.Property<int?>("OSACreatorId")
|
b.Property<int?>("OSACreatorId")
|
||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
.HasComment("旧系统授权创建者Id");
|
.HasComment("旧系统授权创建者Id");
|
||||||
@ -854,6 +870,11 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasComment("备注");
|
.HasComment("备注");
|
||||||
|
|
||||||
|
b.Property<string>("SimCardInfo")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("jsonb")
|
||||||
|
.HasComment("SIM卡信息");
|
||||||
|
|
||||||
b.Property<int>("SubDeviceCapacity")
|
b.Property<int>("SubDeviceCapacity")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
@ -1170,6 +1191,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("character varying(256)")
|
.HasColumnType("character varying(256)")
|
||||||
.HasComment("指令名称");
|
.HasComment("指令名称");
|
||||||
|
|
||||||
|
b.Property<int>("CommandType")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(0)
|
||||||
|
.HasComment("指令类型");
|
||||||
|
|
||||||
b.Property<string>("ConcurrencyStamp")
|
b.Property<string>("ConcurrencyStamp")
|
||||||
.IsConcurrencyToken()
|
.IsConcurrencyToken()
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
@ -762,6 +762,10 @@ namespace JiShe.IoT.Migrations
|
|||||||
UpgradeDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true, comment: "升级日期"),
|
UpgradeDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true, comment: "升级日期"),
|
||||||
SubDeviceCapacity = table.Column<int>(type: "integer", nullable: false, defaultValue: 64, comment: "子设备容量"),
|
SubDeviceCapacity = table.Column<int>(type: "integer", nullable: false, defaultValue: 64, comment: "子设备容量"),
|
||||||
ReadingMode = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "抄读模式"),
|
ReadingMode = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "抄读模式"),
|
||||||
|
SimCardInfo = table.Column<string>(type: "jsonb", nullable: false, comment: "SIM卡信息"),
|
||||||
|
EncryptionType = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "设备加密类型,类型不同给,鉴权路径资源不同,默认为一型一密"),
|
||||||
|
EncryptionMethod = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "设备鉴权加密方式"),
|
||||||
|
NeedEquipmentProductionPlan = table.Column<int>(type: "integer", nullable: true, comment: "是否需要设备生产计划"),
|
||||||
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: false),
|
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: false),
|
||||||
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
|
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
|
||||||
CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
|
CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
|
||||||
@ -790,6 +794,7 @@ namespace JiShe.IoT.Migrations
|
|||||||
Id = table.Column<Guid>(type: "uuid", nullable: false),
|
Id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||||
DeviceThingModelId = table.Column<Guid>(type: "uuid", nullable: false, comment: "设备端物模型Id"),
|
DeviceThingModelId = table.Column<Guid>(type: "uuid", nullable: false, comment: "设备端物模型Id"),
|
||||||
IoTPlatform = table.Column<int>(type: "integer", nullable: false, comment: "物联网平台类型"),
|
IoTPlatform = table.Column<int>(type: "integer", nullable: false, comment: "物联网平台类型"),
|
||||||
|
CommandType = table.Column<int>(type: "integer", nullable: false, defaultValue: 0, comment: "指令类型"),
|
||||||
IoTPlatformProductId = table.Column<string>(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"),
|
IoTPlatformProductId = table.Column<string>(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"),
|
||||||
CommandName = table.Column<string>(type: "character varying(256)", maxLength: 256, nullable: false, comment: "指令名称"),
|
CommandName = table.Column<string>(type: "character varying(256)", maxLength: 256, nullable: false, comment: "指令名称"),
|
||||||
IssueCommand = table.Column<string>(type: "character varying(512)", maxLength: 512, nullable: false, comment: "完整的单个下发指令"),
|
IssueCommand = table.Column<string>(type: "character varying(512)", maxLength: 512, nullable: false, comment: "完整的单个下发指令"),
|
||||||
@ -751,6 +751,18 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
.HasComment("设备类型,与业务系统无关,主要区分是网关设备、直连设备");
|
.HasComment("设备类型,与业务系统无关,主要区分是网关设备、直连设备");
|
||||||
|
|
||||||
|
b.Property<int>("EncryptionMethod")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(1)
|
||||||
|
.HasComment("设备鉴权加密方式");
|
||||||
|
|
||||||
|
b.Property<int>("EncryptionType")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(1)
|
||||||
|
.HasComment("设备加密类型,类型不同给,鉴权路径资源不同,默认为一型一密");
|
||||||
|
|
||||||
b.Property<string>("ExtraProperties")
|
b.Property<string>("ExtraProperties")
|
||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasColumnName("ExtraProperties")
|
.HasColumnName("ExtraProperties")
|
||||||
@ -823,6 +835,10 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("timestamp with time zone")
|
.HasColumnType("timestamp with time zone")
|
||||||
.HasComment("最后在线时间");
|
.HasComment("最后在线时间");
|
||||||
|
|
||||||
|
b.Property<int?>("NeedEquipmentProductionPlan")
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasComment("是否需要设备生产计划");
|
||||||
|
|
||||||
b.Property<int?>("OSACreatorId")
|
b.Property<int?>("OSACreatorId")
|
||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
.HasComment("旧系统授权创建者Id");
|
.HasComment("旧系统授权创建者Id");
|
||||||
@ -851,6 +867,11 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasComment("备注");
|
.HasComment("备注");
|
||||||
|
|
||||||
|
b.Property<string>("SimCardInfo")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("jsonb")
|
||||||
|
.HasComment("SIM卡信息");
|
||||||
|
|
||||||
b.Property<int>("SubDeviceCapacity")
|
b.Property<int>("SubDeviceCapacity")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
@ -1167,6 +1188,12 @@ namespace JiShe.IoT.Migrations
|
|||||||
.HasColumnType("character varying(256)")
|
.HasColumnType("character varying(256)")
|
||||||
.HasComment("指令名称");
|
.HasComment("指令名称");
|
||||||
|
|
||||||
|
b.Property<int>("CommandType")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("integer")
|
||||||
|
.HasDefaultValue(0)
|
||||||
|
.HasComment("指令类型");
|
||||||
|
|
||||||
b.Property<string>("ConcurrencyStamp")
|
b.Property<string>("ConcurrencyStamp")
|
||||||
.IsConcurrencyToken()
|
.IsConcurrencyToken()
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user