Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
michal ffdd611c65 **feat(results-db): enhance batch result persistence with detailed diagnostics and improved error handling**
- Added logging for batch state during result persistence in `MainSeq` and `DB` operations.
- Enhanced error diagnostics in `SaveNewBatch` with detailed failure messages and rollback handling.
- Refactored `SaveNewBatch` logic into a core method (`SaveNewBatchCore`) to centralize error handling.
- Prevented loss of database context by preserving concrete error reasons and improving logging granularity.
2026-10-23 13:21:26 +02:00
michal 86dce57d0e Use Poseidon designer dialog for bulk editing 2026-10-23 12:24:15 +02:00
michal 1c1b1c5b4f Support PoseidonReader bulk configuration editing 2026-10-23 09:01:08 +02:00
michal ebaee57d33 **feat(resources): add localized strings for bulk editing, optical data handling, and reader group management**
- Added new localized string resources for bulk edit operations.
- Included additional strings related to optical data processing and diagnostics.
- Introduced strings for managing reader group configurations and their associated tooltips.
2026-10-22 19:08:58 +02:00
michal 9299d97406 Regenerate SmartCommon resource accessors 2026-10-22 18:59:16 +02:00
michal 7ac46561e4 Remove duplicate SmartCommon resource properties 2026-10-22 15:46:08 +02:00
michal 8e5e63da90 Merge branch 'refs/heads/develop/SLM-PT50_genesisDirectDecode_ALLY' into develop/SLM-PT50_genesisDirectDecode_ALLY_bulkEditation
# Conflicts:
#	TBF/Resources/Strings.cs.resx
#	TBF/Resources/Strings.resx
#	TBF/Resources/Strings.sk.resx
2026-10-22 15:32:42 +02:00
michal e33ac238d8 **feat(asic-reader): add head configuration control and enhance baud rate customization**
- Introduced `AsicReaderHeadCfgCtrl` as a new UserControl for head profile selection and baud rate configuration.
- Added UI components for direct radio, RFID service, and optical baud rate settings.
- Supported predefined and custom ASIC head profiles for flexible baud rate management.
- Updated project structure and embedded resources to include new files for the control.
- Incremented assembly version to 3.9.3179.0.
2026-10-22 11:02:35 +02:00
michal fc9b3e39ee Add MSTests for GCI legacy compatibility 2026-10-22 09:05:05 +02:00
michal 25c57ea3e5 Compile legacy Laatzen compatibility extensions 2026-10-22 08:08:51 +02:00
michal fd9d09cf25 Add compatibility for legacy Laatzen APIs 2026-10-22 07:47:43 +02:00
michal ec38ad897d Do not require local Laatzen runtime source 2026-10-21 22:05:59 +02:00
michal 63839ed44d Fix direct calibration temperature contract 2026-10-21 21:56:52 +02:00
michal 402dd39f34 Fix Laatzen runtime reference preparation 2026-10-21 21:37:55 +02:00
michal 41e76c7128 Merge branch 'develop/SLM-PT50_genesisDirectDecode' into develop/SLM-PT50_genesisDirectDecode_ALLY
# Conflicts:
#	Results/DB.cs
#	Results/Entities/helpers/DatabaseMigrationHelper.cs
#	TBF/Build/CopyGci.targets.xml
#	TBF/Properties/AssemblyInfo.cs
#	TBF/Resources/Strings.cs.resx
#	TBF/Resources/Strings.de.resx
#	TBF/Resources/Strings.es.resx
#	TBF/Resources/Strings.fr.resx
#	TBF/Resources/Strings.it.resx
#	TBF/Resources/Strings.pl.resx
#	TBF/Resources/Strings.resx
#	TBF/Resources/Strings.ro.resx
#	TBF/Resources/Strings.ru.resx
#	TBF/Resources/Strings.sk.resx
#	TBF/Resources/Strings.zh-CN.resx
#	TBF/Rig/Sequences/MainSeq.cs
#	TBF/TBF.csproj
2026-10-21 18:50:27 +02:00
michal c25587257d fix(smart-reader): preserve manual optical stream ownership during delayed port identity initialization
- Added `HasOwnedManualOpticalStream` method to ensure manual stream state remains valid regardless of port identity delays.
- Refactored `EnterManual` calls to use the new ownership check.
- Updated tests to verify manual stream ownership handling during transient states.
- Incremented assembly version to 3.9.3178.1.
2026-10-21 12:25:11 +02:00
michal 0603052d03 feat(asic readers): add head profile and custom baud rate support
- Introduced `AsicHeadProfile` to support old, new, and custom ASIC head configurations.
- Added custom baud rate fields for direct radio, RFID service, and optical communication.
- Enhanced `AsicReaderCfg` with profile-based baud rate management via `ApplyHeadProfile`.
- Updated UI with head profile editor, dynamic baud rate configuration, and validation logic.
- Adjusted reader initialization and tests to incorporate profile-based baud rate settings.
2026-10-21 11:48:13 +02:00
michal 64235d0071 feat(poseidon reader): integrate optical test mode and improve standing snapshot handling
- Added `SetStandingOpticalMode` to manage optical test mode transitions for Poseidon readers.
- Enhanced `SmartReader` to toggle test mode before and after optical data capture, ensuring proper mode cleanup.
- Introduced helper method `IsSuccessfulStandingModeResult` to validate optical mode transition responses.
- Updated `TestStartEndForm` to use a new `CreateRegisterReadWatchdog` method for non-designer timer instantiation.
- Expanded unit tests to validate optical mode transitions and standing mode result behaviors.
- Bumped assembly version to 3.9.3177.4.
2026-10-20 16:28:04 +02:00
michal cde72172f2 feat(data-entry, poseidon): enhance modeless dialog handling and add non-finite value sanitization
- Introduced `BeginOpenDialog` for asynchronous WinForms dialog initialization, improving UI responsiveness in `EntryFormNoStartEnd`.
- Added `SanitizeNonFiniteMeterResults` in `DB` to replace NaN/Infinity values before batch persistence, ensuring database compatibility.
- Enhanced `SmartReader` with semaphore-based synchronization for data entry snapshots and direct serial number extraction logic.
- Applied refined error handling for Poseidon optical measurements in `StandingStartMassCollectionSeq`.
- Expanded test coverage with `ResultsDbNonFiniteValueTests` to validate non-finite value sanitization.
2026-10-20 14:07:06 +02:00
michal 6eeaa113f5 feat(poseidon communication): add V1 diagnostic frame support for C3/C4 data handling
- Introduced support for V1 optical diagnostic frames (C3/C4) with separate processing to prevent interference with metrology data.
- Added `DiagnosticTelegramReceived` callback in `OptoHeadService` for detailed logging of V1 frames.
- Enhanced `PoseidonOpticalLineParser` to parse and handle C3 calibration factors and C4 auxiliary ADC values.
- Implemented a new diagnostic logging method in `SmartReader` for V1 telegrams.
- Extended test coverage with new cases to validate C3/C4 frame parsing and diagnostic handling.
- Bumped assembly version to 3.9.3176.0.
2026-10-19 15:12:23 +02:00
michal 1b678a5b4a feat(poseidon communication): add C2 metrology support and improve optical data handling
- Introduced `WaterMetrologyData.FromC2` to support legacy C2 metrology payloads.
- Updated protocol profiles to handle C2 message types (`0xC1`) in optical communication.
- Refactored `OptoHeadService` and `SmartReader` to process both C2 and C7 datasets.
- Streamlined optical telegram buffering and applied enhanced metrology data selection logic.
- Improved flow rate and metrology time calculations for C2 compatibility.
- Bumped assembly version to 3.9.3175.0.
2026-10-19 13:19:42 +02:00
michal 6a62ca6c49 fix(poseidon corrections): strip diagnostic annotations from serial numbers
- Added `ExtractSerialNumber` helper to remove diagnostic information from serial numbers appended by the direct protocol formatter.
- Updated serial number handling to ensure persistent fields and exported results remain clean.
2026-10-19 11:02:53 +02:00
michal 246d6082d7 feat(poseidon communication): refactor SmartCommunication system with NA2W direct command enhancements
- Replaced legacy worker-thread structure with a single-threaded command scheduler for improved resource handling.
- Added support for retries and delays between direct NA2W commands with enhanced error logging.
- Enabled integration of shared SmartCommunicationForm for better operator visibility and control over direct communication tasks.
- Consolidated redundant logic for optical capture and data stream operations into reusable components.
- Published new Poseidon activities with public identifiers to streamline task configuration.
- Introduced new helper methods and synchronization mechanisms to simplify water meter data mapping and result updates.
- Optimized workflow by embedding inline progress updates for real-time feedback during execution.
- Version bumped to 3.9.3174.0.
2026-10-19 10:12:17 +02:00
michal 40a4546058 feat(poseidon communication): add direct command support with NA2W serial transport and configuration tests
- Introduced `PoseidonNa2wSerialTransport` for raw NA2W command handling without CLI or vendor dependencies.
- Added `PoseidonCommunicationCfg` for direct communication settings, including retries, timeouts, and serial parameters.
- Implemented unit tests to validate configuration and parameter exposure in `PoseidonCommunicationConfigTests`.
- Updated project files to include new Poseidon communication classes and tests.
- Bumped version to 3.9.3173.0.
2026-10-19 07:28:57 +02:00
michal d45cecdea8 feat(poseidon register-readers, ui): enhance PoseidonReader with direct communication support and expanded configuration options
- Replaced legacy `SerialPortData` and `NfcHeadServiceOld` with `PoseidonCommandAccessFactory` for improved direct communication.
- Added new configurable parameters for direct raw capture, baud rate, timeout, and retries in `PoseidonCfgCtrl`.
- Introduced measurement configuration support in the UI with a dedicated tab.
- Expanded localized resource strings for multiple languages to include direct communication labels and tooltips.
- Updated logging configuration to include a new appender for `PoseidonDirect` communication.
- Refactored code to remove obsolete elements and improve UI consistency.
2026-10-18 13:30:29 +02:00
michal d43bfadcd8 feat(ui): add bulk parameter editing for component configurations
- Introduced `BulkComponentParametersDlg` to support simultaneous parameter updates for selected components.
- Added context menu in `ComponentsManagerDlg` with bulk edit and copy column options.
- Updated resource strings for localization of bulk editing actions and tooltips.
- Enhanced UI controls to handle mixed values, validation, and conditional updates efficiently.
- Included new providers (iPerl and WaterMeter) for bulk parameter management.
2026-10-15 12:03:13 +02:00
michal 9cb0b5a388 feat(register-readers): improve CLI logging, add fallback support, and enhance test coverage
- Introduced configurable CLI logging path for better debugging (`PoseidonReader` and `CliRunner`).
- Implemented legacy CLI fallback mechanism in `SerialPortData` with compatibility validation.
- Enhanced logging granularity for CLI operations including outputs, errors, and task details.
- Added new test cases to validate default CLI configuration and fallback logic.
- Updated assembly version to 3.9.3170.0.
2026-10-13 12:42:56 +02:00
michal 16a1ed5173 feat(ui, asic): enhance logging configuration and streamline group management
- Added new localized resource strings for optical and group-related configurations.
- Refactored `AsicReaderLogsCfgCtrl` and `AsicReaderCfgCtrl` to utilize shared components for consistency.
- Simplified UI initialization with dock-based controls for better layout management.
- Removed legacy code and unused designer elements to improve maintainability.
2026-10-13 12:12:49 +02:00
michal d4ed5437d9 feat(register-readers, ui): implement group-based presets and concurrency controls for scheduling
- Added `GroupPresetConcurrency` to `AsicReaderCfg` for explicit group-based execution.
- Updated `RegisterReaderGroupScheduler` to support parallel and serial processing based on approved presets.
- Expanded resource strings with localization for group-related features and tooltips.
- Enhanced UI components in `AsicReader` for improved user configuration and diagnostics.
- Refactored designer code to improve readability and ensure compatibility with runtime setup.
2026-10-13 10:37:30 +02:00
michal 4936afbc52 feat(ally, asic): introduce group-based command scheduling with enhanced parallelism and locking
- Added group-based scheduling to RegisterReaderGroupScheduler to optimize calibration and batch processing.
- Introduced `Group1` and `Group2` configuration for logical lanes and batches in `AllyReaderCfg` and related classes.
- Enhanced `AllyReaderCfgCtrl` with UI changes for group settings and optical head presets.
- Updated `AllyMeterReader` and other components to utilize group settings and locking for shared resources.
- Revised test cases to cover group-based parallelism and new execution logic.
- Bumped version to 3.9.3169.0.
2026-10-09 18:26:48 +02:00
michal e58fc73d5d fix(writer): backport XLSX batch export optimization from 3e1240c0e
- Load the workbook once and save once per batch
- Publish through a temporary file to protect existing output
- Discard buffered changes on failure or cancellation
- Preserve standalone writes, CSV exports and result row views
- Add regression tests for batch exports and failure scenarios
- Keep the current application version and ALLY/ASIC behavior unchanged

Source: 3e1240c0ea
2026-10-09 11:23:09 +02:00
michal 0e98cf23e5 chore(version): bump version to 3.9.3167.0 in AssemblyInfo.cs 2026-10-09 10:30:22 +02:00
michal 1a5a4d6faf fix(ally): fix lock to continue on work if not COM port exist
add recoverable optical start handling with lifecycle logging and test coverage

- Introduced `RecoverableAllyStartOp` adapter to handle recoverable errors during optical measurement start.
- Enhanced `FlyingStartMassCollectionSeq` with improved error recovery and control transfer logic.
- Updated `AllyMeterReader` to expose `MeasurementStartFailed` for error evaluation.
- Added comprehensive test cases for recoverable and successful optical starts.
2026-10-09 10:26:57 +02:00
michal ae7b46baed feat(core): add ResultOutputJob and improved output processing logic in MainSeq
- Introduced `ResultOutputJob` class to handle result delivery with enhanced thread safety and logging.
- Updated `MainSeq` to manage output jobs independently and ensure fault tolerance for multiple outputs.
- Added cancellation and timeout handling for result outputs with detailed status reporting.
- Improved user interaction for stopping output processing during runtime.
2026-10-09 08:24:49 +02:00
michal 503a84bb93 fix<backup logging>: log can wotk if test working, but take only snapshot 2026-10-08 16:01:20 +02:00
michal 99fda000d2 feat(ui): enhance DataBackupForm with path copy features and improved file handling
- Added tooltip and double-click functionality to copy file paths to the clipboard.
- Implemented "Copy backup file" button with custom drawing and clipboard integration.
- Improved status updates and error handling for clipboard operations.
2026-10-08 15:50:09 +02:00
michal 43a5e1bd0e feat(ui, asic): add Data Backup UI, new optical volume tests, and enhanced batch handling for ASIC readers
- Introduced `DataBackupForm` UI for streamlined data backup functionality with language localization and preferences support.
- Added detailed tests for optical volume handling: FlyingVolume with signed modulo handling, reverse boundaries, and unwrapping.
- Enhanced batch processing with robust error handling for ASIC optical measurements.
- Updated `MainWnd` with menu integration for data backup access.
2026-10-08 11:26:50 +02:00
michal 1932e6f4fc feat(asic, ally): add detailed optical measurement logging with configuration diagnostics for improved debugging 2026-10-08 09:20:06 +02:00
michal ffd7602a6f feat, fix (asic, ally): CalibFactor, SerialNr, delayed optical start - for flying
functionality with configuration options, UI enhancements, logging updates, and comprehensive test coverage
2026-10-07 19:17:08 +02:00
michal e2e71dfd26 feat(ally): implement FlyingEarlyCapture and batch optical processing for Ally readers with new configuration options, enhanced logging, and comprehensive test coverage 2026-10-07 16:19:32 +02:00
michal e113a29a16 feat(asic): add standing optical read functionality with diagnostic logging, improved rollover handling, and updated test coverage ver 3.9.3161.0 2026-10-07 13:38:56 +02:00
michal d5c4152060 fix(ally): Now Dialog.Closing() will not stop optical stream!
enhance optical lifecycle logging and safeguard manual testing operations
2026-10-07 10:16:37 +02:00
michal 23235626ba chore(build): bump AssemblyVersion and AssemblyFileVersion to 3.9.3159.0 2026-10-06 21:28:33 +02:00
michal 9444959efe feat(asic): add experimental optical processing for ASIC readers with configurable batch handling, UI enhancements, and extensive test coverage 2026-10-06 17:52:33 +02:00
michal 7a10b9f4b6 feat(asic): implement FlyingEarlyCapture for ASIC readers, adding forward optical measurement with configuration options, updates to UI, and full test coverage 2026-10-06 13:18:15 +02:00
michal d440dbcc58 feat(asic): introduce FlyingDrain functionality for ASIC readers, including enhanced measurement handling, new configuration options, and supporting test coverage 2026-10-06 12:25:11 +02:00
michal ae787622d2 feat(build): add picture loading, validation, and error handling; introduce CopyReleasePictures.ps1 for release asset management 2026-10-06 10:00:31 +02:00
michal d248630ddc fix(build): exclude NLog.dll and NLog.xml from common package files; add validation for NLog runtime version in TBF output 2026-10-05 16:54:33 +02:00
michal b15d0a0a08 feat<fix>: add RegisterReaderGroupScheduler and ManualCommunicationGuard to TBF project files 2026-10-05 16:52:56 +02:00
michal 683ca25aaf feat<improvement>: improve COM port lifecycle handling and manual communication guard implementation across ASIC and ALLY readers 2026-10-05 16:52:25 +02:00
michal d3cc50b6e8 <fix> Add NLog binding redirect to App.config for version consistency 2026-10-05 16:49:10 +02:00
michal 8c3c866eff <FIX> GCI: remove unused NLog.Fluent reference from InterfaceGCIToLaatzen.cs 2026-10-05 16:48:30 +02:00
michal 78907de455 Merge updated TBF into ALLY_update while preserving ASIC/ALLY workflows 2026-10-05 10:58:44 +02:00
michal 500adfa789 Merge remote-tracking branch 'private-origin/develop/SLM-PT50_genesisDirectDecode_ALLY' into develop/SLM-PT50_genesisDirectDecode_ALLY 2026-10-05 10:01:06 +02:00
michal 9658fc28bd feat(ally): introduce "additional common parameters" support with comprehensive tests, diagnostics, and enhanced logging 2026-10-05 10:00:54 +02:00
michal 42ad98ab1f feat(ally): introduce "additional common parameters" support with comprehensive tests, diagnostics, and enhanced logging 2026-10-05 10:00:30 +02:00
michal bd0a876b5b <Fix> Merge : Remove unused resource strings and replace project references with DLL references for CordonelPreadjustmentUi. 2026-10-05 09:57:00 +02:00
michal 4cd7867e04 <FIX> otho standing/flying ASIC/ALLY, Com ports loks
`chore: remove IperlHead.cs as part of codebase cleanup`
2026-10-02 11:43:28 +02:00
michal 6560278568 feat(ally): add C1 measurement validation, default scaling, and enhanced error handling with extended test coverage 2026-09-30 21:39:39 +02:00
michal 08a233b2c5 feat(ally): add C1 measurement scaling, update C2 parsing, expand unit tests, and implement configuration enhancements 2026-09-30 10:46:31 +02:00
michal 7aa92d4806 feat(ally): add comprehensive unit tests for Ally optical payloads and protocols, implement new optical codec classes 2026-09-30 07:36:49 +02:00
michal 468bcf786e feat(optical-diagnostics): integrate OpticalTestTrace across test sequences and readers, add diagnostic tracing and enhanced logging 2026-09-29 20:32:34 +02:00
michal 21324985db feat(asic, poseidon): add optical diagnostic logging, enhanced debug controls, and ASIC/Poseidon configuration updates 2026-09-29 12:38:57 +02:00
michal 161b20fea7 fix ally in testing + new head
feat(ally): add extensive integration tests, factory seal unseal verification, baud rate discovery, and optical mode enhancements
2026-09-26 14:37:45 +02:00
michal 58fc16d70b Fix point 4. - take % validation from procedure to Q3 Calib factor CH1-3 verification
Implement error limit configuration for Q3 calibration factors.

- Add default and configurable error limits for Q3 calibration validation.
- Introduce `CalculateQ3CalibrationWithErrorLimits` for flexible validation handling.
- Overhaul Q3 workflow to respect configured limits, with fallback to defaults.
- Extend tests for calibration, including boundary and invalid inputs.
2026-09-24 14:53:49 +02:00
michal e9cda221bb feat(smart-comm): enhance logging, add family selection mask handling, and improve close behavior 2026-09-21 19:23:22 +02:00
michal c6181a76ec feat(asic): implement ASIC reader and test method integration with legacy compatibility, add detailed logging and new unit tests 2026-09-21 14:08:02 +02:00
michal b8f6af7112 Fix point 4. - take % validation from procedure to Q3 Calib factor CH1-3 verification
Implement error limit configuration for Q3 calibration factors.

- Add default and configurable error limits for Q3 calibration validation.
- Introduce `CalculateQ3CalibrationWithErrorLimits` for flexible validation handling.
- Overhaul Q3 workflow to respect configured limits, with fallback to defaults.
- Extend tests for calibration, including boundary and invalid inputs.
2026-09-16 10:23:04 +02:00
michal 1c8d01562f Ally meter integration to test method and unit tests / integration tests supports Ally communication improving
feat(ally): add detailed logging, calibration flow updates, and test communication sequence implementation
2026-09-16 09:30:50 +02:00
michal 684513ee59 Fix Genesis scheduling and synchronization for up to 10 workers 2026-09-10 22:09:30 +02:00
michal 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
michal 88b8bc5534 fix precision correct factor (Mexico), added diff, correction in percentage in Result Configuration 2026-09-07 14:07:07 +02:00
michal 0258e54b4e Poseidon integration fix, ReadMe_BugFix.md actualisation 2026-09-03 10:50:20 +02:00
michal b8e54e1fc9 Poseidon - merge project 2026-09-02 16:18:21 +02:00
michal 8d42232589 Poseidon move from feature/morisville/fix_cli_timeout 2026-09-01 10:27:04 +02:00
michal e4d4d75642 feat(ally): add ASIC-style designer configuration and manual test controls 2026-09-01 09:00:12 +02:00
michal 2b5a0ffe14 Merge remote-tracking branch 'private-origin/develop/SLM-PT50_genesisDirectDecode_ALLY' into develop/SLM-PT50_genesisDirectDecode_ALLY 2026-08-25 14:35:13 +02:00
michal dfa8693be9 Added table columns TestRslt -> ConductMean, .... 2026-08-25 10:38:08 +02:00