增加日志推送,增加房态变化的时候 断电功能

This commit is contained in:
2026-02-03 08:53:47 +08:00
parent e4610f1ffa
commit 1d77141ffe
21 changed files with 229 additions and 26 deletions

View File

@@ -14,6 +14,7 @@ namespace Common
public string EndPoint { get; set; }
public string CurrentStatus { get; set; }
public DateTime CurrentTime { get; set; }
public long UnixTime { get; set; }
}
}

View File

@@ -77,7 +77,7 @@ namespace Common
Marshal.Copy(bytes, startIndex, structPtr, size);
structObj = Marshal.PtrToStructure(structPtr, type);
}
catch (Exception)
catch (Exception ex)
{
}
finally