Refactor boiler control and price logic: Introduce PriceConsts, improve BoilerAction handling with switch, and update namespaces for better structure.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace NordPoolManager.Models.Consts;
|
||||
|
||||
public static class ConversionConsts
|
||||
{
|
||||
public const double MegawattToKilowattDivisor = 1000.0;
|
||||
public const double VatRate = 1.21; // 21% VAT (PVM)
|
||||
public const double EuroToCentsMultiplier = 100.0;
|
||||
public const int PriceDecimalPlaces = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user