|
@@ -51,7 +51,8 @@ class MainActivity : ComponentActivity() {
|
|
|
Button({ ctrlLockSlotLock(2, false) }) { Text("2-开") }
|
|
Button({ ctrlLockSlotLock(2, false) }) { Text("2-开") }
|
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
|
Button({ ctrlLockSlotLock(2, true) }) { Text("2-关") }
|
|
Button({ ctrlLockSlotLock(2, true) }) { Text("2-关") }
|
|
|
- Spacer(modifier = Modifier.width(10.dp))
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ Row {
|
|
|
Button({ ctrlLockSlotLock(3, false) }) { Text("3-开") }
|
|
Button({ ctrlLockSlotLock(3, false) }) { Text("3-开") }
|
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
|
Button({ ctrlLockSlotLock(3, true) }) { Text("3-关") }
|
|
Button({ ctrlLockSlotLock(3, true) }) { Text("3-关") }
|
|
@@ -69,7 +70,8 @@ class MainActivity : ComponentActivity() {
|
|
|
Button({ ctrlKeySlotCharge(0, true) }) { Text("0-开充电") }
|
|
Button({ ctrlKeySlotCharge(0, true) }) { Text("0-开充电") }
|
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
|
Button({ ctrlKeySlotCharge(0, false) }) { Text("0-关充电") }
|
|
Button({ ctrlKeySlotCharge(0, false) }) { Text("0-关充电") }
|
|
|
- Spacer(modifier = Modifier.width(10.dp))
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ Row {
|
|
|
Button({ ctrlKeySlotLock(1, false) }) { Text("1-开锁") }
|
|
Button({ ctrlKeySlotLock(1, false) }) { Text("1-开锁") }
|
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
Spacer(modifier = Modifier.width(10.dp))
|
|
|
Button({ ctrlKeySlotLock(1, true) }) { Text("1-关锁") }
|
|
Button({ ctrlKeySlotLock(1, true) }) { Text("1-关锁") }
|