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
// AppLog.log('onReady() LockMainLogic');
UdpHelp().openUDP();
// UdpHelp().openUDP();
BlueManage();
}

View File

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

View File

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