You are on page 1of 2

 1.

If (SENSOR_CAHAYA is GELAP) and (SENSOR_PAKAIAN is BASAH) then


(MOTOR is TUTUP)(KIPAS is BERPUTAR) (1)
 2. If (SENSOR_CAHAYA is GELAP) and (SENSOR_PAKAIAN is LEMBAB) then
(MOTOR is TUTUP)(KIPAS is BERPUTAR) (1)
 3. If (SENSOR_CAHAYA is GELAP) and (SENSOR_PAKAIAN is KERING) then
(MOTOR is TUTUP)(KIPAS is BERHENTI) (1)
 4. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is BASAH) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 5. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is LEMBAB) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 6. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)(KIPAS is BERHENTI)
(1)
 7. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is BASAH) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 8. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is LEMBAB) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 9. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)(KIPAS is BERHENTI)
(1)
 10. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is
TIDAK_HUJAN) and (SENSOR_PAKAIAN is BASAH) then (MOTOR is
SETENGAH_TERBUKA)(KIPAS is BERHENTI) (1)
 11. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is
TIDAK_HUJAN) and (SENSOR_PAKAIAN is LEMBAB) then (MOTOR is
SETENGAH_TERBUKA)(KIPAS is BERHENTI) (1)
 12. If (SENSOR_CAHAYA is MENDUNG) and (SENSOR_HUJAN is
TIDAK_HUJAN) and (SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)
(KIPAS is BERHENTI) (1)
 13. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is BASAH) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 14. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is LEMBAB) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 15. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is HUJAN) and
(SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)(KIPAS is BERHENTI)
(1)
 16. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is BASAH) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 17. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is LEMBAB) then (MOTOR is TUTUP)(KIPAS is BERPUTAR)
(1)
 18. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is GERIMIS) and
(SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)(KIPAS is BERHENTI)
(1)
 19. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is TIDAK_HUJAN) and
(SENSOR_PAKAIAN is BASAH) then (MOTOR is BUKA)(KIPAS is BERHENTI) (1)
 20. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is TIDAK_HUJAN) and
(SENSOR_PAKAIAN is LEMBAB) then (MOTOR is BUKA)(KIPAS is BERHENTI)
(1)
 21. If (SENSOR_CAHAYA is TERIK) and (SENSOR_HUJAN is TIDAK_HUJAN) and
(SENSOR_PAKAIAN is KERING) then (MOTOR is TUTUP)(KIPAS is BERHENTI)
(1)

You might also like