luishenriique

rules SE

Jun 13th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. rule "ramMF"
  2. when Computador( hasVideo == false && boots == false && restarting == true && nBips == 3)
  3. then Main.addProblem("RAM defective or unplugged");
  4. end
  5.  
  6. rule "vgaMF"
  7. when Computador( hasVideo == false )
  8. then Main.addProblem("VGA malfunction");
  9. end
  10.  
  11. rule "serialMF"
  12. when Computador( keyboardMF == true || mouseMF == true)
  13. then Main.addProblem("Serial communication malfunction or component burnt");
  14. end
  15.  
  16. rule "netSlow"
  17. when Computador( networkMF == true && slow == true )
  18. then Main.addProblem("Traffic shaping");
  19. end
  20.  
  21. rule "soundMF"
  22. when Computador( hasSound == false )
  23. then Main.addProblem("Sound driver not found or component burnt");
  24. end
  25.  
  26. rule "soMF"
  27. when Computador( blueOnBoot == true && restarting == true )
  28. then Main.addProblem("SO corrupted");
  29. end
Advertisement
Add Comment
Please, Sign In to add comment