|
|
@@ -129,8 +129,8 @@ class SwitchStatusPresenter : BasePresenter<ISwitchStatusView>() {
|
|
|
if (yAxisFlip) {
|
|
|
worldY = backendH - worldY
|
|
|
}
|
|
|
- // todo 随机电机状态
|
|
|
- pt.status = Random.nextInt(2).toString()
|
|
|
+ // 随机电机状态
|
|
|
+ // pt.status = Random.nextInt(2).toString()
|
|
|
val switchStatus =
|
|
|
if (pt.status == "1") CustomSwitchStationLayer.STATUS_ON
|
|
|
else CustomSwitchStationLayer.STATUS_OFF
|