1# class 2 3## Description 4 5A trust group determination class that implements a way to check a group of fan 6sensors trust state. Each of these 'classes' override a required function that 7determines if the group is trusted by checking each fan sensors listed within 8the trust group against an algorithm that returns whether they can be trusted or 9not. 10 11## Attribute Value(s) 12 13- `NonzeroSpeed` 14 - Determines if the group is trusted by checking if any sensors in the group 15 has a nonzero speed. If all sensors report zero, then no sensors in the 16 group are trusted and therefore monitoring of all the sensors in the group 17 is canceled. 18 19## Example 20 21<pre><code> 22{ 23 "sensor_trust_groups": [ 24 { 25 <b><i>"class": "NonzeroSpeed"</i></b>, 26 "group": [ 27 { 28 "name": "fan0_0" 29 }, 30 { 31 "name": "fan1_0" 32 }, 33 { 34 "name": "fan2_0", 35 "in_trust": false 36 } 37 ] 38 } 39 ] 40} 41</code></pre> 42