增加日志推送,增加房态变化的时候 断电功能
This commit is contained in:
@@ -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; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace Common
|
||||
Marshal.Copy(bytes, startIndex, structPtr, size);
|
||||
structObj = Marshal.PtrToStructure(structPtr, type);
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user