mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 修正枚举类对应activity
This commit is contained in:
parent
92718feac1
commit
297b60fa7a
@ -4,6 +4,8 @@ import android.widget.TextView;
|
|||||||
|
|
||||||
import cc.niushuai.project.devcontrol.R;
|
import cc.niushuai.project.devcontrol.R;
|
||||||
import cc.niushuai.project.devcontrol.base.ui.BaseActivity;
|
import cc.niushuai.project.devcontrol.base.ui.BaseActivity;
|
||||||
|
import cc.niushuai.project.devcontrol.ui.custom.DeviceCustomActivity;
|
||||||
|
import cc.niushuai.project.devcontrol.ui.deviceadd.DeviceAddCustomActivity;
|
||||||
import cc.niushuai.project.devcontrol.ui.deviceadd.DeviceAddPowerSwitchActivity;
|
import cc.niushuai.project.devcontrol.ui.deviceadd.DeviceAddPowerSwitchActivity;
|
||||||
import cc.niushuai.project.devcontrol.ui.powerswitch.PowerSwitchActivity;
|
import cc.niushuai.project.devcontrol.ui.powerswitch.PowerSwitchActivity;
|
||||||
|
|
||||||
@ -19,7 +21,7 @@ public enum DeviceTypeEnum {
|
|||||||
* 开关
|
* 开关
|
||||||
*/
|
*/
|
||||||
Power_Switch("Power_Switch", "开关", R.drawable.ic_device_type_switch, DeviceAddPowerSwitchActivity.class, PowerSwitchActivity.class),
|
Power_Switch("Power_Switch", "开关", R.drawable.ic_device_type_switch, DeviceAddPowerSwitchActivity.class, PowerSwitchActivity.class),
|
||||||
Custom("Custom", "自定义设备", R.drawable.ic_device_type_custom, DeviceAddPowerSwitchActivity.class, PowerSwitchActivity.class),
|
Custom("Custom", "自定义设备", R.drawable.ic_device_type_custom, DeviceAddCustomActivity.class, DeviceCustomActivity.class),
|
||||||
;
|
;
|
||||||
|
|
||||||
private String value;
|
private String value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user