pub type AutomationStates = c_uint;