Commit Graph

294 Commits

Author SHA1 Message Date
ig 2d242f25b7 Make MbWords writable 2023-03-10 10:12:03 +01:00
ig 9d753a8471 Introduce State<T> for Enums 2023-03-09 14:02:02 +01:00
ig eb73beb1cd Implement failure resilient TCP connections for Adam and AMPT 2023-03-09 13:16:31 +01:00
ig 932f8bdac4 lift AMPT to new StatusApi 2023-03-09 12:40:47 +01:00
ig 2240d3ef47 update EmuMeter to new StatusApi 2023-03-08 14:22:57 +01:00
ig 1b9353b1db support UnixTime in Units 2023-03-08 14:17:39 +01:00
ig 2738fe5aab rename UnixTimeDelta => UnixTimeSpan 2023-03-08 14:09:00 +01:00
ig 7e58b78572 add new Unit: Energy (kWh) 2023-03-08 14:06:39 +01:00
ig 774e7d9110 MbWords => MbRegisters 2023-03-07 11:20:32 +01:00
ig 2fa1009bbd MbWords => MbRegisters 2023-03-07 11:20:04 +01:00
ig 479cdd03ba Introduce Endianness to Modbus lib 2023-03-07 11:19:15 +01:00
ig 270d78b75f \ => / in *.csproj 2023-03-07 11:18:35 +01:00
ig 1e6cb668ec Add Modbus register map doc to EmuMeter 2023-03-07 11:17:59 +01:00
ig 5fb3f23799 use JsonConverterAttribute for Json serialization 2023-03-06 09:52:27 +01:00
ig 94e5496872 implement ToJson() for DeviceStatus 2023-03-02 18:03:10 +01:00
ig 8ae9119858 Round Units to 3 significant digits by default (ToString). Add JsonConverters to generator 2023-03-02 17:15:10 +01:00
atef 19188fa430 Implement IReadOnlyList for State 2023-03-02 15:26:27 +01:00
atef 8c3caa06d5 Introduce number type 2023-03-02 15:22:00 +01:00
atef a3ccd2a537 Add more implicit conversions for State 2023-03-02 15:14:22 +01:00
atef 55048b3f99 lift EmuMeter to new StatusApi 2023-03-01 13:35:33 +01:00
atef be5999e0f0 remove trailing 'require' 2023-03-01 13:23:42 +01:00
atef 6f48b97621 fix some minor csproj settings 2023-03-01 13:23:16 +01:00
ig afe83e943f Phase => Bus 2023-03-01 10:53:34 +01:00
ig fac1a090bf Phase => Bus 2023-03-01 10:52:54 +01:00
ig b983614cfc Phase => Bus 2023-03-01 10:52:21 +01:00
ig 4bf9deffac lift Battery48TL to new StatusApi 2023-03-01 10:41:13 +01:00
ig f5ff1d70a5 remove 'require' again (sigh). It only *seems* to build, but doesnt. we need net7.0 2023-03-01 10:40:25 +01:00
ig 4cb8e9ecfa add more operators to Percent 2023-03-01 10:38:51 +01:00
Sina Blattmann d2e4f93fd1 fix replace, so it works on windows as well 2023-03-01 09:41:49 +01:00
ig d91a4654cd add implicit op for booleans on State 2023-03-01 08:29:36 +01:00
ig 08c747f2ea implement ToString for State 2023-03-01 08:25:23 +01:00
ig f6f4326afa update BatteryStatus to include SOC and Temperature 2023-03-01 08:14:32 +01:00
ig 9bf23f3ec8 add Percent % to Units 2023-03-01 08:14:08 +01:00
ig f1003c2877 implement | (parallel) operator in StatusApi.csproj 2023-03-01 08:07:26 +01:00
ig 2070fce4ec implement | (parallel) operator for all Units 2023-03-01 08:05:57 +01:00
ig a32cf83893 add CreateBinaryOpForProps 2023-03-01 08:04:53 +01:00
ig 476a0a0fe2 rename Ac1 in IAc1Connection to plain Ac 2023-02-26 19:20:43 +01:00
ig d5c5239744 implement operator + for all Units 2023-02-26 19:19:16 +01:00
ig d2bef311c0 Add missing .generated.cs files. 2023-02-26 15:59:55 +01:00
ig e74d94e268 Add missing .generated.cs files. 2023-02-26 15:43:53 +01:00
ig 53737a8e1c Completely rewrite Units.csproj 2023-02-26 15:39:55 +01:00
ig fd1b479783 move Phases from StatusApi.csproj to Units.csproj 2023-02-26 10:38:28 +01:00
ig 1aec8e1fe9 Remove S3 lib 2023-02-25 16:16:12 +01:00
ig aa46ad37b6 app => App, lib => Lib 2023-02-25 16:04:41 +01:00