Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
haikang-client
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
杨立
haikang-client
Commits
b1ce503b
提交
b1ce503b
authored
10月 19, 2021
作者:
wangqiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
init apq monitor from thingsboard
上级
b4ab3845
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
17 行增加
和
19 行删除
+17
-19
MqttServiceImpl.java
...java/com/priusis/client/service/core/MqttServiceImpl.java
+4
-1
application-dev.yml
apq-pc-client/src/main/resources/application-dev.yml
+6
-0
application.yml
apq-pc-client/src/main/resources/application.yml
+1
-2
apq-client.iss
tools/install-package/boot/apq-client/apq-client.iss
+2
-7
apq-client.iss
tools/install-package/boot/apq-client/bak/bat/apq-client.iss
+1
-6
apq-control.iss
tools/install-package/boot/apq-control/apq-control.iss
+1
-1
apq-info.iss
tools/install-package/boot/apq-info/apq-info.iss
+1
-1
apq-register.iss
tools/install-package/boot/apq-register/apq-register.iss
+1
-1
没有找到文件。
apq-pc-client/src/main/java/com/priusis/client/service/core/MqttServiceImpl.java
浏览文件 @
b1ce503b
...
@@ -129,10 +129,13 @@ public class MqttServiceImpl implements MqttService, MqttHandler, MqttClientCall
...
@@ -129,10 +129,13 @@ public class MqttServiceImpl implements MqttService, MqttHandler, MqttClientCall
this
.
persistence
=
configuration
.
getPersistence
();
this
.
persistence
=
configuration
.
getPersistence
();
this
.
tenantLabel
=
configuration
.
getLabel
();
this
.
tenantLabel
=
configuration
.
getLabel
();
initTimeouts
();
initTimeouts
();
scheduler
=
Executors
.
newSingleThreadScheduledExecutor
();
scheduler
.
submit
(()
->
{
initMqttClient
();
initMqttClient
();
initMqttSender
(
incomingQueue
);
initMqttSender
(
incomingQueue
);
initMqttReceiver
(
incomingQueue
);
initMqttReceiver
(
incomingQueue
);
scheduler
=
Executors
.
newSingleThreadScheduledExecutor
(
);
}
);
}
}
private
void
initTimeouts
()
{
private
void
initTimeouts
()
{
...
...
apq-pc-client/src/main/resources/application-dev.yml
浏览文件 @
b1ce503b
...
@@ -4,3 +4,8 @@ PC_HOST: 192.168.124.6
...
@@ -4,3 +4,8 @@ PC_HOST: 192.168.124.6
#apq:
#apq:
# iot-gateway: 192.168.6.23:7033
# iot-gateway: 192.168.6.23:7033
#PC_HOST: 192.168.6.23
#PC_HOST: 192.168.6.23
#vnc-repeater: 192.168.6.29:5500
#apq:
# iot-gateway: 10.2.68.40:7033
#PC_HOST: 10.2.68.40
#vnc-repeater: 10.2.68.41:5500
\ No newline at end of file
apq-pc-client/src/main/resources/application.yml
浏览文件 @
b1ce503b
...
@@ -51,6 +51,5 @@ apq:
...
@@ -51,6 +51,5 @@ apq:
# VNC中继服务器
# VNC中继服务器
vnc-repeater
:
192.168.6.29:5500
vnc-repeater
:
120.24.236.245:5500
#vnc-repeater: 120.24.236.245:5500
tools/install-package/boot/apq-client/apq-client.iss
浏览文件 @
b1ce503b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
; Tell Windows Explorer to reload the environment
; Tell Windows Explorer to reload the environment
ChangesEnvironment=yes
ChangesEnvironment=yes
DisableDirPage=no
DisableDirPage=no
;
AlwaysRestart=yes
AlwaysRestart=yes
AppId={{1394783A-5D3C-48CD-0000-E2DFBB844E42}
AppId={{1394783A-5D3C-48CD-0000-E2DFBB844E42}
AppName={#MyAppName}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVersion={#MyAppVersion}
...
@@ -53,7 +53,7 @@ VersionInfoVersion=1.0.0.1
...
@@ -53,7 +53,7 @@ VersionInfoVersion=1.0.0.1
Name: "chinese"; MessagesFile: "compiler:Languages/Chinese.isl"
Name: "chinese"; MessagesFile: "compiler:Languages/Chinese.isl"
[Files]
[Files]
Source: "../apq-client/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../apq-client/*";
Excludes: "bak";
DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../../java/jre/jre/*"; DestDir: "{app}/jre"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../../java/jre/jre/*"; DestDir: "{app}/jre"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../../client/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../../client/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
...
@@ -79,11 +79,6 @@ Type: dirifempty; Name: "{app}"
...
@@ -79,11 +79,6 @@ Type: dirifempty; Name: "{app}"
[Registry]
[Registry]
Root: HKLM; Subkey: "Software\{#MyAppEnName}"; Flags: uninsdeletekey;
Root: HKLM; Subkey: "Software\{#MyAppEnName}"; Flags: uninsdeletekey;
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "{#MyAppEnName}"; ValueData: "{app}\{#MyAppReBootName}"; Flags: uninsdeletevalue;
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "{#MyAppEnName}"; ValueData: "{app}\{#MyAppReBootName}"; Flags: uninsdeletevalue;
; set JAVA_HOME
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType:string; ValueName:"JAVA_HOME"; ValueData:"{app}\jre"; Flags: preservestringtype
; set PATH
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType:string; ValueName:"PATH"; ValueData:"{olddata};{app}\jre\bin"; Flags: preservestringtype
[Code]
[Code]
function CheckProcessRunning( aProcName,
function CheckProcessRunning( aProcName,
...
...
tools/install-package/boot/apq-client/bak/bat/apq-client.iss
浏览文件 @
b1ce503b
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
; Tell Windows Explorer to reload the environment
; Tell Windows Explorer to reload the environment
ChangesEnvironment=yes
ChangesEnvironment=yes
DisableDirPage=no
DisableDirPage=no
;
AlwaysRestart=yes
AlwaysRestart=yes
AppId={{1394783A-5D3C-48CD-0000-E2DFBB844E42}
AppId={{1394783A-5D3C-48CD-0000-E2DFBB844E42}
AppName={#MyAppName}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVersion={#MyAppVersion}
...
@@ -79,11 +79,6 @@ Type: dirifempty; Name: "{app}"
...
@@ -79,11 +79,6 @@ Type: dirifempty; Name: "{app}"
[Registry]
[Registry]
Root: HKLM; Subkey: "Software\{#MyAppEnName}"; Flags: uninsdeletekey;
Root: HKLM; Subkey: "Software\{#MyAppEnName}"; Flags: uninsdeletekey;
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "{#MyAppEnName}"; ValueData: "{app}\{#MyAppReBootName}"; Flags: uninsdeletevalue;
Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "{#MyAppEnName}"; ValueData: "{app}\{#MyAppReBootName}"; Flags: uninsdeletevalue;
; set JAVA_HOME
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType:string; ValueName:"JAVA_HOME"; ValueData:"{app}\jre"; Flags: preservestringtype
; set PATH
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ValueType:string; ValueName:"PATH"; ValueData:"{olddata};{app}\jre\bin"; Flags: preservestringtype
[Code]
[Code]
function CheckProcessRunning( aProcName,
function CheckProcessRunning( aProcName,
...
...
tools/install-package/boot/apq-control/apq-control.iss
浏览文件 @
b1ce503b
...
@@ -51,7 +51,7 @@ VersionInfoVersion=1.0.0.0
...
@@ -51,7 +51,7 @@ VersionInfoVersion=1.0.0.0
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
[Files]
[Files]
Source: "../apq-control/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../apq-control/*";
Excludes: "bak";
DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
//[Tasks]
//[Tasks]
...
...
tools/install-package/boot/apq-info/apq-info.iss
浏览文件 @
b1ce503b
...
@@ -49,7 +49,7 @@ VersionInfoVersion=1.0.0.0
...
@@ -49,7 +49,7 @@ VersionInfoVersion=1.0.0.0
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
[Files]
[Files]
Source: "../apq-info/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../apq-info/*";
Excludes: "bak";
DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
[Icons]
...
...
tools/install-package/boot/apq-register/apq-register.iss
浏览文件 @
b1ce503b
...
@@ -48,7 +48,7 @@ VersionInfoVersion=1.0.0.0
...
@@ -48,7 +48,7 @@ VersionInfoVersion=1.0.0.0
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
Name: "chinesesimp"; MessagesFile: "compiler:Languages/Chinese.isl"
[Files]
[Files]
Source: "../apq-register/*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
Source: "../apq-register/*";
Excludes: "bak";
DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs;
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
[Icons]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论