if switch_id == 开关ID
    if 不符合的条件1
      next
    end
    if 不符合的条件2
      next
    end
    ...
end