Commit Graph
3469 Commits
Author SHA1 Message Date
michal f354769266 feat(poseidon): add standing optical stream diagnostics
- add configurable standing stream capture and raw-only mode
- persist standing diagnostic settings in Poseidon configuration
- log parsed standing stream packets without affecting measurement results
- stop collector safely on end read, stop and session end
- restore optical output mode after standing diagnostic capture
- document standing diagnostics, settings and lifecycle
2026-11-19 23:18:43 +01:00
michal 026b8ad61c feat<poseidon>: improved/fixed optical input from poseidon logging
- apply only first and last valid telegram from each configured optical batch
- mark used and ignored telegrams in Poseidon optical CSV diagnostics
- allow optical batch size 1
- retain parse-rejected and duplicate-second diagnostics
- include sanitized meter serial number in Poseidon diagnostic filenames
- create separate diagnostic files when the serial changes within a batch
2026-11-19 17:32:12 +01:00
michal f6e49ef6d3 feat(backup): add automatic database retention and schema-based export names 2026-11-19 08:08:11 +01:00
michal e59495a94f feat<Automatic backup> cyclic backup based on settings 2026-11-17 21:38:17 +01:00
michal 05280fc726 improvement<log backup GUI> added Poseidon product family selection 2026-11-16 14:29:01 +01:00
michal bb0ca4aa8e bugfix<camera pictures> fix to save camera results from temp to pernament results, ver 3.9.3185.0 2026-11-16 12:58:46 +01:00
michal 9a97ba10da Upadte version 3.9.3184.0 2026-11-11 12:01:33 +01:00
michal b1b451f483 GCI include change 2026-11-11 11:57:29 +01:00
michal a56f685e90 fix(gci): restore merged project dependencies 2026-11-11 11:54:23 +01:00
michal 99bbb72c1f Merge develop/SLM-PT50_genesisDirectDecode into ALLY 2026-11-10 22:20:50 +01:00
michal 57fd2a3661 heat meters disabled 2026-11-10 21:34:46 +01:00
marekf ffee945668 <Merge-fix>: Align merged application with server version, increase revision to 3.9.3152.100
Cause:

- Merging develop/Local-master into develop/SLM-PT50_genesisDirectDecode_mirror accepted the source application version 3.9.3147.138.
- The server branch uses application version 3.9.3152.0 and needs a separate revision for the merged program.

Solution:

1. Align the application version
   - Restore the server version base 3.9.3152 and set revision to 100.
   - Update AssemblyVersion and AssemblyFileVersion from 3.9.3147.138 to 3.9.3152.100.
   - Preserve the code integrated by the preceding merge commit.
2026-11-06 11:01:24 +01:00
marekf ae25dde642 Merge branch 'develop/Local-master' into 'develop/SLM-PT50_genesisDirectDecode_mirror' 2026-11-06 11:01:05 +01:00
marekf fa14ba9568 Merge branch 'bugfix/Universal-Paths-duplicate-names' into 'develop/Local-master' 2026-11-06 10:54:00 +01:00
marekf 52a3d21165 <Fix>: Prevent duplicate output path names and handle existing duplicates safely, increase revision to 3.9.3147.138
Cause:

- Duplicate original output path names caused an unhandled dictionary exception when preparing rename or removal warnings.
- Output path name editing allowed duplicate names.
- Saving failures could close the Paths dialog despite unsaved changes.

Solution:

1. Validate output path names
   - Reject empty and duplicate names when confirming edits and before saving.
   - Compare names ignoring case and surrounding whitespace.
   - Show a warning and preserve the previous name when an edit is rejected.

2. Handle existing duplicate names
   - Consolidate removals and resolve renames without duplicate dictionary entries.
   - Preserve test references when the original name still exists.
   - Warn about ambiguous renames and leave affected references unchanged for manual correction.
   - Apply test reference updates from a snapshot to prevent chained renames.

3. Preserve the editing session
   - Keep the Paths dialog open after validation or database save failures.
   - Keep the dialog open when cancelling the save confirmation.

4. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.131 to 3.9.3147.138.
2026-11-06 10:43:55 +01:00
michal a1f40b3e61 fix(poseidon-reader): handle legacy optical placeholders and standing reads
- Accept observed 0x03 nine-field telegrams with 0hX trailers.
- Add optical packet rejection diagnostics and Poseidon debug logging.
- Cap standing snapshot waits and fail when optical loop cannot start.
- Select Poseidon corrections once per reader family.
- Bump version to 3.9.3183.0.
2026-11-06 10:14:12 +01:00
michal 31eb7c2b59 chore(version): bump assembly version to 3.9.3152.0 2026-11-06 08:41:28 +01:00
michal 042a05dd9b fix(camera): use total timeout for JMS image response wait 2026-11-05 16:10:47 +01:00
michal 5882ad63e4 fix(camera): align capture and preview with Data Entry selection
- Filter preview updates to selected cameras and clear disabled streams.
- Skip start/end image grabs for disabled water meters.
- Retry incomplete JMS send acquisitions and extend first-packet timeout handling.
- Show selected camera in image overlay text.
2026-11-05 16:05:42 +01:00
michal 02aff91bb4 feat(water-meter): add IWaterMeterSelection interface and bump version to 3.9.3151.0 2026-11-04 17:02:32 +01:00
michal 41e3b92b75 **feat(camera): enhance camera capture selection and improve JMS image acquisition reliability**
- Introduced `CameraCaptureSelection` for configurable camera capture aligned with water meter selection from Data Entry.
- Added `ApplyLiveStreamSelection` to dynamically update live streams and operator preview based on camera selection.
- Implemented retry logic for JMS image acquisition (`GrabImagesOp`) with up to 3 attempts for robust handling of partial or failed send operations.
- Enhanced preview handling in `PicturesTabPageCtrl` to prevent unselected cameras from overwriting the preview during tests.
- Added `IWaterMeterSelection` interface and integrated it into `EntryForm` to streamline water meter-related decisions.
- Improved logging with detailed information for capture routing and selection logic.
- Added unit tests for `CameraCaptureSelection` to validate behavior in various selection scenarios.
2026-11-04 16:59:39 +01:00
marekf 5950c16dfa <Fix>: Release GCI meter sessions and workers when closing TBF, increase revision to 3.9.3147.137
Cause:

- Closing TBF did not release meter sessions created through the GCI GUI.
- Laatzen keep-session threads could keep the process alive after the main window closed, preventing TBF from starting again.
- A meter disposal failure could interrupt cleanup of the remaining slots and workers.

Solution:

1. Release GCI resources on application exit
   - Dispose GCI diagnostic windows and cancel preadjustment.
   - Clean meter sessions and slot workers even when the bench was never started.
   - Log cleanup failures without skipping other bridge components.

2. Improve cleanup resilience
   - Continue disposing remaining meters if one fails.
   - Release workers and clear slot references even when meter disposal reports an error.
   - Dispose meters outside the batch lock to allow status callbacks during cleanup.

3. Clean resources owned by the standalone GCI view
   - Release its API meter sessions when the view is disposed.

4. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.136 to 3.9.3147.137.
2026-11-04 12:46:19 +01:00
marekf 8e3f498685 <Feat>: Reorganize GCI managers, add parallel scenarios and register value interpretation, increase revision to 3.9.3147.136
Cause:

- GCI tools mixed slot setup, meter actions and diagnostics in a single workspace.
- Operators needed reusable scenarios, explicit port configuration and readable per-meter results.
- Register selectors were not refreshed after initialization, and read values were limited to byte representations.

Solution:

1. Organize the manager workspace
   - Add Slots list setup, Slots manager, WM (Cordonel) manager and Databases manager navigation while retaining the Laatzen API tab.
   - Group related actions, compact and align controls, and provide resizable component pages and per-tab log buffers.
   - Add collapsible Global log, Slots list and Slots threads tools, with log headings and clear buttons.
   - Place a compact Cancel task button in the component header and highlight active cancellation controls in red.
   - Prevent conflicting operations and closing the window while a task is running.

2. Separate slot rows from port configuration
   - Add manual row creation, automatic configured-slot creation and explicit automatic port assignment.
   - Select newly created slot rows and keep their ports empty until configured.
   - Remove automatic port assignment during initialization and obsolete detection columns.

3. Add reusable parallel scenarios
   - Store named scenarios in the local user profile with atomic saving and protection for invalid libraries.
   - Provide a connect-and-login example composed of the original individual bridge operations.
   - Execute steps sequentially within each meter and concurrently across selected meters, preserving failure cleanup and cancellation.
   - Display one complete result block per finished meter, with method details on single lines and masked passwords.
   - Keep live progress in the compact action table with full-text tooltips.

4. Improve register access and value conversion
   - Refresh register lists when opening Registers or expanding a selector while preserving valid selections.
   - Separate read and write controls and debounce live input validation.
   - Add automatic or explicit scalar, text and byte interpretations, Decimal/Hex/Binary display and selectable byte order.
   - Reinterpret the last read value without repeating meter communication.
   - Convert write input to the register type with a visible preview, range validation and exact-width checks for hexadecimal bytes.

5. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.135 to 3.9.3147.136.
2026-11-04 12:33:42 +01:00
michal ebc954546d **refactor(ui): simplify display text formatting and add alias for CalibrationTemperatureInput**
- Simplified display text formatting in `TestStartEndForm` by removing unnecessary date and time information.
- Added an alias for `CalibrationTemperatureInput` in `GciBridge` for improved code clarity.
2026-11-04 10:55:18 +01:00
michal 473efbcd1d feat(camera): enhance live stream recovery and timeout handling 2026-11-04 10:43:46 +01:00
michal 68cb37ad5d chore(version): bump assembly version to 3.9.3150.0 2026-11-04 08:55:34 +01:00
michal c6d7e3b85f **feat(camera): enhance live stream recovery and timeout handling**
- Introduced `LiveStreamSupervisorAsync` to enable automatic recovery of camera live streams after disconnections or failures.
- Added timeout handling improvements to `CameraLineReader` to prevent indefinite blocking during TCP half-open states.
- Enhanced live stream cleanup logic with graceful shutdown and transport fault recovery.
- Introduced new integration tests for live stream recovery covering manual power cycles, transport failures, and communication resilience.
- Improved logging with additional diagnostic information to monitor recovery and live stream status.
- Updated data entry logic to keep selections auditable with detailed logging.
- Added support for simulating transport failures in hardware tests to verify recovery behavior.
2026-11-04 08:55:00 +01:00
michal d69d9e1839 **chore(build): update AppDiagnostic project reference and post-build event**
- Added `AppDiagnostic` project reference with `ReferenceOutputAssembly` set to false in `TBF.csproj`.
- Updated `PostBuildEvent` to use the relative AppDiagnostic path for improved flexibility.
2026-11-03 09:25:55 +01:00
michal 4fbbbb1a5a feat(camera): simplify display text to exclude date and time in TestStartEndForm` 2026-11-03 08:42:10 +01:00
michal 6671da499d feat(camera): add SendImagesParameters for JMS operations and improve ROI handling 2026-11-03 08:03:35 +01:00
marekf a19ba2e2b7 <Feat>: Add GCI slot cell selection, bulk clipboard actions and SkeletonKey export, increase revision to 3.9.3147.135 2026-11-03 00:47:23 +01:00
marekf 723b17cf8e <Feat>: Add GCI database managers and configured slot port defaults, increase revision to 3.9.3147.134 2026-11-02 22:53:20 +01:00
marekf 57d7c733f0 <Fix>: Preserve operator GCI configuration during build and runtime synchronization, increase revision to 3.9.3147.133
Cause:

- Newer source configuration and runtime package copy steps could overwrite operator settings in Config/gci_config.json.
- Legacy build file lists could remove the configuration during Clean or Rebuild.

Solution:

1. Preserve destination configuration
   - Initialize gci_config.json from source defaults only when the destination file is missing.
   - Publish new defaults atomically without replacing a concurrently created file.
   - Exclude operator configuration from ordinary GCI, TBF and runtime package copying and ownership cleanup.
   - Resolve script and default configuration paths inside each executing target for reliable Visual Studio builds, with guards for missing scripts and empty destinations.

2. Protect Clean and Rebuild
   - Preserve and restore configuration around CoreClean.
   - Exclude legacy configuration ownership from incremental cleanup.

3. Validation
   - Configuration preservation tests passed for first initialization, newer source defaults, exact bytes and encoding, Clean, Rebuild and incremental cleanup.
   - EnsureGciConfiguration passed for both real project imports with isolated Release destinations and with evaluation-time paths cleared before execution.
   - Runtime synchronization regression tests passed, including preserving customized configuration formerly owned by the runtime manifest.
   - Full application compilation was not rerun for this build-script change.

4. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.132 to 3.9.3147.133.
2026-11-02 22:05:56 +01:00
marekf 84740a2a8b <Feat>: Prefill new UDS reader and writer components with generic SQL templates, increase revision to 3.9.3147.132
Cause:

- New UniDataStorageReader and UniDataStorageWriter components required manual entry of connection strings and query templates without an initial format example.

Solution:

1. Initialize new component configurations
   - Prefill database storage type and a generic Microsoft SQL connection string with Windows authentication, encryption, certificate validation and a connection timeout.
   - Provide a reader SELECT template with QUERYPARAM and explicit placeholder names.
   - Provide writer INSERT, UPDATE and stored procedure templates, selecting Microsoft SQL for new writers.
   - Apply defaults through factory DefaultConfig so persisted component configurations retain their existing values.

2. Validation
   - Standalone compilation of both changed factories passed against existing application dependencies.
   - Reviewed writer template placeholders against the database writer implementation; git diff --check passed.
   - Full application build and interactive UI validation were not performed for this commit. The earlier full build was blocked by missing iPerl/NFC project dependencies.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.131 to 3.9.3147.132.
2026-11-02 20:58:42 +01:00
michal 956a6f7479 feat(camera): add SendImagesParameters for JMS operations and improve ROI handling
- Introduced `SendImagesParameters` class to encapsulate image count and delay logic for JMS `send` operations with validation.
- Updated `GrabImagesOp` to utilize `SendImagesParameters` for improved parameter consistency and readability.
- Added unit tests for `SendImagesParameters` to validate runtime values and ensure normalized behavior.
- Implemented `ReloadCamRoiForCurrentProcedure` in `Camera` to refresh ROI parameters dynamically between image operations, addressing outdated snapshot issues.
2026-11-02 17:05:47 +01:00
michal ddaff94716 Merge develop/SLM-PT50_genesisDirectDecode into ALLY 2026-11-02 11:50:52 +01:00
michal 8e4c0646bb <bugfix> CAMERA JMS - Fix range validation and update version.
- Correct range validation logic in `ProcedureParams.cs` to properly enforce upper limit (5500).
- Bump version to `3.9.3148.0` in `AssemblyInfo.cs`.
2026-11-02 10:39:25 +01:00
michal e0c4699066 feat(data-entry): enhance Poseidon reader integration with improved selection and diagnostics
- Added debug logging for DataEntry sensor selection, auto-read configuration, and timeout handling.
- Refactored reader resolution logic to prevent stale paths and rebuild sparse slot mappings.
- Improved handling of Poseidon family readers with explicit opt-out and legacy position mask support.
- Updated tests to validate Poseidon reader selection, settings preservation, and multi-cycle behavior.
- Revised SmartCommunicationForm to dynamically rebuild layouts when switching reader families.
- Incremented assembly version to `3.9.3182.0`.
2026-11-02 08:25:55 +01:00
michal c712048473 feat: add Poseidon LED3 parser and original iPerl communication route
- Decode legacy 0x03/0x83 optical frames with a 24-bit accumulator
  and 8192 Hz ASIC timestamp
- Buffer fragmented frames and support 7/8-field firmware variants
- Route OriginalIperlCommunication through SmartCommunicationForm
- Add opt-in USB head connectivity and read-only factory ID tests
- Document Poseidon configuration, optical capture and diagnostics
- Remove generated XML documentation from bin/Debug
2026-10-30 14:48:43 +01:00
marekf b4fac428fd <Fix>: Stop pumps through all applicable control paths from the schematic, increase revision to 3.9.3147.131
Cause:

- Switching off a pump symbol changed the control-board output without sending an explicit stop command to its frequency inverter.
- The serial Danfoss driver could discard STOP while another command was pending.
- Mixed relay/inverter tandems did not stop their available inverter.

Solution:

1. Dispatch schematic pump stops on the device thread
   - Send explicit stop commands to inverter pumps addressed by accepted manual route changes, preserving board output control for relay pumps.
   - Handle UniCB and Papouch control boards and attempt all addressed inverter stops before reporting failures.
   - Preserve accepted UniCB manual stops until output transmission so operations in the same tick cannot undo them.

2. Protect stop delivery
   - Allow Danfoss STOP to replace a pending start or setpoint command.
   - Stop each available tandem inverter independently, including mixed tandems and failure of the other inverter.

3. Validation
   - Standalone regression checks passed for stop dispatch, route limits, error isolation, serial STOP priority and mixed tandems.
   - TBF Debug build passed. Physical pump operation has not been verified on the station.

4. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.130 to 3.9.3147.131.
2026-10-30 10:37:06 +01:00
marekf f3ed301419 <Fix>: Disable heat meter support for water meter Release builds, increase revision to 3.9.3147.130
Cause:

- Release builds enabled HEAT_METERS and requested heat meter fields from water meter configuration databases.
- Selecting a procedure failed when the Test table did not contain the HeatMetersPath column.

Solution:

1. Align Release configurations for water meters
   - Remove HEAT_METERS from the Release constants in TBF, Config and Results.
   - Exclude heat meter functionality and its conditional database mappings without modifying the database.

2. Validation
   - Config and Results Release builds passed.
   - Full TBF Release build remains blocked by external RFID/NFC dependency and GCI runtime-copy errors.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.129 to 3.9.3147.130.
2026-10-30 10:17:32 +01:00
marekf 2b23c7c40e <Fix>: Improve results workspace layout controls and card appearance, increase revision to 3.9.3147.129
Cause:

- Changing the results layout required numeric input.
- Mouse wheel adjustments could change values by multiple units.
- Rounded card borders were uneven and overlapped by their contents.

Solution:

1. Add layout sliders
   - Add sliders synchronized with the numeric layout controls.
   - Limit meters per row to 6, keeping 0 for automatic layout.
   - Adjust sliders and numeric controls by one unit per mouse wheel notch.
   - Preserve synchronization when loading saved views or opening child windows.

2. Refine result cards
   - Add smooth rounded corners and a thinner border.
   - Add inner spacing to prevent content from overlapping the frame.
   - Adapt corner geometry and spacing to display scaling.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.128 to 3.9.3147.129.
2026-10-29 18:11:39 +01:00
marekf 7c37491955 <Fix>: Show procedure numbers and optimize Previous Results layout, increase revision to 3.9.3147.128
Cause:

- Previous Results displayed procedure names without their list numbers.
- The Purchase order column occupied unnecessary horizontal space.

Solution:

1. Display procedure numbers
   - Prefix procedure names with the list number in parentheses, followed by a space.
   - Resolve numbers using the procedure name and revision recorded with the batch.
   - Display a dash when the procedure cannot be uniquely identified.
   - Render the number and parentheses in regular black text while keeping the procedure name as a blue link.

2. Optimize column layout
   - Size the Purchase order column to its header and center its contents.
   - Allocate the remaining space to the procedure name.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.127 to 3.9.3147.128.
2026-10-29 17:52:29 +01:00
marekf d20fd21b23 <Fix>: Correct Grundfos pump start and stop telegrams, increase revision to 3.9.3147.127
Cause:

- Start and stop telegrams allocated 17 bytes without reserving two additional bytes for the CRC.
- CRC calculation overwrote the final register, producing incomplete Modbus frames that could prevent the pump from stopping.

Solution:

1. Correct telegram lengths
   - Increase start and stop telegram buffers from 17 to 19 bytes.
   - Preserve all five registers and reserve separate bytes for the CRC.

2. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.126 to 3.9.3147.127.
2026-10-29 17:24:30 +01:00
marekf a79622eb15 <Fix>: Align TBF projects with .NET Framework 4.8, increase revision to 3.9.3147.126
Cause:

- TBF was upgraded from .NET Framework 4.7.2 to 4.8 for Laatzen and GCI compatibility in commit 6199bd48c, while ResultsBrowser remained on 4.7.2 despite referencing TBF.
- Introducing PackageReference for MySql.Data exposed this existing framework mismatch during package restore, producing NU1201 errors.
- Other Framework projects, application startup configurations and the Workplace installation prerequisite still targeted or declared older Framework versions.

Solution:

1. Align project target frameworks
   - Upgrade ResultsBrowser and 36 remaining projects from .NET Framework 4.7.2 to 4.8.
   - Update SDK-style projects from net472 to net48.

2. Align runtime and installation requirements
   - Update 20 application startup configurations to require .NET Framework 4.8.
   - Update the Workplace bootstrapper prerequisite to .NET Framework 4.8.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.125 to 3.9.3147.126.
2026-10-28 14:18:44 +01:00
marekf 488417f0fc <Fix>: Restore database connections with XAMPP MariaDB 10.11, increase revision to 3.9.3147.125
Cause:

- A security vulnerability in the older PHP version required a PHP update. Although updating PHP separately in the existing XAMPP installation was possible, it was complex, so a complete XAMPP update was chosen for simplicity.
- Updating the complete XAMPP distribution also upgraded MariaDB to 10.11, making the database server update a secondary consequence of the PHP security update.

- MySql.Data 6.6.5 failed while loading character sets from MariaDB 10.11, throwing an InvalidCastException when converting DBNull to an integer.
- SessionFactory creation displayed only the outer exception message, hiding the actual connection failure.
- After SessionFactory creation failed, TBF called OpenSession() on a null reference, causing a secondary NullReferenceException.

Solution:

1. Update the MySQL database driver
   - Replace MySql.Data 6.6.5 references with MySql.Data 9.3.0 PackageReference entries across all 15 referencing projects.
   - Enable automatic binding redirects to resolve dependency version differences.
   - Remove the obsolete MySql.Data entry from TBF/packages.config.

2. Preserve database connection errors
   - Include the underlying exception message when reporting SessionFactory creation failures.
   - Propagate startup connection failures to the existing TBF error handler instead of returning a null SessionFactory.
   - Preserve the original exception chain for diagnostics.

3. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.121 to 3.9.3147.125.
2026-10-28 13:26:19 +01:00
marekf 82ffa63591 <Fix>: Automatically skip stalled tank draining, increase revision to 3.9.3147.124
Cause:

- Startup and shutdown draining continued until timeout when scale readings did not decrease.
- Stalled draining required unnecessary operator confirmation.

Solution:

1. Detect stalled draining
   - Monitor fresh, valid readings above each scale's Empty threshold.
   - Detect stagnation after 5 seconds of settling and 5 seconds without sufficient mass decrease.
   - Reset monitoring for invalid, stale or missing samples and new draining phases.

2. Automatically finish draining
   - Skip remaining draining without a confirmation dialog and close all drain valves.
   - Skip the remaining startup draining phase and continue initialization.
   - Continue shutdown after automatically cancelling the remaining draining time.
   - Require fresh scale readings when confirming empty tanks during shutdown.

3. Log automatic skipping
   - Write a warning to the main application log with startup/shutdown context.
   - Include the reason, scale weights, empty thresholds and minimum mass decrease.

4. Increased revision
   - Updated AssemblyVersion and AssemblyFileVersion from 3.9.3147.123 to 3.9.3147.124.
2026-10-28 11:58:52 +01:00
marekf 826bc28fff <Fix>: End startup tank draining after five consecutive empty checks, increase revision to 3.9.3147.123
Cause:

- Startup draining continued for the full configured duration even when all connected scale tanks were already empty.
- The startup sequence did not use the configured empty-weight thresholds to finish draining early.

Solution:

1. Confirm empty tanks during startup draining
   - Require five consecutive checks with fresh, valid mass readings at or below each tank's Empty threshold.
   - Reset the confirmation count when any tank is loaded, a reading is invalid or outdated, or valves are still moving.
   - Use the draining threshold in both phases, including when only the secondary drain valve is open.

2. Finish the entire draining sequence early
   - Close all drain valves after empty tanks are confirmed.
   - Skip the second draining phase when confirmation completes in the first phase.
   - Retain the configured maximum draining time and timed fallback for unsupported tank types.

3. Increased revision
   - Updated TBF AssemblyVersion and AssemblyFileVersion from 3.9.3147.121 to 3.9.3147.123.
2026-10-27 14:47:06 +01:00
michal 7f5649c412 **feat(poseidon-reader): add Native TouchRead support for new HAT devices**
- Introduced `NativeTouchRead` command access mode in `PoseidonCommandAccessMode`, tailored for new HAT devices.
- Implemented `PoseidonNativeTouchReadCommandAccess` for native parameter reading and TouchRead transmissions.
- Added new methods for probing native HAT head identity and factory ID requests for diagnostics.
- Enhanced `PoseidonNa2wSerialTransport` with execution and raw capture of native commands.
- Updated tests to validate `NativeTouchRead` behavior, including transport-level and payload-specific scenarios.
- Revised configuration defaults to accommodate native baud rates and added safeguards for legacy mode mismatch.
2026-10-26 13:09:23 +01:00
michal 741eefb3a1 **feat(database-migration): add RefEnergy column to TestRslt table for MySQL and SQLite**
- Introduced `RefEnergy` column in `TestRslt` table for both MySQL and SQLite databases to ensure compatibility with NHibernate result persistence.
- Updated migration helpers to include `EnsureTestResultHeatColumnsMySql` and `EnsureTestResultHeatColumnsSQLite` methods.
- Added unit test validation to verify the default value of `RefEnergy` in `GenesisRecoveryTests`.
- Incremented assembly version to `3.9.3180.1`.
2026-10-23 14:40:28 +02:00