Commit Graph

3037 Commits

Author SHA1 Message Date
302a7a682c verzion upgrade 3.9.2206.0 2026-09-02 15:43:11 +02:00
e4b42b5b51 fix cli poseidon - take values in cycles + tests 2026-09-02 15:40:34 +02:00
234bd39ed5 fix(poseidon): make CLI timeout tests independent of logging
- allow CliRunner to run without an injected logger
- keep CLI diagnostics optional using null-safe logging
- standardize non-zero process failure text as "exit code <n>"
- update Poseidon CLI v2 test expectation to meter type 74
2026-08-31 13:21:24 +02:00
59cd5f9dde fix(morrisville): release 3.9.2205.1 Poseidon CLI diagnostics and results DB migration
- improve Poseidon CLI diagnostics with working-directory, exit-code, stdout/stderr, JSON and NFC/reading validation
- accept decimal dot and comma readings, including valid zero readings
- add reader-cycle, fake CLI, timeout and Poseidon parsing test coverage
- prevent legacy optical-head mode errors from crashing the UI
- add automatic MySQL/SQLite Results DB migrations for MeterTestRslt:
  FlipMode, ExtraDataPath and X1–X9
- add SQLite reference required by the migration helper
- update ReadMe_BugFix version history for releases 3.9.2149–3.9.2205
2026-08-31 13:02:09 +02:00
2fd2697e3b Fix lost 3.9.2204.0 versioning and improve Poseidon CLI diagnostics
- restore the Morrisville release version metadata
- add end-to-end logs for CLI execution, reader state, parsed results,
  and UI updates
- prevent completed Poseidon reads from being started repeatedly in a cycle
- use a fixed CLI directory and reliable working directory
2026-08-28 12:44:42 +02:00
f51fd4709e Bump AssemblyVersion to 3.9.2203.1, update CLI executable in tests, refine SerialPortData default responses, and adjust component name usage in SmartCommunicationSeq. 2026-08-11 11:05:34 +02:00
d5c50189ba Bump AssemblyVersion and AssemblyFileVersion to 3.9.2202.1 2026-07-28 14:03:37 +02:00
5a1db14e2a Added detailed debug logging for CLI command execution and adjusted debug path in SerialPortData. 2026-07-28 14:02:48 +02:00
5ea88265b9 Add GetDescription utility and enhance PoseidonCmdStartStop with refined serial port configuration, new macros, and improved test coverage. Clean up old dependencies and update warning levels. Bump AssemblyVersion to 3.9.2201.1. 2026-06-26 10:33:41 +02:00
2b9a207342 Update AssemblyVersion to 3.9.2200.1, add InternalsVisibleTo for TBFTests 2026-04-20 11:23:40 +02:00
c4b61d885b Add task state tracking and timeout handling to CliRunner, update project files and tests
- Introduced `CliTaskState` and `CliTaskInfo` classes for enhanced tracking of task states.
- Added timeout handling logic to `CliRunner` with methods like `CancelUndoneTasksAsTimedOut` and state refresh.
- Updated `TBF.csproj` to include new classes `CliTaskState` and `CliTaskInfo`.
- Refactored test methods in `CliRunnerTest` and introduced new timeout-related tests in `CliRunnerTimeoutTest` and `CliRunnerTimeoutUnitTest`.
- Standardized code formatting and added minor improvements to logging and task lifecycle management.
2026-04-20 10:57:32 +02:00
06a401a1ff bugFix - Morrisville - SerialNr, WMBegginValue
Add support for `ICommonRegReader` interface, enhance `ISmartReader` functionality, and update water meter state handling logic across multiple classes.
2025-11-21 14:14:23 +01:00
3a2fc50fec PurchaseOrderDialog logger Improvement - WRCSwindon
Add detailed logging for purchase order workflows in `CycleBeginningForm`

- Introduced `log_selected` for enhanced debugging of selected orders, items, and serial numbers.
- Added exception handling and logging for serial number loading.
- Improved visibility into runtime behavior with contextual debug and error logs.
2025-11-21 14:12:12 +01:00
38a58ed8b7 Scale rainnig solution, see:
Inplementing mass collection update.
Update AssemblyVersion to 3.9.2149.4, refactor mass collection sequence in StandingStartMassCollection, extend PoseidonCmd with enhanced configuration and dialog options, and improve task handling and UI automation.
2025-11-19 16:44:21 +01:00
c7cba20de0 Add ReadStableMassOp unit test and enhance MettlerToledo Scale support
- Introduced `ReadStableMassOpTest` to validate mass reading operations.
- Refactored `Scale` to support `ISerialPort` for improved testability.
- Added `SerialPortDevice` and `SerialPortDeviceFake` implementations, with `GetComponent` overload in `Factory`.
- Enhanced `StateMachine` with `InitializeBoardEtc_Fake` for custom setups.
- Updated project files to include new classes.
2025-11-19 16:28:23 +01:00
6311df49c3 Inplementing mass collection update.
Update AssemblyVersion to 3.9.2149.4, refactor mass collection sequence in StandingStartMassCollection, extend PoseidonCmd with enhanced configuration and dialog options, and improve task handling and UI automation.
2025-11-18 10:59:21 +01:00
f1d32a39ba ver 3.9.2149.2 ReadPulses added in Run()
Update AssemblyVersion to 3.9.2149.2 and enhance PoseidonReader with new timing and task-tracking functionality.
2025-11-13 15:58:09 +01:00
224b53f774 Ver 3.9.2149.1 - Update AssemblyVersion and AssemblyFileVersion 2025-11-13 14:39:07 +01:00
1e2777c5e7 Enable ShowDialog for PoseidonCmd, add UI improvements in TestStartEndForm, and introduce new methods for handling reader data and controls. 2025-11-13 14:21:23 +01:00
c3c21649fb new Test method Poseidon => StandingStartMassCollectionPoseidon
Add support for `StandingStartMassCollectionPoseidon` test methods.

- Introduced `Compound`, `HeatMeters`, and `Single` components for `StandingStartMassCollectionPoseidon`.
- Included factories, configuration classes, and test parameters for new test methods.
- Updated `TBF.csproj` to include new files and resources.
2025-11-12 13:42:19 +01:00
99ccabc142 Smart meters support MainWnd dialog (must be finished - mouse right click), test supports Poseidon RegisterReader
Refactor `ISmartReader` and related classes to support `SmartHeadsUni`. Remove redundant `IperlHeadsUni` references and introduce `SmartMeterFlyingStartMassCollection` functionality. Enhance regex-based head position extraction.
2025-11-12 12:34:29 +01:00
f1e6e94450 work backup
- Register Reader Poseidon works
- Smart Form - wrong functionality
- refactoring
2025-11-06 14:11:13 +01:00
320cddb177 compatible version to TBF
Refactor `NfcHanler` namespace to `NfcHandler` and enhance code consistency.
2025-10-29 16:05:21 +01:00
42002e3fa4 iPerl Fixes 2025-10-27 11:49:42 +01:00
77cabfd712 bugfix Parallel CLI Runner 2025-10-27 11:48:22 +01:00
c933e2d759 test disabled 2025-10-27 11:47:38 +01:00
f3f0a46627 improvemnet, Sensus Developer super user added 2025-10-27 11:46:56 +01:00
b5fb4c2947 improvemnet, Sensus Developer super user added 2025-10-27 11:46:34 +01:00
f6cce9df3c bugfix Parallel CLI Runner
Additional needed classes
2025-10-27 11:42:12 +01:00
c0385c0782 bugfix Parallel CLI Runner
Add parallel execution tests and improve cancellation handling in `CliRunner`

- Introduced new tests (`RunMultipleTimesTestProgram_CheckParalelWork` and `RunMultipleTimesTestProgram_CheckParalelWorkCumulative`) to verify parallel execution behavior.
- Enhanced `SendAsync` and `RunAndCaptureJsonAsync` methods in `CliRunner` with `CancellationToken` support for better task cancellation.
- Refactored process output handling for improved clarity and robustness.
- Added error handling during CLI logger initialization.
2025-10-27 11:38:43 +01:00
db43bdb652 FlowMeter improvement
Add `FromDescription` check in `ParseFlowUnit` for better unit parsing
2025-10-27 11:29:58 +01:00
6bdc10f4a7 Merge branch 'master-3' into feature/SmartMeters 2025-10-22 14:37:04 +02:00
9692dc7f4f HeatMeter - columns exchange
Update `ProcedureDlg` to fix `MetersPath` ordering and version bump to 3.9.2149.0
2025-10-22 12:18:01 +02:00
6795793858 Update iPerlReaderUNI configuration handling and validation
- Replace `PoseidonReader.IPerlCfgCtrl` with `RegisterReaders.iPerlReaderUNI.IPerlUniCfgCtrl` for proper configuration control.
- Add null-check and error handling in `ComponentsManagerDlg` to ensure valid default configurations.
- Mark `ITestParams` as `[XmlIgnore]` in `IPerl` configurations to avoid serialization issues.
- Minor import adjustments and functionality improvements for TestMethod classes.
2025-10-21 10:06:29 +02:00
a2c564d789 polishing - work now 2025-10-18 09:59:07 +02:00
3bc9e731e8 Move iPerlReaderUNI.communication components to CommonRR.IPerl.communication and rename associated classes for clarity and consistency. 2025-10-14 14:20:26 +02:00
95c5f09238 Working NfcC7_DLL, tests, clean up
"Remove unused NfcHanler classes and utilities"

This commit deletes several obsolete and unused files from the NfcHanler directory, including utility classes, enums, and a large command handling class. This cleanup improves code maintainability by eliminating unnecessary dependencies and clutter.
2025-10-14 13:15:31 +02:00
0a45d66c0b Add SerialFirmwareDownloadTask to NfcC7_DLL for firmware upgrade handling 2025-10-09 11:01:08 +02:00
96408eaef3 Merge branch 'master-3' into feature/SmartMeters
# Conflicts:
#	NfcC7_DLL/Properties/AssemblyInfo.cs
2025-10-06 11:16:36 +02:00
cae3ca7cdf HEAT_METERS enabled 2025-10-03 09:59:44 +02:00
c8adc093e0 NfcC7_DLL bug fix 2025-10-02 13:34:29 +02:00
4395516216 test project 2025-10-02 13:30:59 +02:00
9281b52464 Poseidon DLL - Comunication Implementation - not finall 2025-10-02 13:28:37 +02:00
6571de7c32 Add NfcC7_DLL project with initial implementation and solution integration 2025-09-29 09:58:09 +02:00
a75d66e028 Merge branch 'refs/heads/master-3' into feature/SmartMeters
# Conflicts:
#	TBF.sln.DotSettings.user
2025-09-27 10:27:40 +02:00
e839148a6f Ignore .DotSettings.user file 2025-09-27 10:05:09 +02:00
65b502a9b1 Remove TBF.sln.DotSettings.user file 2025-09-27 09:54:47 +02:00
9cde62b2e2 packages added to git
Add `System.Net.Sockets.xml` documentation for zh-Hant locale in `netstandard1.3` API reference.
2025-09-27 09:53:21 +02:00
cc86c38246 Update user credentials in Utils.cs 2025-09-26 16:22:00 +02:00
357df87f49 feature/Enhanced_Writer_NoSeparator_AndName 2025-09-26 15:10:34 +02:00