kykc / MsiFanControl

Fan control utility for MSI laptops
MIT License
37 stars 8 forks source link

Implement ability to view current active profile and its properties #4

Closed kykc closed 7 years ago

kykc commented 7 years ago

Subj

kykc commented 7 years ago

Maybe I should implement some kind of "model" here and use it to both write/change and read/view values of different modes/profiles

kykc commented 7 years ago

Model is done for advanced mode. Viewing of advanced profile can be easily implemented. I think each model of each mode must simply override ToString method and generate its human-readable text representation.

kykc commented 7 years ago

Still, I'll need to decode current values for mode and basic mode value.

kykc commented 7 years ago

I think current profile output would be good after any change

kykc commented 7 years ago

In this case all control value switches can be made optional. msifancontrol advanced will just change mode. If cpu option is provided, it will change those values too. If profile is printed afterwards, this would be rather clear I think