feat: 1,注释掉旧的udp流程2,注释掉对讲收发包调试代码

This commit is contained in:
“DaisyWu” 2025-02-06 18:44:55 +08:00
parent e3beea01da
commit 2f00a6280d
3 changed files with 35 additions and 35 deletions

View File

@ -313,7 +313,7 @@ class LockMainLogic extends BaseGetXController {
// UDP // UDP
// AppLog.log('onReady() LockMainLogic'); // AppLog.log('onReady() LockMainLogic');
UdpHelp().openUDP(); // UdpHelp().openUDP();
BlueManage(); BlueManage();
} }

View File

@ -141,7 +141,7 @@ class MineSetLogic extends BaseGetXController {
'logout_result': '成功', 'logout_result': '成功',
}); });
UdpHelp().closeUDP(); // UdpHelp().closeUDP();
logOut(); logOut();
StoreService.to.saveLanguageCode(''); StoreService.to.saveLanguageCode('');

View File

@ -255,39 +255,39 @@ class _TalkViewPageState extends State<TalkViewPage>
) )
: Container()), : Container()),
//ToDo: //ToDo:
Visibility( // Visibility(
visible: true, // visible: true,
child: Positioned( // child: Positioned(
top: 20, // // top: 20, //
left: 20, // left: 20,
right: 20, // // right: 20, //
child: Container( // child: Container(
height: 100, // 100 // height: 100, // 100
color: Colors.black.withOpacity(0.5), // // color: Colors.black.withOpacity(0.5), //
padding: const EdgeInsets.all(10), // // padding: const EdgeInsets.all(10), //
child: Consumer<DebugInfoModel>( // child: Consumer<DebugInfoModel>(
builder: (BuildContext context, DebugInfoModel debugInfo, // builder: (BuildContext context, DebugInfoModel debugInfo,
Widget? child) { // Widget? child) {
return Column( // return Column(
crossAxisAlignment: CrossAxisAlignment.start, // crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ // children: <Widget>[
Text( // Text(
'recv ${debugInfo.recvDataRate}KB/s [${debugInfo.recvPacketCount}]', // 'recv ${debugInfo.recvDataRate}KB/s [${debugInfo.recvPacketCount}]',
style: const TextStyle( // style: const TextStyle(
color: Colors.white), // // color: Colors.white), //
), // ),
Text( // Text(
'send ${debugInfo.sendDataRate}KB/s [${debugInfo.sendPacketCount}]', // 'send ${debugInfo.sendDataRate}KB/s [${debugInfo.sendPacketCount}]',
style: const TextStyle( // style: const TextStyle(
color: Colors.white), // // color: Colors.white), //
), // ),
], // ],
); // );
}, // },
), // ),
), // ),
), // ),
), // ),
// //
// Positioned( // Positioned(
// top: 120, // top: 120,