recipes mapping + dates on the overall results

This commit is contained in:
Stoyan Zlatev
2025-03-31 09:09:42 +02:00
parent 6c7960be7a
commit 6915d2c2fc
31 changed files with 1580 additions and 89474 deletions
+8 -4
View File
@@ -109,12 +109,16 @@
// | FDRMask.LOG_ALARM_STATE
// | FDRMask.LOG_EXT_ALARM_STATE;
// 0B0126B768500A110B118427BAA2C5C18069035350000219BF3621116029186A00986A0000005A0A3
public static void Main()
{
var dbytes = "34-0B-10-12-6B-70-F2-00-0A-01-0B-01-06-05-01-50-4B-FF-F3-19-00-69-03-35-35-00-00-02-00-03-11-C5-EE-02-01-00-16-00-18-02-71-00-00-82-71-00-00-00-00-00-00-05-0A-4D-6A-16";
var debug = new DEBUG(dbytes.GetBytes(), new P11());
var sbytes = "08-06-12-6B-70-F2-00-00-01-F4-00-00-A5-0A-00-0F-03-00-00-00-00-00-00-09-13-01-88-73-FD-07-0E-10-A8-57-6E-D2-D1-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-03-00-3C-00-03-01-2F-76-6D-79-1D-00-00-00-00-00-00-00-00-00-00-00-00-00-18";
var semi = new SEMI(sbytes.GetBytes(), 868, new P11());
var hex = "0B-00-12-6B-76-85-00-0A-11-0B-11-08-04-02-7B-AA-2C-5C-18-00-69-00-35-35-00-00-00-00-02-19-BF-36-02-01-01-16-00-29-18-6A-00-00-98-6A-00-00-00-00-00-00-05-A0-A3";
var bytes = hex.GetBytes();
var debug = new DEBUG(bytes, new P11());
Console.WriteLine((debug.BatterySeconds - 0x02_00_00_00) / 60 / 60 / 24);
}
}
}