tbf/Results/Entities
Michal Buzik 52bd0d01ce Restore Genesis communication and Q3 calibration from special branches
A – Registration and execution
- Register GenesisCommunication Factory in the component list.
- Separate the Genesis form and sequence from iPerl communication.

B – Communication activities
- Restore initialization, connection, PCB reading, password and login.
- Include grouped login, mode switching and disconnection.
- Support processing up to 10 slots.

C1 – Input calibration factors
- Read three factors from Water meters / Text1–Text3.
- Validate integer values in the range 1–65535.
- Preserve the default of 15625 when all three fields are empty.

D – Q3 calibration
- Connect the Prepare Q3 → measurement → Write Q3 workflow.
- Add channel processing to FlyingStart and FlyingStartMassCollection.
- Reset previous measurement data and validate calculated factors.
- Mark factors as stored only after StoreCalibration succeeds.

E – Results and database
- Store calibration factors separately for each meter and channel.
- Add result entities, mappings and Q3 data.
- Extend DB.cs / EnsureSchema to create and update the schema.
- Preserve compatibility with the existing binary format.

Validation:
- Debug build and 18 tests passed.
- Simulated communication runs follow the same activity sequence.
- The complete Q3 workflow has not yet been verified on hardware.

Known limitation:
- An inherited mismatch in simulated responses and error propagation
  can produce an incorrect OK result; this change does not fix it.
2026-09-09 15:04:49 +02:00
..
helpers Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
PurchaseEntities Purchase Order - Collector complete, bug fix in entities version 3.9.2149.11 2024-09-02 14:21:40 +02:00
Batch.cs Added new Nummer Result - Failed_meters_countE15 2024-11-06 14:58:39 +01:00
Components.cs Results.Entities bug fixes and copy constructors. 2021-04-12 13:09:28 +02:00
MeterTestCalibFactorRslt.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
MeterTestRslt.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
PurchaseBox.cs Purchase Order - Collector complete, bug fix in entities version 3.9.2149.11 2024-09-02 14:21:40 +02:00
PurchaseOrder.cs DB purchaseOrder -> Remove Config Entities - moved into Results 2024-09-02 08:30:34 +02:00
PurchaseWaterMeterData.cs DB purchaseOrder -> Remove Config Entities - moved into Results 2024-09-02 08:30:34 +02:00
TestData.cs TestData.IsFromToInPct and TestRslt.Qdetected added, TestRslt.Qfrom() / Qto() rewritten, CombinedWithDetectionSeq bug fix. 2023-11-09 11:59:24 +01:00
TestRslt.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
TestRsltCalibFactor.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
WaterMeter.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00
WaterMeterData.cs Restore Genesis communication and Q3 calibration from special branches 2026-09-09 15:04:49 +02:00