Commit Graph

145 Commits

Author SHA1 Message Date
Milan Hanajik
010afcd1e4 Temperatures are internally stored and processed in double variables (except of ambient temp.). 2016-10-07 15:41:27 +02:00
Milan Hanajik
7df9333fba Statistics return doubles instead of float, casting is done just when writing to entities. 2016-10-07 14:46:14 +02:00
Milan Hanajik
4160420844 Masses are stored in double variables everywhere. 2016-10-07 14:06:54 +02:00
Milan Hanajik
c497c02ef9 Heat meters support for measurement with pulses, change in ResultsDB.MeterTestRslt, ver. 2.10.352 2016-10-06 10:11:13 +02:00
Milan Hanajik
c842c50361 Heat meters evaluation added to FlyingStartMassCollectionSeq and FlyingStartSeq, ver. 2.10.345 2016-08-24 18:30:00 +02:00
Milan Hanajik
e484697f60 Heat meters reference temperature measurement during Data entry form before the test starts. 2016-08-24 15:46:39 +02:00
Milan Hanajik
618f0b1bca Modification of sequences to use ProcessData.TempRefWarm(Cold)1(2) and ReadTempOp operations, ver. 2.10.343 2016-08-23 15:21:33 +02:00
Milan Hanajik
0f7790e538 Prompt message box at the beginning of each heat meters test. 2016-08-22 16:00:48 +02:00
Milan Hanajik
df7631eb3a Units of energy can be selected in DataEntry.HeatMeters12.TestStartEndForm. 2016-08-22 13:55:28 +02:00
Milan Hanajik
d8bb450a2e VolumeForEnergy calculated in [l], ver. 2.10.341 2016-08-22 09:58:27 +02:00
Milan Hanajik
774d47a86f More changes and fixes for heat measurement. 2016-08-21 22:07:20 +02:00
Milan Hanajik
e3318179c1 More changes for heat meters testing, DataEntry form completed. 2016-08-19 17:19:09 +02:00
Milan Hanajik
53ead401d0 FixedStartMassCollection : Changes for heat metetrs 2016-08-19 15:37:16 +02:00
Milan Hanajik
0426d2510a Energy and RefEnergy added to ResultsDB, First/Last/Min/Max of all three ambient values added to TestRslt, ver. 2.10.340 2016-08-19 15:37:00 +02:00
Milan Hanajik
83ddb7c8bf Waiting loop for temperature stability check in heat meters tests. 2016-08-17 18:11:34 +02:00
Milan Hanajik
011219d491 Heat meters test parameters updated. 2016-08-17 16:32:07 +02:00
Milan Hanajik
d4b20876b2 All FixedStart, FlyingStart and FlyingStartMassCollection methods reorganised, common sequences used, ver. 2.9.337 2016-08-17 15:38:09 +02:00
Milan Hanajik
f7a7987831 Configs.NameOnly.TestMethodCfg[Ctrl] introduced and reused by Adjustment, FixedStartAdvanced, ...
... FixedStartCombinedMeters, FixedStartMassCollection, FlyingStart, FlyingStartMassCollection, ReferenceFlowMeterCalibration.
2016-08-15 10:14:14 +02:00
Milan Hanajik
8dae45e10e IComponentCfg and IComponentFactory interfaces and all derived classes modified. 2016-08-05 14:32:36 +02:00
Milan Hanajik
111e3d8647 Minimum and maximum (reference) flow during a test calculated and saved to Results.Entities.TestRslt. 2016-08-02 14:48:18 +02:00
Milan Hanajik
ac1bdbe476 Bug fix: Updating water meter results in case of a test with parts, copes also with single meters/multiple lines. 2016-06-30 14:03:51 +02:00
Milan Hanajik
799fda63e9 Bug fix : Updating water meters results in case of test with 'parts'. 2016-06-30 12:55:35 +02:00
Milan Hanajik
1337fff2dc Fixed: (1) STOP button does not function in FlyingStart and FlyingStartMassCollection methods, (2) Results.Entities.WaterMeterData.Equals(.) 2016-06-15 17:04:25 +02:00
Milan Hanajik
2935bc2c77 Many localisation improvements, ver.2.7.297 2016-05-29 23:17:48 +02:00
Milan Hanajik
9a725de4a9 Stable mass measurement rewritten, it can use immediate measurement, DB change, ver.2.5.265. 2016-04-14 17:03:33 +02:00
Milan Hanajik
e037720115 iPerlST: Logging of a STOP command via UI. 2016-04-14 09:16:20 +02:00
Milan Hanajik
462ed568de Bug fixes: (1) simulation, (2) when BenchInfo==null, (3) ProcessData.RefPulses updated, (4) ProcessTabPages, etc. 2016-02-15 22:48:44 +01:00
Milan Hanajik
edc4d59f90 Process data screen update when test completed, version 2.1.213. 2016-02-13 19:28:33 +01:00
Milan Hanajik
6a159f773e WMPulses[], WMRefPulses[], WMTimes[] removed from SequenceBase, operations, etc., clean-up. 2016-02-13 17:39:38 +01:00
Milan Hanajik
7534fc7c24 Removed WMPulses and WMRefPulses logs. 2016-02-13 08:11:50 +01:00
Milan Hanajik
2c1e4e7d26 Process data display : many changes, TODO: Meter data and the end of test. 2016-02-10 19:24:10 +01:00
Milan Hanajik
3407b51c27 All changes done for Badger-velka-trat merged into this branch, version 2.1.210. 2016-02-07 22:55:48 +01:00
Milan Hanajik
98c8b0e7a8 iPearl debugging, progress management, OracleDB simulation, etc, version 2.1.182 2016-01-09 20:06:59 +01:00
Milan Hanajik
e14dc37060 TestCompletedEventArgs modification 2016-01-04 16:03:17 +01:00
Milan Hanajik
26982a5729 Many changes, new results used, all test sequences modified, simulated tests rewritten. 2016-01-04 13:53:45 +01:00
Milan Hanajik
61bfa51fa7 Uncertainty used when evaluating tests, in TestWizard, UI, etc., version 2.1.171. 2016-01-02 11:11:45 +01:00
Milan Hanajik
bb2087c002 ProcessData base class with 'public static' process data introduced. 2015-12-20 20:48:50 +01:00
Milan Hanajik
f6cec9d769 'Config', 'Results' projects added, includes iPerl opto logging bug-fixes, builds OK, cannot open DB, version 2.0.158. 2015-12-05 14:18:36 +01:00
Milan Hanajik
d7c262c87a Emptying the tank displays remaining time in min and sec. 2015-10-14 15:45:51 +02:00
Milan Hanajik
72754ebe10 Flow control during a test, version 1.5.121. 2015-09-22 18:39:00 +02:00
Milan Hanajik
d7e6a69ca9 StartMeasurementOp interface changed: OutputPath is the first argment 2015-09-22 17:03:26 +02:00
Milan Hanajik
120c1cc39d Remaining test time is shown in minutes and seconds. 2015-09-22 11:35:44 +02:00
Milan Hanajik
d041cd1d20 Evaluate and Publish properties of test methods changed to stateless functions Evaluate(test) and Publish(test), this fixes results, version 1.5.107 2015-09-06 22:21:54 +02:00
Milan Hanajik
33963ec8cf Version 1.5.84. Reading registers, scales, temperature, pressure, ... during test done in one state in the sequence.
Many changes in TestMethods.iPerlCommunication and WaterMeters.iPerl.WaterMeter. iPerl measurement with opto-data works OK.
Logging in State changed, ...
2015-08-19 13:04:47 +02:00
Milan Hanajik
f85fbd0b55 Problems when passing flowmeter/diverter info to test start by SendCommand() fixed, version 1.5.77. 2015-08-14 18:14:08 +02:00
Milan Hanajik
7b902e8ca3 IComponentFactory.DummyComponent() interface function added and implemented in all components. 2015-06-29 11:14:33 +02:00
Milan Hanajik
0cea24246c Error message due to incorrect configuration is cleared after selecting another procedure/test.
Return value from WaitBeginFormClosed(..) changed from bool to enum UIFlowControl.
2015-06-25 04:48:28 +02:00
Milan Hanajik
1e0e3efd5a TimeFlow2Mass used in CombinedMeters flying start method. Code cleanup. 2015-06-02 17:58:42 +02:00
Milan Hanajik
edb6d5e8b6 'EndCondiiton' and 'Communication' added to TransitionStep (transition sequence). TODO: EndConditions functionality, version 1.5.44 2015-05-22 11:21:56 +02:00
Milan Hanajik
cd9042a648 PulsesPerLiter added to Entities.MeterTestResult and to result items. Version 1.4.36
More times added to Entities.Test (TimeBeforeFlow, TimeFlow2Mass, TimeMass2Start, TimeStop2Mass).
Activity display fixed in FlyingStartCollectionMethod.
2015-05-19 15:38:58 +02:00
Milan Hanajik
f37cb57427 Bug fixes 2015-04-29 19:59:21 +02:00
Milan Hanajik
e124f3f406 DataEntry.Standard: Exclamation mark displayed when entering the end-state and volume is out of limit. 2015-04-29 19:03:00 +02:00
Milan Hanajik
305bbe9c6c TestStartForm and TestEndForm are two separate forms. DataEntry.Standard.TestEndForm shows start states. 2015-04-29 15:33:49 +02:00
Milan Hanajik
8391f22f64 Fixed start method: Delay before the 2nd mass measurement and the diverter switchover, etc. 2015-04-28 19:16:54 +02:00
Milan Hanajik
39eb2cfd57 Entry form related improvements / bugfixes (Fixed start collection method related). 2015-04-28 15:27:47 +02:00
Milan Hanajik
be78bb5ce0 Copyright message added to all cs-files 2015-04-15 20:32:56 +02:00
Milan Hanajik
274ab79cb7 DataEntry.Standard supports IHasWMStatesForm interface. Fixed start method should work without register readers (test!). 2015-04-14 07:14:45 +02:00
Milan Hanajik
1698a923bf Bug fix in fixed start method error calculation 2015-04-13 21:23:53 +02:00
Milan Hanajik
1e63ded8e1 MetersKind.Standard in TBF/Entities/Enums.cs reverted to MetersKind.Single 2015-03-25 05:35:05 +01:00
Milan Hanajik
23d5e6d19d Disabled watermeters will not appear in results (screen, ResultsPrinters.Basic and ResultsWriters.Basic).
Updating Disabled (default = false) is provided by DataEntry.Standard when entering serial numbers.
2015-03-25 03:57:46 +01:00
Milan Hanajik
7dce565e4f MetersKind.Single in TBF/Entities/Enuns.cs renamed to MetersKind.Standard 2015-03-25 02:31:28 +01:00
Milan Hanajik
f524186b70 More DataEntry.Standard related changes 2015-03-25 02:14:42 +01:00
Milan Hanajik
dc9577eaa0 Test methods for standard watermeter use IWatermeter.Disabled flag to remove non-existing meter results 2015-03-24 10:11:20 +01:00
Milan Hanajik
c005a5cb26 Solves issue with an opened CycleBeginForm after abort and re-selection in Israel:
- CloseCycleBeginForm() -> WaitBeginFormClosed()
- CloseBeginForm() added to SequenceBase(forced dialog close)
- CloseModellFormHandler added to UiBridge.Bridge
2015-03-01 11:13:26 +01:00
Milan Hanajik
82a72670a6 Remaining time displayed for all tests 2015-02-21 20:03:33 +01:00
Milan Hanajik
0c9408ff64 More configuration checks when starting a test 2015-02-02 23:18:28 +01:00
Milan Hanajik
9bd5fba6dc (1) CycleNr renamed to BatchNr (no DB change) and added to results/logs
(2) Safer result items
2015-02-02 18:10:52 +01:00
Milan Hanajik
e1756f692c Confirmed results to SummaryResults.txt logger 2015-02-02 11:38:42 +01:00
Milan Hanajik
56a9a7cf1b Test results are written into database after confirming with END 2015-02-02 00:08:47 +01:00
Milan Hanajik
ce6214f631 Zapne pumpu pred vypustanim aj pri ostatnych metodach 2015-02-01 19:30:00 +01:00
Milan Hanajik
806f4efe6a Results printing and saving uses Publish property of GenericDevices.ITestMethod 2015-02-01 16:20:27 +01:00
Milan Hanajik
85bb34030a Bugfix in Fixed start method when configuration is NOK, no Dummy RR-s
Bugfix in FIxed start method Entry form when config.is NOK, WM-s are missing
2015-01-27 23:00:42 +01:00
Milan Hanajik
5cf5fe5eba CycleNr added to LocalSettings, Entities.TestResults, Mappings, is used in sequences (DB change) 2015-01-25 08:11:40 +01:00
Milan Hanajik
d3532a2796 PumpFM,pumpTandem test parameter Power replaced by parameter Entities.Test.PumpPower,
all changes done except of UI changes (which can be done in more different ways)
2015-01-17 04:52:42 +01:00
Milan Hanajik
bb31cdae56 Make sure CycleBeginForm is closed before the 1st test ends and s/n is in all results 2015-01-15 06:34:36 +01:00
Milan Hanajik
9c1db2778e Data of all combined meters are used in TestProgressEventArgs, in sequences and the process page 2015-01-15 03:16:14 +01:00
Milan Hanajik
34dc592e59 Timeout while setting the water flow handled correctly: message displayed, test aborted 2015-01-12 05:56:19 +01:00
Milan Hanajik
b79ae4b1aa PumpTandem component added (to be completed), fixes in component config edit controls 2015-01-11 05:06:18 +01:00
Milan Hanajik
de90a4638a Prepared: PID coefficient of the output path is ready to be used,
and not the regul.valve parameter. See  // TODO PID: ...  in source code.
 Database: 'PidCoef' float should be added to 'OutputPath' after col.'FlowMeter'
2015-01-03 21:17:11 +01:00
Milan Hanajik
0160dc965d - RegulValve ADC Open/Close values calibration implemented
- 'More' button added to ComponentCfgCtrl-s
- Dataflow from ComponentParametersDlg to components: CfgChangeHandler
- Dataflow from components to ComponentParametersDlg: CmdResponseHandler
- Detection of parameter changes and appropriate MesssageBox display:
  1.warning message when component configuration change requires program restart
  2.confirmation message box when any configuration changes would be lost
2015-01-03 14:45:58 +01:00
Milan Hanajik
f2005bbf56 Boilerplate code reduced from factories, GetComponent() and GetControl() added to cfg-s 2015-01-02 19:14:19 +01:00
Milan Hanajik
94de991bf6 Everything works OK after serious changes:
- all components, componentCfg-s and parameter providers use base classes
 - less boilerplate code, simpler access to test/procedure parameters from code
 - CreateTestParams(test), CreateProcedureParams(procedure) methods added
 - TestBenchSim class is made static, it is not inheritted by any device anymore
2015-01-02 12:51:27 +01:00
Milan Hanajik
0ac7ba05d6 Methods CreateDbEntity and CreateFromDbEntity moved from XyzCfg to ComponentCfgBase, factories modified accordingly. 2014-12-29 18:33:27 +01:00
Milan Hanajik
930db8c379 - many process tab page improvements
- program start and state changes logging improved
- IDC100 measurement related changes: reference pulses in RegisterReader
- etc
2014-10-02 20:56:24 +02:00
Milan Hanajik
1c34946a6b Bugs in sequences fixed: Missing CheckUiOp 2014-09-26 17:48:55 +02:00
Milan Hanajik
2f6f24e281 As sent to ST for the last test on Fuzhou300 system
- new component with VZ15 and modified position of VZ13
- fixed start method evaluation OK
- handling of entry forms cleaned-up
2014-09-23 13:16:59 +02:00
Milan Hanajik
b1f7730b96 - FixedStartMassCollection method ready to be tested
- FlyingStart method (without mass collection) flow corrections fixed
- DataEntry/WMStates data entry forms added (used by FixedStartMassCollection method)
- minor changes
2014-09-16 21:05:54 +02:00
Milan Hanajik
54ef1e1216 - added BenchControl/Operations/ProcessDataLoggingOp.cs (forgotten in previous commits)
- fixed a bug in displayng results and progress controls when two tests had the same name
- some work on data entry forms for FixedStartMassCollection method - not finished yet
2014-09-16 16:09:07 +02:00
Milan Hanajik
a79be1e07a - bug fixed when component (class) in the DB does not exist in the code
- preparing FixedStartMassCollection sequence
2014-09-16 12:04:08 +02:00
Milan Hanajik
a919a3e9d6 - FLyngStart sequence (without balances) tested -> OK, Todo: use
corrections
- totalPulses calculated correctly in case of I11+I12 (use of two flowmeters)
2014-09-12 07:18:24 +02:00
Milan Hanajik
fcfdfeca41 - COmponent properties 'Position' --> 'Idx0' or 'Idx1'
- process data logging, RegulVal position logging
- changes for I11+I12, NOK yet
2014-09-10 12:05:49 +02:00
Milan Hanajik
d0ebb62ab3 - Component update (temp.)
- Process data logging, first trial
2014-09-09 16:18:23 +02:00
Milan Hanajik
354c13853f All PumpsWithFM are controlled when opening pumps at the test start 2014-09-09 09:14:47 +02:00
Milan Hanajik
6eee83042b PmpWithFM and Transition sequences functionality implemented 2014-09-08 13:16:31 +02:00
Milan Hanajik
f01a0d84fe Folder with files for FixedStartMassCollection (copy of FlyingStart..) added to project, builds OK 2014-09-05 09:06:23 +02:00