====NonZero==== **NonZero** is a //method// (or type) of [[state_rules|rule]] used to assign a [[state|state]] to your asset. ===Parameters=== ^Name^Usage^ |property|The ARDI property to read from| |zero|The state when the property is zero| |nonzero|The state when the property is anything other than zero| ===Notes=== The 'property' value should be the name of an ARDI property found on all of the [[resource|resources]]. When that value is 0, the final state will be taken from the **zero** property. Otherwise, it will be taken from the **nonzero** property. ===Example=== If you're matching with a single value, such as the example below... { "method": "NonZero", "property": "Speed", "zero": "Stopped", "nonzero": "Running" } //The state of this resource will be 'Stopped' when the speed is zero, and 'Running' when non-zero.//