// GENERATED CODE - DO NOT MODIFY BY HAND

// **************************************************************************
// AutoRouterGenerator
// **************************************************************************

// ignore_for_file: type=lint
// coverage:ignore-file

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:auto_route/auto_route.dart' as _i22;
import 'package:flutter/material.dart' as _i23;
import 'package:smart_hotel_app/views/home/abnormal/abnormal_detail_view.dart'
    as _i1;
import 'package:smart_hotel_app/views/home/abnormal_list/cubit/abnormal_list_state.dart'
    as _i24;
import 'package:smart_hotel_app/views/home/abnormal_list/index_view.dart'
    as _i2;
import 'package:smart_hotel_app/views/home/device/device_detail_view.dart'
    as _i5;
import 'package:smart_hotel_app/views/home/index/index_view.dart' as _i6;
import 'package:smart_hotel_app/views/home/inspection/inspection_detail_view.dart'
    as _i7;
import 'package:smart_hotel_app/views/home/inspection_device/inspection_device_view.dart'
    as _i8;
import 'package:smart_hotel_app/views/home/inspection_history/inspection_history_view.dart'
    as _i9;
import 'package:smart_hotel_app/views/home/inspection_topology/inspection_topology_view.dart'
    as _i10;
import 'package:smart_hotel_app/views/layout/default_view.dart' as _i4;
import 'package:smart_hotel_app/views/login/login_view.dart' as _i11;
import 'package:smart_hotel_app/views/profile/about/about_view.dart' as _i3;
import 'package:smart_hotel_app/views/profile/help/help_view.dart' as _i25;
import 'package:smart_hotel_app/views/profile/index/index_view.dart' as _i12;
import 'package:smart_hotel_app/views/report/device/device_list_view.dart'
    as _i13;
import 'package:smart_hotel_app/views/report/energy/energy_detail_view.dart'
    as _i14;
import 'package:smart_hotel_app/views/report/index/index_view.dart' as _i15;
import 'package:smart_hotel_app/views/report/room/room_detail_view.dart'
    as _i16;
import 'package:smart_hotel_app/views/report/rule/rule_management_view.dart'
    as _i17;
import 'package:smart_hotel_app/views/search/index_view.dart' as _i18;
import 'package:smart_hotel_app/views/service/device/device_detail_view.dart'
    as _i19;
import 'package:smart_hotel_app/views/service/index/index_view.dart' as _i20;
import 'package:smart_hotel_app/views/service/room/room_detail_view.dart'
    as _i21;

abstract class $AppRouter extends _i22.RootStackRouter {
  $AppRouter({super.navigatorKey});

  @override
  final Map<String, _i22.PageFactory> pagesMap = {
    AbnormalDetailRoute.name: (routeData) {
      final args = routeData.argsAs<AbnormalDetailRouteArgs>();
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i1.AbnormalDetailView(
          key: args.key,
          alertId: args.alertId,
          alarmStatus: args.alarmStatus,
        ),
      );
    },
    AbnormalListRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i2.AbnormalListView(),
      );
    },
    HelpRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i25.HelpView(),
      );
    },
    AboutRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i3.AboutView(),
      );
    },
    DefaultLayoutRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i4.DefaultLayoutView(),
      );
    },
    DeviceDetailRoute.name: (routeData) {
      final args = routeData.argsAs<DeviceDetailRouteArgs>();
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i5.DeviceDetailView(
          key: args.key,
          deviceId: args.deviceId,
        ),
      );
    },
    HomeRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i6.HomeView(),
      );
    },
    InspectionDetailRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i7.InspectionDetailView(),
      );
    },
    InspectionDeviceRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<InspectionDeviceRouteArgs>(
          orElse: () => InspectionDeviceRouteArgs(
              deviceId: pathParams.getString('deviceId')));
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i8.InspectionDeviceView(
          key: args.key,
          deviceId: args.deviceId,
        ),
      );
    },
    InspectionHistoryRoute.name: (routeData) {
      final pathParams = routeData.inheritedPathParams;
      final args = routeData.argsAs<InspectionHistoryRouteArgs>(
          orElse: () => InspectionHistoryRouteArgs(
              deviceId: pathParams.getString('deviceId')));
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i9.InspectionHistoryView(
          key: args.key,
          deviceId: args.deviceId,
        ),
      );
    },
    InspectionTopologyRoute.name: (routeData) {
      final args = routeData.argsAs<InspectionTopologyRouteArgs>();
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i10.InspectionTopologyView(
          key: args.key,
          deviceId: args.deviceId,
        ),
      );
    },
    LoginRoute.name: (routeData) {
      final args = routeData.argsAs<LoginRouteArgs>(
          orElse: () => const LoginRouteArgs());
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i11.LoginView(key: args.key),
      );
    },
    ProfileRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i12.ProfileView(),
      );
    },
    ReportDeviceListRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i13.ReportDeviceListView(),
      );
    },
    ReportEnergyDetailRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i14.ReportEnergyDetailView(),
      );
    },
    ReportIndexRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i15.ReportIndexView(),
      );
    },
    ReportRoomDetailRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i16.ReportRoomDetailView(),
      );
    },
    ReportRuleManagementRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i17.ReportRuleManagementView(),
      );
    },
    SearchRoute.name: (routeData) {
      final args = routeData.argsAs<SearchRouteArgs>(
          orElse: () => const SearchRouteArgs());
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i18.SearchView(
          key: args.key,
          searchKey: args.searchKey,
        ),
      );
    },
    ServiceDeviceDetailRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceDeviceDetailRouteArgs>();
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i19.ServiceDeviceDetailView(
          key: args.key,
          deviceId: args.deviceId,
        ),
      );
    },
    ServiceIndexRoute.name: (routeData) {
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: const _i20.ServiceIndexView(),
      );
    },
    ServiceRoomDetailRoute.name: (routeData) {
      final args = routeData.argsAs<ServiceRoomDetailRouteArgs>();
      return _i22.AutoRoutePage<dynamic>(
        routeData: routeData,
        child: _i21.ServiceRoomDetailView(
          key: args.key,
          roomId: args.roomId,
          roomNumber: args.roomNumber,
        ),
      );
    },
  };
}

/// generated route for
/// [_i1.AbnormalDetailView]
class AbnormalDetailRoute extends _i22.PageRouteInfo<AbnormalDetailRouteArgs> {
  AbnormalDetailRoute({
    _i23.Key? key,
    required int alertId,
    required _i24.AlarmStatus alarmStatus,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          AbnormalDetailRoute.name,
          args: AbnormalDetailRouteArgs(
            key: key,
            alertId: alertId,
            alarmStatus: alarmStatus,
          ),
          initialChildren: children,
        );

  static const String name = 'AbnormalDetailRoute';

  static const _i22.PageInfo<AbnormalDetailRouteArgs> page =
      _i22.PageInfo<AbnormalDetailRouteArgs>(name);
}

class AbnormalDetailRouteArgs {
  const AbnormalDetailRouteArgs({
    this.key,
    required this.alertId,
    required this.alarmStatus,
  });

  final _i23.Key? key;

  final int alertId;

  final _i24.AlarmStatus alarmStatus;

  @override
  String toString() {
    return 'AbnormalDetailRouteArgs{key: $key, alertId: $alertId, alarmStatus: $alarmStatus}';
  }
}

/// generated route for
/// [_i2.AbnormalListView]
class AbnormalListRoute extends _i22.PageRouteInfo<void> {
  const AbnormalListRoute({List<_i22.PageRouteInfo>? children})
      : super(
          AbnormalListRoute.name,
          initialChildren: children,
        );

  static const String name = 'AbnormalListRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i25.HelpView]
class HelpRoute extends _i22.PageRouteInfo<void> {
  const HelpRoute({List<_i22.PageRouteInfo>? children})
      : super(
          HelpRoute.name,
          initialChildren: children,
        );

  static const String name = 'HelpRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i3.AboutView]
class AboutRoute extends _i22.PageRouteInfo<void> {
  const AboutRoute({List<_i22.PageRouteInfo>? children})
      : super(
          AboutRoute.name,
          initialChildren: children,
        );

  static const String name = 'AboutRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i4.DefaultLayoutView]
class DefaultLayoutRoute extends _i22.PageRouteInfo<void> {
  const DefaultLayoutRoute({List<_i22.PageRouteInfo>? children})
      : super(
          DefaultLayoutRoute.name,
          initialChildren: children,
        );

  static const String name = 'DefaultLayoutRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i5.DeviceDetailView]
class DeviceDetailRoute extends _i22.PageRouteInfo<DeviceDetailRouteArgs> {
  DeviceDetailRoute({
    _i23.Key? key,
    required int deviceId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          DeviceDetailRoute.name,
          args: DeviceDetailRouteArgs(
            key: key,
            deviceId: deviceId,
          ),
          initialChildren: children,
        );

  static const String name = 'DeviceDetailRoute';

  static const _i22.PageInfo<DeviceDetailRouteArgs> page =
      _i22.PageInfo<DeviceDetailRouteArgs>(name);
}

class DeviceDetailRouteArgs {
  const DeviceDetailRouteArgs({
    this.key,
    required this.deviceId,
  });

  final _i23.Key? key;

  final int deviceId;

  @override
  String toString() {
    return 'DeviceDetailRouteArgs{key: $key, deviceId: $deviceId}';
  }
}

/// generated route for
/// [_i6.HomeView]
class HomeRoute extends _i22.PageRouteInfo<void> {
  const HomeRoute({List<_i22.PageRouteInfo>? children})
      : super(
          HomeRoute.name,
          initialChildren: children,
        );

  static const String name = 'HomeRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i7.InspectionDetailView]
class InspectionDetailRoute extends _i22.PageRouteInfo<void> {
  const InspectionDetailRoute({List<_i22.PageRouteInfo>? children})
      : super(
          InspectionDetailRoute.name,
          initialChildren: children,
        );

  static const String name = 'InspectionDetailRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i8.InspectionDeviceView]
class InspectionDeviceRoute
    extends _i22.PageRouteInfo<InspectionDeviceRouteArgs> {
  InspectionDeviceRoute({
    _i23.Key? key,
    required String deviceId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          InspectionDeviceRoute.name,
          args: InspectionDeviceRouteArgs(
            key: key,
            deviceId: deviceId,
          ),
          rawPathParams: {'deviceId': deviceId},
          initialChildren: children,
        );

  static const String name = 'InspectionDeviceRoute';

  static const _i22.PageInfo<InspectionDeviceRouteArgs> page =
      _i22.PageInfo<InspectionDeviceRouteArgs>(name);
}

class InspectionDeviceRouteArgs {
  const InspectionDeviceRouteArgs({
    this.key,
    required this.deviceId,
  });

  final _i23.Key? key;

  final String deviceId;

  @override
  String toString() {
    return 'InspectionDeviceRouteArgs{key: $key, deviceId: $deviceId}';
  }
}

/// generated route for
/// [_i9.InspectionHistoryView]
class InspectionHistoryRoute
    extends _i22.PageRouteInfo<InspectionHistoryRouteArgs> {
  InspectionHistoryRoute({
    _i23.Key? key,
    required String deviceId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          InspectionHistoryRoute.name,
          args: InspectionHistoryRouteArgs(
            key: key,
            deviceId: deviceId,
          ),
          rawPathParams: {'deviceId': deviceId},
          initialChildren: children,
        );

  static const String name = 'InspectionHistoryRoute';

  static const _i22.PageInfo<InspectionHistoryRouteArgs> page =
      _i22.PageInfo<InspectionHistoryRouteArgs>(name);
}

class InspectionHistoryRouteArgs {
  const InspectionHistoryRouteArgs({
    this.key,
    required this.deviceId,
  });

  final _i23.Key? key;

  final String deviceId;

  @override
  String toString() {
    return 'InspectionHistoryRouteArgs{key: $key, deviceId: $deviceId}';
  }
}

/// generated route for
/// [_i10.InspectionTopologyView]
class InspectionTopologyRoute
    extends _i22.PageRouteInfo<InspectionTopologyRouteArgs> {
  InspectionTopologyRoute({
    _i23.Key? key,
    required String deviceId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          InspectionTopologyRoute.name,
          args: InspectionTopologyRouteArgs(
            key: key,
            deviceId: deviceId,
          ),
          initialChildren: children,
        );

  static const String name = 'InspectionTopologyRoute';

  static const _i22.PageInfo<InspectionTopologyRouteArgs> page =
      _i22.PageInfo<InspectionTopologyRouteArgs>(name);
}

class InspectionTopologyRouteArgs {
  const InspectionTopologyRouteArgs({
    this.key,
    required this.deviceId,
  });

  final _i23.Key? key;

  final String deviceId;

  @override
  String toString() {
    return 'InspectionTopologyRouteArgs{key: $key, deviceId: $deviceId}';
  }
}

/// generated route for
/// [_i11.LoginView]
class LoginRoute extends _i22.PageRouteInfo<LoginRouteArgs> {
  LoginRoute({
    _i23.Key? key,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          LoginRoute.name,
          args: LoginRouteArgs(key: key),
          initialChildren: children,
        );

  static const String name = 'LoginRoute';

  static const _i22.PageInfo<LoginRouteArgs> page =
      _i22.PageInfo<LoginRouteArgs>(name);
}

class LoginRouteArgs {
  const LoginRouteArgs({this.key});

  final _i23.Key? key;

  @override
  String toString() {
    return 'LoginRouteArgs{key: $key}';
  }
}

/// generated route for
/// [_i12.ProfileView]
class ProfileRoute extends _i22.PageRouteInfo<void> {
  const ProfileRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ProfileRoute.name,
          initialChildren: children,
        );

  static const String name = 'ProfileRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i13.ReportDeviceListView]
class ReportDeviceListRoute extends _i22.PageRouteInfo<void> {
  const ReportDeviceListRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ReportDeviceListRoute.name,
          initialChildren: children,
        );

  static const String name = 'ReportDeviceListRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i14.ReportEnergyDetailView]
class ReportEnergyDetailRoute extends _i22.PageRouteInfo<void> {
  const ReportEnergyDetailRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ReportEnergyDetailRoute.name,
          initialChildren: children,
        );

  static const String name = 'ReportEnergyDetailRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i15.ReportIndexView]
class ReportIndexRoute extends _i22.PageRouteInfo<void> {
  const ReportIndexRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ReportIndexRoute.name,
          initialChildren: children,
        );

  static const String name = 'ReportIndexRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i16.ReportRoomDetailView]
class ReportRoomDetailRoute extends _i22.PageRouteInfo<void> {
  const ReportRoomDetailRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ReportRoomDetailRoute.name,
          initialChildren: children,
        );

  static const String name = 'ReportRoomDetailRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i17.ReportRuleManagementView]
class ReportRuleManagementRoute extends _i22.PageRouteInfo<void> {
  const ReportRuleManagementRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ReportRuleManagementRoute.name,
          initialChildren: children,
        );

  static const String name = 'ReportRuleManagementRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i18.SearchView]
class SearchRoute extends _i22.PageRouteInfo<SearchRouteArgs> {
  SearchRoute({
    _i23.Key? key,
    String? searchKey,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          SearchRoute.name,
          args: SearchRouteArgs(
            key: key,
            searchKey: searchKey,
          ),
          initialChildren: children,
        );

  static const String name = 'SearchRoute';

  static const _i22.PageInfo<SearchRouteArgs> page =
      _i22.PageInfo<SearchRouteArgs>(name);
}

class SearchRouteArgs {
  const SearchRouteArgs({
    this.key,
    this.searchKey,
  });

  final _i23.Key? key;

  final String? searchKey;

  @override
  String toString() {
    return 'SearchRouteArgs{key: $key, searchKey: $searchKey}';
  }
}

/// generated route for
/// [_i19.ServiceDeviceDetailView]
class ServiceDeviceDetailRoute
    extends _i22.PageRouteInfo<ServiceDeviceDetailRouteArgs> {
  ServiceDeviceDetailRoute({
    _i23.Key? key,
    required int deviceId,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          ServiceDeviceDetailRoute.name,
          args: ServiceDeviceDetailRouteArgs(
            key: key,
            deviceId: deviceId,
          ),
          initialChildren: children,
        );

  static const String name = 'ServiceDeviceDetailRoute';

  static const _i22.PageInfo<ServiceDeviceDetailRouteArgs> page =
      _i22.PageInfo<ServiceDeviceDetailRouteArgs>(name);
}

class ServiceDeviceDetailRouteArgs {
  const ServiceDeviceDetailRouteArgs({
    this.key,
    required this.deviceId,
  });

  final _i23.Key? key;

  final int deviceId;

  @override
  String toString() {
    return 'ServiceDeviceDetailRouteArgs{key: $key, deviceId: $deviceId}';
  }
}

/// generated route for
/// [_i20.ServiceIndexView]
class ServiceIndexRoute extends _i22.PageRouteInfo<void> {
  const ServiceIndexRoute({List<_i22.PageRouteInfo>? children})
      : super(
          ServiceIndexRoute.name,
          initialChildren: children,
        );

  static const String name = 'ServiceIndexRoute';

  static const _i22.PageInfo<void> page = _i22.PageInfo<void>(name);
}

/// generated route for
/// [_i21.ServiceRoomDetailView]
class ServiceRoomDetailRoute
    extends _i22.PageRouteInfo<ServiceRoomDetailRouteArgs> {
  ServiceRoomDetailRoute({
    _i23.Key? key,
    required int roomId,
    String? roomNumber,
    List<_i22.PageRouteInfo>? children,
  }) : super(
          ServiceRoomDetailRoute.name,
          args: ServiceRoomDetailRouteArgs(
            key: key,
            roomId: roomId,
            roomNumber: roomNumber,
          ),
          initialChildren: children,
        );

  static const String name = 'ServiceRoomDetailRoute';

  static const _i22.PageInfo<ServiceRoomDetailRouteArgs> page =
      _i22.PageInfo<ServiceRoomDetailRouteArgs>(name);
}

class ServiceRoomDetailRouteArgs {
  const ServiceRoomDetailRouteArgs({
    this.key,
    required this.roomId,
    this.roomNumber,
  });

  final _i23.Key? key;

  final int roomId;

  final String? roomNumber;

  @override
  String toString() {
    return 'ServiceRoomDetailRouteArgs{key: $key, roomId: $roomId, roomNumber: $roomNumber}';
  }
}
