Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否做一个分包,但是不显示时间戳的功能 #190

Open
Iezuni opened this issue Mar 1, 2025 · 5 comments
Open

能否做一个分包,但是不显示时间戳的功能 #190

Iezuni opened this issue Mar 1, 2025 · 5 comments

Comments

@Iezuni
Copy link
Contributor

Iezuni commented Mar 1, 2025

您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.

现在的版本下,如果不开启分包功能,就无法触发接收脚本, 但是开启分包就会在每条数据前有时间戳,而且无法完整复制,

描述您想要的解决方案 / Describe the solution you'd like

分包,但是不显示时间戳的功能

描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way

分包,但是不显示时间戳的功能

其他备注信息或截图 / Add any other context or screenshots about the feature request here

No response

@LuaRobot
Copy link

LuaRobot commented Mar 1, 2025

⚠ 你的Issue可能缺少了一些信息,请自觉补全,以证明issue内容的真实性:

⚠ Your issue may be missing some information, please complete it to prove the authenticity of the content of the issue:

  • ❌未提供功能需求的详细描述 does not provide detailed description of the feature request

@chenxuuu
Copy link
Owner

chenxuuu commented Mar 1, 2025 via email

@Iezuni
Copy link
Contributor Author

Iezuni commented Mar 2, 2025

从代码上来看,不分包就是不会触发的

var needPack = Tools.Global.setting.timeout >= 0;
if (lastPackShowMode != needPack)
{
lastPackShowMode = needPack;
DoInvoke(() =>
{
MainList.Items.Clear();
MainTextBox.Clear();
MainListScrollViewer.Visibility = needPack ? Visibility.Visible : Visibility.Collapsed;
MainTextBox.Visibility = needPack ? Visibility.Collapsed : Visibility.Visible;
});
}
//如果不开回显,就别打印
if(!Tools.Global.setting.showSend && e is DataShowPara para && para.send)
return;
//显示到列表
if (!needPack && e is not DataShowRaw)//不分包模式

@chenxuuu
Copy link
Owner

chenxuuu commented Mar 2, 2025 via email

@Iezuni
Copy link
Contributor Author

Iezuni commented Mar 2, 2025

所以要不要考虑一下我一开始提出的建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants