Added more commands
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
package com.example.refactoredapp.data.constant
|
||||||
|
|
||||||
|
enum class TestRightCommands(val command: String) {
|
||||||
|
led2Set50("led2 50\r"),
|
||||||
|
led2Set100("led2 100\r"),
|
||||||
|
read("read\r"),
|
||||||
|
autoset("autoset\r"),
|
||||||
|
run("run\r"),
|
||||||
|
printInRange("print 239 2719\r"),
|
||||||
|
printAll("print\r"),
|
||||||
|
}
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
package com.example.refactoredapp.data.model
|
|
||||||
|
|
||||||
//class TestRightCmdConstants {
|
|
||||||
//
|
|
||||||
// companion object {
|
|
||||||
// const val readCommand = "read\r"
|
|
||||||
// const val autosetCommand = "autoset\r"
|
|
||||||
// const val printCommand = "print\r"
|
|
||||||
// const val runCommand = "run\r"
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
//}
|
|
||||||
|
|
||||||
enum class TestRightCommands(val command: String) {
|
|
||||||
read("read\r"),
|
|
||||||
autoset("autoset\r"),
|
|
||||||
print("print 239 2719\r"),
|
|
||||||
print_all("print\r"),
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user