Commit Graph

60 Commits

Author SHA1 Message Date
atef d492ff918b Comment Visited parent in toCsv function 2023-10-23 10:37:18 +02:00
atef 88fb93f095 Update Ac3Bus to have on S3 2023-10-03 15:58:33 +02:00
ig 3ce40b936a Remove UnixTime.csproj, use DateTimeUtils instead 2023-10-02 15:08:40 +02:00
ig 3a61b1e80b Add Zero 2023-09-11 11:33:12 +02:00
ig 7ecb6e4607 Introduce VoltageRms and CurrentRms and use them where appropriate 2023-09-01 14:52:09 +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
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
atef 72b781a223 Dc Power inherit from Power instead from Ac Power 2023-08-30 13:40:04 +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 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 2bd20ce4eb Units: create extensions methods for Int32's 2023-08-16 15:12:23 +02:00
atef e9c2e16b5a Add percent in Units 2023-07-10 10:07:00 +02:00
atef e31c40b659 Add Rootnamespace property in project files 2023-07-03 14:59:59 +02:00
atef 7a77982bd2 Delete project refrence SrcGen 2023-06-30 10:31:13 +02:00
ig 5484aea6cb ToStringRounded => ToDisplayString, introduce scientific notation (mW, kW,...) for units 2023-06-27 17:02:56 +02:00
ig 7f97ab8e14 make use of "required" with "init" (.net 7) 2023-06-27 13:14:17 +02:00
atef b5f025dc69 Add toStringRounded 2023-06-23 10:40:11 +02:00
ig 0582b26ec7 do not use common Null device (new for every use), it's ugly but it broke .ToCsv's cycle detector 2023-06-22 10:13:21 +02:00
atef 3e2e3e7190 comment out code generation for units 2023-06-20 15:11:26 +02:00
ig 5aad1c6ddf Add DcPower.Null 2023-06-20 10:23:44 +02:00
ig 4cdfb37e96 Add +- operators to AcPower 2023-06-20 10:23:44 +02:00
ig d701620d34 Units V2 2023-06-20 10:23:44 +02:00
ig 4c76475eac generated Units 2023-06-20 10:23:43 +02:00
ig 249d4e7c31 units v2 2023-06-20 10:23:43 +02:00
ig 36af277559 use Double for Units. DecimalEx lib had too many bugs 2023-06-20 10:23:42 +02:00
Kim fa9d06192d added Grafana 2023-05-11 10:20:47 +02:00
atef d8911a2a3a Add EocReached in the batteries and add percent to the Units 2023-04-20 13:22:41 +02:00
ig a6252895bb Update StatusApi & Units 2023-04-04 10:24:47 +02:00
ig 249254e2e5 add GeneratedCode attribute 2023-03-20 13:27:15 +01:00
ig c3b1484e99 simplify units, give up on idea of automatic aggregation 2023-03-20 13:22:57 +01:00
ig 9d753a8471 Introduce State<T> for Enums 2023-03-09 14:02:02 +01:00
ig 1b9353b1db support UnixTime in Units 2023-03-08 14:17:39 +01:00
ig 7e58b78572 add new Unit: Energy (kWh) 2023-03-08 14:06:39 +01:00
ig 270d78b75f \ => / in *.csproj 2023-03-07 11:18:35 +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
ig b983614cfc Phase => Bus 2023-03-01 10:52:21 +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