TestPage.qml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812
  1. import QtQuick
  2. import Felgo
  3. import QtMultimedia
  4. import QtQuick.Controls
  5. import Qt.labs.settings 1.0 as QtLabs
  6. import QtQuick.Controls.Material 2.0
  7. import QtLocation 5.5
  8. import QtPositioning 5.5
  9. import Qt5Compat.GraphicalEffects
  10. import "../controls"
  11. import "../common"
  12. import Frames 0.1
  13. AppPage {
  14. objectName: "autoFocus_Page"
  15. navigationBarHidden: true
  16. backgroundColor: app.theme_backgroundColor
  17. property var videoFormats
  18. // 定义电机状态
  19. property int currentAxis: 0 // 当前选择的轴 (0: X, 1: Y, 2: Z)
  20. property var axisPositions: [0, 0, 0] // 各轴当前位置
  21. property int speed: 50 // 当前速度 (0-100)
  22. property int stepDistance: 20 // 步进脉冲数量
  23. property string fExposureTime: "0"
  24. function autotake(sw){
  25. if(sw)
  26. {
  27. console.log("autotakestart")
  28. frames.camera_sw = true
  29. //frames.auto_clicked = true //开始对焦
  30. auto_timer.start() //启动对焦定时器
  31. console.log("相机已打开")
  32. photoTimer.interval=60*1000
  33. photoTimer.start()
  34. }else{
  35. frames.camera_sw = true
  36. console.log("打开相机单次拍照!")
  37. }
  38. }
  39. Frames {
  40. objectName: "Frames"
  41. id: frames
  42. videoSink: output.videoSink
  43. onCameraOpenFailed:function(err){
  44. console.log("onCameraOpenFailed",err)
  45. nativeUtils.displayMessageBox("相机打开失败!",err,1)
  46. focus_switch.checked = false
  47. focus_switch.enabled = true
  48. takephoto_switch.checked = false
  49. takephoto_switch.enabled = true
  50. }
  51. onVideoSinkChanged: {
  52. console.log("onVideoSinkChanged")
  53. photoTimer.start() //两秒后关闭相机,因为相机加载的慢,否则关不住
  54. }
  55. onQulityStringChanged: {
  56. loginpage.logintimeout = 600; //拍照刷新熄屏计时
  57. photoTimer.interval = 180*1000 //3分钟超时
  58. photoTimer.restart()
  59. }
  60. onCameraStaChanged: function(sta_cam) {
  61. if(sta_cam){
  62. //camera.active = sta_cam
  63. //camera.start()
  64. loginpage.logintimeout = 600; //拍照刷新熄屏计时
  65. output.visible = sta_cam
  66. photoTimer.interval = 180*1000 //3分钟超时
  67. photoTimer.start()
  68. //uvc_camera.visible = false
  69. }else{
  70. //camera.active = sta_cam
  71. //camera.stop()
  72. output.visible= sta_cam
  73. photoTimer.stop() //停止计时器
  74. //uvc_camera.visible = true
  75. }
  76. console.log("相机状态改变",sta_cam)
  77. }
  78. onStepCountChanged: function(step){
  79. console.log("坐标改变",step)
  80. step_apptextfield.text = step
  81. }
  82. onExposureTimeChanged: {
  83. fExposureTime = frames.cam_ExposureTime
  84. }
  85. }
  86. Timer {
  87. id: photoTimer
  88. interval: 2000 // 设置点击频率限制的时间间隔(以毫秒为单位)
  89. running: false // 初始状态下定时器停止
  90. repeat: false // 设置为false,以便只执行一次
  91. onTriggered: {
  92. // 定时器触发后,设置按钮可用
  93. // camera.active = false
  94. // camera.stop()
  95. output.visible = false
  96. frames.camera_sw = false
  97. }
  98. }
  99. Timer {
  100. id: auto_timer
  101. interval: 1000 // 设置点击频率限制的时间间隔(以毫秒为单位)
  102. running: false // 初始状态下定时器停止
  103. repeat: false // 设置为false,以便只执行一次
  104. onTriggered: {
  105. // 定时器触发后,开始对焦
  106. frames.auto_clicked = true
  107. }
  108. }
  109. Connections{
  110. target: mqtt
  111. function onMessagePub(message) {
  112. if(app.showPubData){
  113. var time = new Date().toLocaleTimeString()
  114. app.txDataLog = "[" + time + "] " + message + "\n" + app.txDataLog
  115. if(app.txDataLog.length > 5000) app.txDataLog = app.txDataLog.substring(0, 5000)
  116. }
  117. }
  118. function onMessageSub(message) {
  119. if(app.showSubData){
  120. var time = new Date().toLocaleTimeString()
  121. app.rxDataLog = "[" + time + "] " + message + "\n" + app.rxDataLog
  122. if(app.rxDataLog.length > 5000) app.rxDataLog = app.rxDataLog.substring(0, 5000)
  123. }
  124. }
  125. }
  126. Connections{
  127. target: serial
  128. onTakephotodone:{
  129. console.log("立即拍照完成!")
  130. apptext_res.text = "立即拍照完成!"
  131. focus_switch.enabled = true
  132. focus_switch.checked = false
  133. }
  134. onAutotestdone: {
  135. console.log("自动对焦完成!")
  136. apptext_res.text = "自动对焦完成!"
  137. autotest_switch.enabled = true
  138. autotest_switch.checked = false
  139. }
  140. onTranslatedone: {
  141. console.log("胶带传送完成!")
  142. apptext_res.text = "胶带传送完成!"
  143. jiaodai_switch.enabled = true
  144. jiaodai_switch.checked = false
  145. }
  146. onDataReceived:function(data) {
  147. if(app.showRxData){
  148. var time = new Date().toLocaleTimeString()
  149. app.rxDataLog = "[" + time + "] " + data + "\n" + app.rxDataLog
  150. if(app.rxDataLog.length > 5000) app.rxDataLog = app.rxDataLog.substring(0, 5000)
  151. }
  152. }
  153. onNetMessage:function(data) {
  154. if(app.showTxData){
  155. var time = new Date().toLocaleTimeString()
  156. app.txDataLog = "[" + time + "] " + data + "\n" + app.txDataLog
  157. if(app.txDataLog.length > 5000) app.txDataLog = app.txDataLog.substring(0, 5000)
  158. }
  159. }
  160. }
  161. SplitView{
  162. anchors.fill: parent
  163. orientation: Qt.Horizontal
  164. Rectangle {
  165. SplitView.preferredWidth: parent.width * 0.7
  166. height: parent.height
  167. color: app.cardColor
  168. radius: 5
  169. AppButton {
  170. id: normButton
  171. //anchors.horizontalCenter: parent.horizontalCenter
  172. anchors.centerIn: parent
  173. anchors.fill: parent
  174. //text: "打开相机"
  175. flat: true //边框是否可视
  176. onClicked: {
  177. console.log("相机状态:",frames.camera_sw)
  178. //if(camera.active){
  179. if(frames.camera_sw){
  180. text = "相机已关闭"
  181. output.visible = false
  182. frames.camera_sw = false
  183. //uvc_camera.visible = false
  184. }else{
  185. text = "打开相机"
  186. output.visible = true
  187. frames.camera_sw = true
  188. //uvc_camera.visible = true
  189. }
  190. }
  191. Timer {
  192. id: longPressTimer
  193. interval: 1000 // 长按时间1000ms
  194. running: false // 初始状态下定时器停止
  195. repeat: false // 设置为false,以便只执行一次
  196. onTriggered: {
  197. console.log("长按触发")
  198. }
  199. }
  200. onPressed: {
  201. console.log("按钮按下,开始计时")
  202. longPressTimer.start()
  203. }
  204. onReleased: {
  205. console.log("按钮释放,停止计时")
  206. longPressTimer.stop()
  207. }
  208. AppImage{
  209. id: image_picdis
  210. anchors.centerIn: parent
  211. source: "../../assets/photoico.svg"
  212. }
  213. }
  214. VideoOutput
  215. {
  216. id: output
  217. anchors.fill: parent
  218. visible: false
  219. fillMode: VideoOutput.PreserveAspectFit //根据视频的纵横比例等比例缩放
  220. //fillMode: VideoOutput.Stretch
  221. Component.onCompleted: {
  222. console.log("output onCompleted")
  223. }
  224. }
  225. Row {
  226. AppText {
  227. id: photoclarity_text
  228. width: parent.width
  229. text: frames.fpsString
  230. color: "red"
  231. }
  232. AppText {
  233. visible: true//app.photoclarity
  234. id: photoclarity2_text
  235. anchors.top: photoclarity_text.bottom
  236. width: parent.width
  237. text: frames.qulityString
  238. color: "green"
  239. }
  240. }
  241. }
  242. ScrollView
  243. {
  244. SplitView.preferredWidth: parent.width*0.29
  245. SplitView.minimumWidth: 200
  246. clip: true
  247. Column {
  248. spacing: dp(15)
  249. Row {
  250. spacing: 80
  251. AppText {
  252. id: text_title
  253. text: "测试调试"
  254. font.bold: true
  255. color: "#28a779"
  256. fontSize: 20
  257. }
  258. AppText {
  259. id: apptext_res
  260. text: "[测试结果]"
  261. fontSize:15
  262. color: "grey"
  263. anchors.verticalCenter: text_title.verticalCenter
  264. }
  265. }
  266. Row {
  267. spacing: 100
  268. AppText{
  269. text: "一键测试"
  270. fontSize: 15
  271. color: app.fontColor
  272. //font.bold: true
  273. anchors.verticalCenter: autotest_switch.verticalCenter
  274. }
  275. AppSwitch {
  276. id: autotest_switch
  277. onToggled: {
  278. if(autotest_switch.checked==true){
  279. autotest_switch.enabled = false
  280. serial.sendCmd("autotest",true,"","");
  281. t_autotest.start()
  282. }else{
  283. console.log("t_autotest 计数:",t_autotest.interval)
  284. }
  285. }
  286. }
  287. Timer {
  288. id: t_autotest
  289. interval: 1000*60
  290. running: false
  291. repeat: false
  292. onTriggered: {
  293. autotest_switch.enabled = true
  294. autotest_switch.checked = false
  295. }
  296. }
  297. }
  298. Row {
  299. spacing: 100
  300. AppText{
  301. text: "风机测试"
  302. color: app.fontColor
  303. fontSize: 15
  304. //font.bold: true
  305. anchors.verticalCenter: fantest_switch.verticalCenter
  306. }
  307. AppSwitch {
  308. id: fantest_switch
  309. onToggled: {
  310. if(fantest_switch.checked==true){
  311. serial.sendCmd("fan",true,"","");
  312. apptext_res.text = "打开风机"
  313. }else{
  314. serial.sendCmd("fan",false,"","");
  315. apptext_res.text = "关闭风机"
  316. }
  317. }
  318. }
  319. }
  320. Row {
  321. spacing: 100
  322. AppText{
  323. text: "胶带测试"
  324. fontSize: 15
  325. color: app.fontColor
  326. //font.bold: true
  327. anchors.verticalCenter: jiaodai_switch.verticalCenter
  328. }
  329. AppSwitch {
  330. id: jiaodai_switch
  331. onToggled: {
  332. if(jiaodai_switch.checked==true){
  333. // 检查是否处于温度保护状态
  334. if(app.tempProtectionState === true){
  335. // 弹出提示对话框
  336. nativeUtils.displayMessageBox(
  337. "提示",
  338. "当前处于温控状态,请解除温控后再进行测试胶带传送",
  339. 1
  340. );
  341. // 恢复开关状态为未选中
  342. jiaodai_switch.checked = false;
  343. return;
  344. }
  345. // 正常执行胶带测试
  346. //jiaodai_switch.enabled = false
  347. apptext_res.text = "胶带测试开始"
  348. serial.sendCmd("jiaodai",true,"","");
  349. }
  350. }
  351. }
  352. }
  353. Row {
  354. spacing: 100
  355. AppText{
  356. text: "补光测试"
  357. color: app.fontColor
  358. fontSize: 15
  359. //font.bold: true
  360. anchors.verticalCenter: led_switch.verticalCenter
  361. }
  362. AppSwitch {
  363. id: led_switch
  364. onToggled: {
  365. if(led_switch.checked==true){
  366. serial.sendCmd("led",true,"","");
  367. apptext_res.text = "补光灯已打开"
  368. }else{
  369. serial.sendCmd("led",false,"","");
  370. apptext_res.text = "补光灯已关闭"
  371. }
  372. }
  373. }
  374. }
  375. Row {
  376. spacing: 100
  377. AppText{
  378. text: "立即拍照"
  379. color: app.fontColor
  380. fontSize: 15
  381. //font.bold: true
  382. anchors.verticalCenter: takephoto_switch.verticalCenter
  383. }
  384. AppSwitch {
  385. id: takephoto_switch
  386. onToggled: {
  387. if(takephoto_switch.checked==true){
  388. apptext_res.text = "立即拍照"
  389. frames.captureImage()
  390. }
  391. }
  392. }
  393. }
  394. Row {
  395. spacing: 100
  396. AppText{
  397. text: "对焦拍照"
  398. color: app.fontColor
  399. fontSize: 15
  400. //font.bold: true
  401. anchors.verticalCenter: focus_switch.verticalCenter
  402. }
  403. AppSwitch {
  404. id: focus_switch
  405. onToggled: {
  406. if(focus_switch.checked==true){
  407. apptext_res.text = "开始对焦"
  408. focus_switch.enabled = false
  409. serial.auto_takephoto(true)
  410. }
  411. }
  412. }
  413. }
  414. AppText {
  415. id: text_title2
  416. text: "三轴步进电机控制"
  417. font.bold: true
  418. color: "#28a779"
  419. fontSize: 20
  420. }
  421. // 轴选择
  422. Row {
  423. spacing: dp(1)
  424. width: parent.width
  425. AppText {
  426. text: "选择轴:"
  427. width: dp(60) // 固定文本宽度
  428. color: app.fontColor
  429. anchors.verticalCenter: parent.verticalCenter
  430. }
  431. ComboBox {
  432. width: parent.width - dp(100) // 剩余宽度
  433. height: dp(40)
  434. model: ["X轴", "Y轴", "Z轴"]
  435. onCurrentIndexChanged: currentAxis = currentIndex
  436. }
  437. AppButton{
  438. text: "校准"
  439. textColor: "black"
  440. flat: false
  441. borderColor: "black"
  442. borderWidth: dp(1)
  443. backgroundColor: "white"
  444. minimumHeight: dp(30)
  445. minimumWidth: dp(50)
  446. onClicked:
  447. {
  448. autotake(false)
  449. if(currentAxis==0)
  450. {
  451. console.log("校准X")
  452. serial.sendCmd("calibrate",false,"x",speed.toString())
  453. }else if(currentAxis==1)
  454. {
  455. console.log("校准Y")
  456. serial.sendCmd("calibrate",false,"y",speed.toString())
  457. }else if(currentAxis==2)
  458. {
  459. console.log("校准Z")
  460. serial.sendCmd("calibrate",false,"z",speed.toString())
  461. }
  462. }
  463. }
  464. }
  465. // 速度调节
  466. Row {
  467. spacing: dp(2)
  468. width: parent.width
  469. AppText {
  470. text: "速度:"
  471. width: dp(40) // 固定文本宽度
  472. color: app.fontColor
  473. anchors.verticalCenter: parent.verticalCenter
  474. }
  475. AppSlider {
  476. width: parent.width - dp(60) // 剩余宽度
  477. from: 0
  478. to: 100
  479. value: speed
  480. stepSize: 1
  481. onValueChanged: speed = value
  482. anchors.verticalCenter: parent.verticalCenter
  483. }
  484. AppText {
  485. text: speed
  486. width: dp(40) // 固定文本宽度
  487. anchors.verticalCenter: parent.verticalCenter
  488. }
  489. }
  490. // 步进距离设置
  491. Row {
  492. spacing: dp(10)
  493. width: parent.width
  494. AppText {
  495. text: "步进脉冲次数:"
  496. width: dp(120) // 固定文本宽度
  497. color: app.fontColor
  498. anchors.verticalCenter: parent.verticalCenter
  499. }
  500. AppTextField {
  501. id: step_apptextfield
  502. width: parent.width - dp(120) // 剩余宽度
  503. text: stepDistance
  504. validator: IntValidator { bottom: 0; top: 2000 }
  505. onTextChanged: stepDistance = parseInt(text)
  506. }
  507. }
  508. // 运动控制按钮
  509. Row {
  510. spacing: dp(10)
  511. width: parent.width
  512. AppButton {
  513. text: " 正转 "
  514. textColor: "black"
  515. flat: false
  516. borderColor: "black"
  517. borderWidth: dp(1)
  518. backgroundColor: "grey"
  519. minimumHeight: dp(30)
  520. minimumWidth: dp(50)
  521. width: (parent.width - dp(30))/3 // 平均分配宽度
  522. onClicked:
  523. {
  524. if(currentAxis==0)
  525. {
  526. console.log("X轴正转:",stepDistance)
  527. serial.sendCmd("movx",false,"f"+stepDistance,speed.toString())
  528. }else if(currentAxis==1)
  529. {
  530. console.log("Y轴正转:",stepDistance)
  531. serial.sendCmd("movy",false,"f"+stepDistance,speed.toString())
  532. }else if(currentAxis==2)
  533. {
  534. console.log("Z轴正转:",stepDistance)
  535. serial.sendCmd("movz",false,"f"+stepDistance,speed.toString())
  536. }
  537. }
  538. }
  539. AppButton {
  540. text: " 停止 "
  541. textColor: "black"
  542. flat: false
  543. borderColor: "black"
  544. borderWidth: dp(1)
  545. backgroundColor: "red"
  546. minimumHeight: dp(30)
  547. minimumWidth: dp(50)
  548. width: (parent.width - dp(30))/3 // 平均分配宽度
  549. onClicked:
  550. {
  551. console.log("停止")
  552. serial.sendCmd("movx",false,"f0","")
  553. }
  554. }
  555. AppButton {
  556. text: " 反转 "
  557. textColor: "black"
  558. flat: false
  559. borderColor: "black"
  560. borderWidth: dp(1)
  561. backgroundColor: "grey"
  562. minimumHeight: dp(30)
  563. minimumWidth: dp(50)
  564. width: (parent.width - dp(30))/3 // 平均分配宽度
  565. onClicked:
  566. {
  567. if(currentAxis==0)
  568. {
  569. console.log("X轴反转:",stepDistance)
  570. serial.sendCmd("movx",false,"b"+stepDistance,speed.toString())
  571. }else if(currentAxis==1)
  572. {
  573. console.log("Y轴反转:",stepDistance)
  574. serial.sendCmd("movy",false,"b"+stepDistance,speed.toString())
  575. }else if(currentAxis==2)
  576. {
  577. console.log("Z轴反转:",stepDistance)
  578. serial.sendCmd("movz",false,"b"+stepDistance,speed.toString())
  579. }
  580. }
  581. }
  582. AppButton {
  583. text: " 复位 "
  584. textColor: "black"
  585. flat: false
  586. borderColor: "black"
  587. borderWidth: dp(1)
  588. backgroundColor: "grey"
  589. minimumHeight: dp(30)
  590. minimumWidth: dp(50)
  591. width: (parent.width - dp(30))/3 // 平均分配宽度
  592. onClicked: {
  593. if(currentAxis==0)
  594. {
  595. console.log("X轴复位!")
  596. serial.sendCmd("movx",true,"",speed.toString())
  597. }else if(currentAxis==1)
  598. {
  599. console.log("Y轴复位!")
  600. serial.sendCmd("movy",true,"",speed.toString())
  601. }else if(currentAxis==2)
  602. {
  603. console.log("Z轴复位!")
  604. serial.sendCmd("movz",true,"",speed.toString())
  605. }
  606. }
  607. }
  608. }
  609. AppText {
  610. id: text_camera
  611. text: "相机参数"
  612. font.bold: true
  613. color: "#28a779"
  614. fontSize: 20
  615. }
  616. Row {
  617. spacing: dp(10)
  618. width: parent.width
  619. AppText {
  620. id: txt_fExposureTime
  621. text: "曝光值:"
  622. color: app.fontColor
  623. }
  624. AppTextField {
  625. anchors.verticalCenter: txt_fExposureTime.verticalCenter
  626. placeholderText: fExposureTime
  627. text: fExposureTime
  628. width: parent.width - dp(10) // 剩余宽度
  629. EnterKey.type: Qt.EnterKeyDone
  630. wrapMode: Text.NoWrap
  631. inputMethodHints: Qt.ImhFormattedNumbersOnly |
  632. Qt.ImhPreferDone |
  633. Qt.ImhNoPredictiveText
  634. validator: DoubleValidator {
  635. bottom: 100.00 // 最小值
  636. top: 500000.00 // 最大值
  637. decimals: 0
  638. }
  639. // 🔥 关键 3:兜底(IME 再作妖也不怕)
  640. Keys.onReturnPressed: {
  641. frames.cam_ExposureTime = text
  642. console.log("设置曝光时间:",text)
  643. Qt.inputMethod.hide()
  644. }
  645. onAccepted: {
  646. frames.cam_ExposureTime = text
  647. console.log("设置曝光时间",text)
  648. }
  649. }
  650. }
  651. Row {
  652. spacing: 100
  653. AppText{
  654. text: "显示Serial发送数据"
  655. color: app.fontColor
  656. fontSize: 15
  657. anchors.verticalCenter: txSwitch.verticalCenter
  658. }
  659. AppSwitch {
  660. id: txSwitch
  661. onToggled: {
  662. app.floatPanel = checked
  663. app.showTxData = checked
  664. app.floatPanel_title = "Serial发送数据"
  665. }
  666. }
  667. }
  668. Row {
  669. spacing: 100
  670. AppText{
  671. text: "显示Serial接收数据"
  672. color: app.fontColor
  673. fontSize: 15
  674. anchors.verticalCenter: rxSwitch.verticalCenter
  675. }
  676. AppSwitch {
  677. id: rxSwitch
  678. onToggled: {
  679. app.floatPanel = checked
  680. app.showRxData = checked
  681. app.floatPanel_title = "Serial接收数据"
  682. }
  683. }
  684. }
  685. Row {
  686. spacing: 100
  687. AppText{
  688. text: "显示MQTT发送数据"
  689. color: app.fontColor
  690. fontSize: 15
  691. anchors.verticalCenter: txSwitch.verticalCenter
  692. }
  693. AppSwitch {
  694. id: pubSwitch
  695. onToggled: {
  696. app.floatPanel = checked
  697. app.showPubData = checked
  698. app.showSubData = false
  699. app.floatPanel_title = "MQTT发送数据"
  700. }
  701. }
  702. }
  703. Row {
  704. spacing: 100
  705. AppText{
  706. text: "显示MQTT接收数据"
  707. color: app.fontColor
  708. fontSize: 15
  709. anchors.verticalCenter: txSwitch.verticalCenter
  710. }
  711. AppSwitch {
  712. id: subSwitch
  713. onToggled: {
  714. app.floatPanel = checked
  715. app.showSubData = checked
  716. app.showPubData = false
  717. app.floatPanel_title = "MQTT接收数据"
  718. }
  719. }
  720. }
  721. }
  722. }
  723. }
  724. }