Searched refs:powerOffConfig (Results 1 – 1 of 1) sorted by relevance
399 PowerRuleState getPowerOffPowerRuleState(const json& powerOffConfig) in getPowerOffPowerRuleState() argument404 if (powerOffConfig.contains("state")) in getPowerOffPowerRuleState()406 auto state = powerOffConfig.at("state").get<std::string>(); in getPowerOffPowerRuleState()426 if (!powerOffConfig.contains("count") || !powerOffConfig.contains("cause")) in getPowerOffCause()434 auto count = powerOffConfig.at("count").get<size_t>(); in getPowerOffCause()467 getPowerOffAction(const json& powerOffConfig, in getPowerOffAction() argument472 if (!powerOffConfig.contains("type")) in getPowerOffAction()479 auto type = powerOffConfig.at("type").get<std::string>(); in getPowerOffAction()482 !powerOffConfig.contains("delay")) in getPowerOffAction()489 (!powerOffConfig.contains("service_mode_delay") || in getPowerOffAction()[all …]