Commit Graph

220 Commits

Author SHA1 Message Date
ig d93a066b36 introduce S3Utils, WIP 2023-10-02 15:09:40 +02:00
ig bd18082e8b use EmptyIfNull 2023-10-02 15:08:41 +02:00
ig f2c110dad0 Replace UnixTime dependency 2023-10-02 15:08:41 +02:00
ig 3728ae747f Introduce Result<T,E>, an either monad 2023-10-02 15:08:41 +02:00
ig fc77a752b4 add EnsureEndsWith 2023-10-02 15:08:41 +02:00
ig d9c8d3e19a Split NullableUtils.cs into Class and Struct submodules 2023-10-02 15:08:41 +02:00
ig 8d4eadc540 Add SelectMany for IAsyncEnumerable + IEnumerable 2023-10-02 15:08:41 +02:00
ig 3ce40b936a Remove UnixTime.csproj, use DateTimeUtils instead 2023-10-02 15:08:40 +02:00
atef b1d553870e Change from control special error to Detect Alarm States
Add loginfo to toCsv()
2023-10-02 14:49:24 +02:00
Kim 315fab8463 Merge remote-tracking branch 'origin/main' 2023-09-18 13:21:44 +02:00
Kim b727ef765a Checking for loops in foldertree, getting only unique children now.
Small Stability changes to VrmGrabber
2023-09-18 13:21:39 +02:00
atef 9928e732ff Change TimeSinceTOC from Uint16 to TimeSpan 2023-09-18 11:15:18 +02:00
Kim 40535cf0f1 Small changes cleanup for release 2023-09-15 16:59:59 +02:00
Kim 13a2f22e36 Refactored Mailer out of backend into lib. 2023-09-15 16:30:41 +02:00
atef c51250a380 One try catch instead of two for DcDcDeviceRecord Read() 2023-09-12 19:31:39 +02:00
ig 3a61b1e80b Add Zero 2023-09-11 11:33:12 +02:00
Kim 47c8d438d1 Added keys to S3Cmd.cs 2023-09-08 11:52:49 +02:00
atef 80e2f349a7 Clear space 2023-09-07 17:24:13 +02:00
atef c150793c70 Create a StringActive from the limpBitMap
Create SerialNumber and the FW version
2023-09-07 16:39:27 +02:00
atef 993d344918 Change From double to UInt16 2023-09-07 16:38:26 +02:00
atef 1d116a5b33 Delete no needed comments 2023-09-07 13:28:13 +02:00
ig 7ecb6e4607 Introduce VoltageRms and CurrentRms and use them where appropriate 2023-09-01 14:52:09 +02:00
ig 7fc5f80e8c make BatteryStatus nullable 2023-09-01 14:36:50 +02:00
atef 8a0407f538 Use Math.Abs for the signed currents 2023-09-01 14:15:06 +02:00
atef 26422284dd Change from falg to requested 2023-09-01 14:14:34 +02:00
atef 9bbccfd34b Add a Calibration Charge Flag based on the Time Since TOC. 2023-09-01 10:48:44 +02:00
ig 20c3e95666 clean up powers 2023-09-01 10:03:29 +02:00
ig 05f0a7e9f9 convert composite units to records 2023-09-01 09:18:44 +02:00
ig be452d190c "normalize" DcBus 2023-09-01 09:18:43 +02:00
atef 6c2360f0ad Add time to TOC request 2023-08-31 15:16:27 +02:00
ig c955b97c2b remove private constructor, no longer needed bcs of "required" 2023-08-31 13:19:48 +02:00
atef a462ee0610 Change Active Power to DcPower in DcBus 2023-08-31 10:11:02 +02:00
ig 64b64cc1e0 some QOL improvements 2023-08-30 16:50:38 +02:00
ig 005a5460db do not use nullable in operators, .net cannot deal with it yet 2023-08-30 16:49:44 +02:00
ig d09c53ad92 use "required" 2023-08-30 16:47:28 +02:00
ig 71ba569085 remove leftover HeatingCurrent 2023-08-30 15:13:10 +02:00
ig 8596fddb04 if a battery is not reachable, Battery48TlDevices now does not give up and reports the remaining ones instead 2023-08-30 14:50:12 +02:00
atef 72b781a223 Dc Power inherit from Power instead from Ac Power 2023-08-30 13:40:04 +02:00
atef 57c5faf1e6 Add heating power to the average battery. 2023-08-30 13:38:58 +02:00
ig db6fe5ecbf make collector aware of "secret" limp string alarms/warnings (too many broken cells) 2023-08-29 13:57:59 +02:00
ig 728cb7aefb make AmptStatus implement IMppt 2023-08-25 17:15:46 +02:00
ig 418bac6a6a use ToDisplayString() for ToString() as well 2023-08-25 17:12:20 +02:00
ig f8b1d70f79 Add unary - operator for nullable powers 2023-08-25 17:11:41 +02:00
ig 2ace3fad51 "Notify" the Watchdog 2023-08-24 10:03:20 +02:00
ig 664290c44b reorder Topology generation code 2023-08-23 09:23:50 +02:00
ig d731c12f64 add minor error handling in Texblock 2023-08-18 15:57:00 +02:00
ig ed39b8e847 Fix Index out of range in .ToDisplayString() 2023-08-17 08:01:16 +02:00
ig 829732a7ba Introduce AsReadOnlyList extension to cast arrays 2023-08-16 15:14:35 +02:00
ig ea7a13da06 Introduce TextBlock.Empty 2023-08-16 15:13:46 +02:00
ig 2bd20ce4eb Units: create extensions methods for Int32's 2023-08-16 15:12:23 +02:00