Request
I love this project but i'm new at programming c# and i need a simple function.
At runtime i need to upgrade MaxValue of a TimeBasedValue.
How i can accomplish this?
Thank you for your time.
Hey @Blackgordian ! Thank you for the question. I haven't updated the repository for a long time and I just checked the functionality.
There is no proper mechanism to change the MaxValue on runtime, but it can be achieved (please check the basic behavior of the plugin if you anticipate to use it in the way I described below, because it's just an assumption that this won't break anything).
In the EnergySuiteConfig.StoredInfo stored the configuration of the time values and there MaxValue is created and stored. You can directly change the desired time value's MaxValue on this static object.
Thank you again for the question and I'll add it to my todo list of enhancements of the plugin when I come back to it to update.