Commit Graph
290 Commits
Author SHA1 Message Date
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 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 6d007270e8 <Fix>: Update procedure tab caption for heat meters, increase revision to 3.9.3147.120
Cause:

- The procedure editor always displayed the "Water meters" tab caption.
- Selecting "Heat meter" left a misleading caption.

Solution:

1. Display the caption according to the selected meter kind
   - Show "Heat meters" for heat meter procedures.
   - Update the caption immediately when the selection changes.

2. Add localized captions
   - Added translations for all supported UI languages.
   - Preserved "Water meters" for Single and Compound selections.
   - Measurement behavior remains unchanged.

3. Added regression coverage
   - Not filled in.

4. Revision increase — pending
   - Update AssemblyVersion and AssemblyFileVersion from 3.9.3147.119 to 3.9.3147.120 before committing.
2026-10-13 08:41:00 +02:00
marekf 136be96e1b <Feat>: Add customer XML structure mapping support in ResultsWriter, increase revision to 3.9.3145.102
Cause:

- The customer XML format requires batch, DUT, group and test-level metadata.
- ResultsWriter did not provide variables for test position, repetition index, batch duration, DUT test duration or aggregated test statuses.
- Missing WaterMeterData could cause a NullReferenceException while evaluating WM Type.

Solution:

1. Added XML mapping variables
   - Added TestPositionInBatch and TestRepetitionNr.
   - Added BatchTime and TestsTotalTime.
   - Added PassedFromAllTests and PassedFromRepeatedTests.

2. Added hierarchical result evaluation
   - Evaluates the overall PANEL/DUT status from all tests.
   - Evaluates GROUP status from repeated instances of the selected test.

3. Improved meter data handling
   - Made WM Type evaluation null-safe when WaterMeterData is unavailable.

4. Increased revision
   - Updated revision to 3.9.3145.102.
2026-09-04 08:20:50 +02:00
michal f1e6e94450 work backup
- Register Reader Poseidon works
- Smart Form - wrong functionality
- refactoring
2025-11-06 14:11:13 +01:00
michal cae3ca7cdf HEAT_METERS enabled 2025-10-03 09:59:44 +02:00
michal a3613889e1 HEAT_METERS disabled
update `.gitignore` with additional folders and files for better coverage.
2025-09-22 12:25:32 +02:00
michal 7a8bef501a HEAT_METERS enabled 2025-09-19 12:00:59 +02:00
michal 3209ff303c Add support for optional IRegReader parameter in ShowCycleBeginFormOp across multiple DataEntry modules and enhance PoseidonReader with SerialNr handling and simulation mode adjustments 2025-09-08 14:32:49 +02:00
michal bf4fb469da Add initial implementation for AppDiagnostic project
This commit introduces the AppDiagnostic project structure, including core components like `MainForm`, logging utilities (`LogAdapter`, `LogFilter`), and configuration files. It integrates with `log4net` for logging and uses `SharedComponents` for shared utilities.
2025-09-07 22:13:58 +02:00
michal efd0515295 Patch applied - Added new calibration-related properties for IPERL mode, integrated AppDiagnostic functionality into UI, and updated project configuration. 2025-09-07 17:42:26 +02:00
michal a4246c7ea4 user groups based PL_LANG enabled, DB update needed 2024-11-12 09:52:41 +01:00
michal 57c2019405 DB purchaseOrder -> Remove Config Entities - moved into Results 2024-09-02 08:30:34 +02:00
michal a4360f6993 All changes - collect cammera, fixed pictures preview, collecting pictures - 48 meters to grab data 2024-08-30 10:22:57 +02:00
michal a710ab7457 PL lang fix, camera test 2024-03-10 22:25:55 +01:00
michal 5d4c7dfe68 log4net ver 2.0.15 2024-02-12 21:44:42 +01:00
michal 2a94347f3e final modification for AdjustableMeter.cs, Added units A,V ElectricUnits, calculation based on [A] 2024-01-24 17:35:56 +01:00
Milan Hanajik 990b695db6 Bridge.OnFlowDetected(...), Config.Entities.Component.Parameters mapped to VARCHAR(12000), ver. 3.9.2125 2023-11-09 11:59:11 +01:00
Milan Hanajik 4fd9030812 PTest.FlowId, ProfileType.CompoundQ3RQnClass... added, clean-up, DB 3.8 => 3.9, ver. 3.9.2118 2023-11-07 08:49:48 +01:00
Milan Hanajik 0930df5e64 DB 3.7 --> 3.8, IsFromToInPct (unit for Qfrom/Qto) added to Entities.Test, IBenchInfo, ProcessData..., ver. 3.8.2097 2023-09-22 10:01:00 +02:00
Milan Hanajik b67857f658 Access right clean-up for PL. 2023-05-19 15:11:10 +02:00
Milan Hanajik b880b62924 WMChart can plot error limits other then 2% and 5% and qp,qi style hyperbolic error limits, related DB and UI changes, ver. 3.6.2028 2023-03-24 16:43:21 +01:00
Milan Hanajik 6dcd40c640 Profiles: Method added, imp./exp. fixed, Procedures: Selection by profile, Create from profile button, etc, ver. 3.5.1992 2022-11-25 13:59:35 +01:00
Milan Hanajik ac5684a2b5 Config.Entities.OutputPath.RegVPositions added, UI and SequenceBase changes, ver. 3.4.1975 2022-10-28 15:03:58 +02:00
Milan Hanajik 4d0441d9a2 Qfrom, Qto, Volume, TestTime : float -> double, config DB change. 2022-07-06 15:51:48 +02:00
Milan Hanajik 01523d3765 Custom units in MetrologyDlg tabs Balance, FlowMeter, PressMeter and TempMeter, ver. 3.3.1928 2022-06-24 14:36:08 +02:00
Milan Hanajik ae6ee631c6 TBF.UI.Bench.Paths controls support imperial units for flow. 2022-06-03 13:53:57 +02:00
Milan Hanajik 56e519b4e4 Bug fix (Test.TempControl related). 2022-05-31 08:33:39 +02:00
Milan Hanajik f1f662a419 Common..CurrentUser static class with Stack<UserAndForm> userStack, Change( ) and Restore( ). 2022-05-25 15:23:55 +02:00
Milan Hanajik a8ba5d5113 string Test.TempControl and string TestData.TempControl added and used in sequences. 2022-05-13 13:47:53 +02:00
Milan Hanajik f3a61411f5 Default database type is DBType.MySql. 2022-04-05 12:16:17 +02:00
Milan Hanajik 32762f0fdb Bug fix in MeasurementCorrection.GetCorrection( ), ver. 3.1.1853 2022-01-17 12:45:47 +01:00
Milan Hanajik 0f5c4b083d Unit selection in UI.Procedures.ProcedureDlg and UI.Procedures.TestWizard, ver. 3.1.1801 2021-11-09 08:48:27 +01:00
Milan Hanajik 235da5e9e1 Platform target AnyCPU whereever possible. 2021-10-11 13:19:32 +02:00
Milan Hanajik a0aea713b0 Common.Data --> TBF.Data and TBF.DB 2021-09-19 14:44:55 +02:00
Milan Hanajik 709636e82b Common.Data.SampleDensity/Temp/Buoyancy/AdminUsername/AdminPassword --> Common.GlobalData. 2021-09-19 13:34:03 +02:00
Milan Hanajik 827a9f7c58 Changes for Xylem Nanjing, ver. 3.1.1676 2021-06-18 15:35:46 +02:00
Milan Hanajik 3f0124825d WMsCount is 20, the same count as supported by UniCB. 2021-04-19 14:07:18 +02:00
Milan Hanajik a8e808a510 Imperial units, ... 2021-03-29 23:31:21 +02:00
Milan Hanajik c950cc231c ParamValues() retval IList->ICollection, GetControl() arg. is a list of components, ver. 3.1.1598 2021-03-02 01:10:04 +01:00
Milan Hanajik 35815fe78a UniCB DrShp, AltStrings, double Press, new Cfg style, Lbl,Setp,Msrd pos != 0, arrow keys, refactorization, ver. 3.1.1597 2021-03-01 15:22:37 +01:00
Milan Hanajik b5f8d06e5b Database cleanup, columns correctly renamed, DataContainer namespace, etc. 2021-02-24 17:42:50 +01:00
Milan Hanajik fea9b01922 MettlerToledo.Standard.BalanceDev/Old/NewDev clean-up, units (oz), 1st after draining, etc. 2021-02-16 11:40:14 +01:00
Milan Hanajik dd8feaa963 Changes in MainSeq, Procedure, BenchControlPanel, TestProgressControls, etc. 2021-01-25 12:54:16 +01:00
Milan Hanajik 54658bdd38 US and English units added. 2020-09-09 09:06:33 +02:00
Milan Hanajik fcdf1ea16b German resources the same as in branch 2.26 2020-07-08 10:21:06 +02:00
Milan Hanajik d6261e4d80 (1) Units : Quantity.Enumerated added, (2) LoginDlgWithBenchSelection : List of benches is alphabetically sorted. 2020-06-25 12:11:43 +02:00
Milan Hanajik 1f67899a5c Schematic drawing with live function, bench control by mouse, Dijkstra algo, vacuum, etc. 2020-06-14 13:01:53 +02:00
Milan Hanajik 2945049288 Reconfigured for Juzna-Afrika-NEW 2020-06-02 12:02:37 +02:00