Slide 47
Slide 47 text
4 ͷ, Λ ͳͲͷॿࢺεΩοϓ
4 ʮ͚ͭͯʯ͚ͩͰͳ͘ʮ͚ͭ ͯʯͷΑ͏ʹೝࣝ͞ΕΔ͜ͱ
͕͋ΔͷͰɺ྆ํఆٛ
private fun changeAircon(words: List) {
when (words.getOrNull(1)) {
"ͷ", "Λ" -> { changeAircon(words.subList(1, words.count())) }
"͚ͭ", "͚ͭͯ", "͚", "͚ͯ" -> { sendToRemocon(getString(R.string.heat)) }
"͚͠", "͚ͯ͠", "ফ͠", "ফͯ͠" -> { sendToRemocon(getString(R.string.aircon_off)) }
"আ࣪" -> { sendToRemocon(getString(R.string.humid)) }
else -> { return }
}
}
47