starwork_flutter/lib/views/device/deviceManage/device_manage_controller.dart
2025-09-12 18:04:14 +08:00

13 lines
470 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get_rx/get_rx.dart';
import 'package:starwork_flutter/common/constant/app_support_device_type.dart';
class DeviceManageController extends GetxController with GetSingleTickerProviderStateMixin {
// 选中状态 0:全部状态 1在线 2离线
final RxInt selectedStatusIndex = 0.obs;
// 选中设备类型
final selectedDeviceType = AppSupportDeviceType.all.obs;
}