XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

HaloPixelToolBox

【WinUI3】基于USB HID通讯的花再音响工具箱

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/HaloPixelToolBox

添加启动信息显示 更新版本号至1.2.5

a495fe7
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

2 个文件 +13 -2
Modified HaloPixelToolBox/HaloPixelToolBox/HaloPixelToolBox.csproj +1 -1
@@ -9,7 +9,7 @@
9 9 <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
10 10 <PublishProfile>win-$(Platform).pubxml</PublishProfile>
11 11 <UseWinUI>true</UseWinUI>
12 <Version>1.2.4</Version>
12 <Version>1.2.5</Version>
13 13 <EnableMsixTooling>true</EnableMsixTooling>
14 14 <WindowsPackageType>None</WindowsPackageType>
15 15 <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
Modified HaloPixelToolBox/HaloPixelToolBox/ViewModels/CloudMusicLyricsToolPageViewModel.cs +12 -1
@@ -41,7 +41,7 @@ public partial class CloudMusicLyricsToolPageViewModel : ServiceBaseViewModelBas
41 41 {
42 42 if (string.IsNullOrWhiteSpace(hexAddress))
43 43 return 0;
44
44
45 45 try
46 46 {
47 47 return new nint(Convert.ToInt64(hexAddress, 16));
@@ -146,6 +146,17 @@ public partial class CloudMusicLyricsToolPageViewModel : ServiceBaseViewModelBas
146 146 Task.Run(async () =>
147 147 {
148 148 Console.WriteLine("启动网易云歌词主线程");
149 Console.WriteLine("等待花再设备...");
150 while (!DeviceReady)
151 await Task.Delay(500);
152 if (DeviceReady)
153 {
154 Console.WriteLine("花再设备已就绪,显示启动信息");
155 Device.SetTextLayout(Core.Models.HaloPixelTextLayout.Center);
156 Device.ShowText("花再工具箱已启动~");
157 await Task.Delay(3000);
158 Console.WriteLine("OK");
159 }
149 160 while (true)
150 161 {
151 162 bool isClockUI = false;