Release v1.1.1.1: Anti-Theft buttons update, BMS history chg_wait column, and wait for charging status display

This commit is contained in:
2026-09-22 15:17:18 +09:00
parent df038ae86b
commit 33fee50a10
26 changed files with 1570 additions and 2643 deletions

View File

@@ -26,6 +26,7 @@ namespace LFP_Manager.Forms
private fmxModuleDetail ModuleDetailForm = null;
private fmxFwUpdate FwUpdateForm = null;
private fmxHistory HistoryForm = null;
private fmxPacketLog PacketLogForm = null;
// Static Variables
CommConfig Config = new CommConfig();
@@ -64,6 +65,7 @@ namespace LFP_Manager.Forms
uTarget.OnStart += StartButtonClick;
uDataLog.OnUpdate += LogStatusUpdate;
uEventLog.OnPacketAnalyzerClick += packetAnalyzerToolStripMenuItem_Click;
this.Text = String.Format("LFP SYSTEM [{0}] -- TW (for DBG)", Application.ProductVersion);
}
@@ -210,6 +212,7 @@ namespace LFP_Manager.Forms
uartThread.OnUpdate += UpdateData;
uartThread.OnDataRecv += UartRecvData;
uartThread.OnPrint += CommDataPrint;
uartThread.OnPacketLog += PacketLogUpdate;
uartThread.SetPolling(chbPolling.Checked, sId, ref SystemData);
if (uartThread.Start(ref Config, sId, chbPolling.Checked))
@@ -813,6 +816,21 @@ namespace LFP_Manager.Forms
}
}
private void packetAnalyzerToolStripMenuItem_Click(object sender, EventArgs e)
{
if (PacketLogForm == null || PacketLogForm.IsDisposed)
{
PacketLogForm = new fmxPacketLog();
}
PacketLogForm.Show();
PacketLogForm.BringToFront();
}
private void PacketLogUpdate(DateTime timestamp, bool isTx, byte[] packet, string description)
{
PacketLogForm?.AddPacketLog(timestamp, isTx, packet, description);
}
#endregion
#region FORM EVENT