How to use a rule engine in C # at run time [closed]

1

Let's say that the model is a device (which could be an air conditioner), an actuator (which is responsible for, for example, lowering the temperature) and a sensor (which only takes the ambient temperature).

The idea would be for the user to define their own rules. For example, if the ambient temperature is greater than 28 °, turn the air on and set it to 24 °.

According to vi, there are NRules. But I can not find a clear example of how to define rules at the time of execution by the user.

    
asked by Guido Dicomo 16.05.2018 в 20:25
source

0 answers