V1.0.0.8 - 2025/12/30

* RS-485 Comm Improve
This commit is contained in:
2025-12-30 13:33:14 +09:00
parent 0af235eb3d
commit e2b5223a39
3 changed files with 3 additions and 31 deletions

View File

@@ -360,6 +360,7 @@ namespace LFP_Manager.Controls
} }
#endregion #endregion
#region TIMER EVENT #region TIMER EVENT
private void tmrDisplay_Tick(object sender, EventArgs e) private void tmrDisplay_Tick(object sender, EventArgs e)
{ {

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.7")] [assembly: AssemblyVersion("1.0.0.8")]
[assembly: AssemblyFileVersion("1.0.0.7")] [assembly: AssemblyFileVersion("1.0.0.8")]

View File

@@ -356,35 +356,6 @@ namespace LFP_Manager.Threads
#region TX BUFFERING #region TX BUFFERING
private byte[] MakeWriteRegData(ushort DevID, ushort WriteAddr, ushort WriteLen, ref ushort[] WriteData)
{
byte[] wData = null;
if (WriteLen > 0)
{
}
return wData;
}
private string MakeCheckSum(byte[] sData, int len)
{
string result = "";
int checksum = 0;
for (int i = 0; i < len; i++)
{
checksum += sData[i + 1];
}
checksum = ~checksum + 1;
result = String.Format("{0:X2}{1:X2}", (byte)(checksum >> 8), (byte)checksum);
return result;
}
private byte[] MakeTxDataDelta(bool wData) private byte[] MakeTxDataDelta(bool wData)
{ {
byte[] sData = null; byte[] sData = null;