路径规划点击 某项作业

This commit is contained in:
mmc
2026-02-28 09:55:14 +08:00
parent 4fd5877a3b
commit cf0c18f1ad
5 changed files with 276 additions and 158 deletions

View File

@@ -6,6 +6,7 @@ import 'package:maibu_satabot_v2/core/logging/i_logger_service.dart';
import 'package:maibu_satabot_v2/features/devices/data/datasources/impl/device_http_datasource_impl.dart'; import 'package:maibu_satabot_v2/features/devices/data/datasources/impl/device_http_datasource_impl.dart';
import 'package:maibu_satabot_v2/features/devices/domain/repositories/device_repository.dart'; import 'package:maibu_satabot_v2/features/devices/domain/repositories/device_repository.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/get_user_device_usecase.dart'; import 'package:maibu_satabot_v2/features/devices/domain/usecases/get_user_device_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/select_work_record_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/unbind_device_usecase.dart'; import 'package:maibu_satabot_v2/features/devices/domain/usecases/unbind_device_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/update_devicename_usecase.dart'; import 'package:maibu_satabot_v2/features/devices/domain/usecases/update_devicename_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_cubit.dart'; import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_cubit.dart';
@@ -106,6 +107,8 @@ Future<void> init() async {
sl.registerLazySingleton(() => UnbindDeviceUseCase(sl())); sl.registerLazySingleton(() => UnbindDeviceUseCase(sl()));
sl.registerLazySingleton(() => UpdateDevicenameUsecase(sl())); sl.registerLazySingleton(() => UpdateDevicenameUsecase(sl()));
sl.registerLazySingleton(() => SelectWorkRecordUseCase(sl()));
/// 5. 状态管理 (Cubit/Bloc) /// 5. 状态管理 (Cubit/Bloc)
sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册 sl.registerLazySingleton(() => AppUserCubit()); // AuthCubit 依赖它,必须先注册
sl.registerLazySingleton(() => GetDeviceLocationUseCase(sl())); sl.registerLazySingleton(() => GetDeviceLocationUseCase(sl()));

View File

@@ -1,3 +1,5 @@
import 'dart:math';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'dart:convert'; import 'dart:convert';
@@ -31,7 +33,9 @@ class PathRepositoryImpl implements PathRepository {
final response = await http.post(url, headers: headers, body: body); final response = await http.post(url, headers: headers, body: body);
if (response.statusCode == 200) { if (response.statusCode == 200) {
final List<dynamic> jsonData = jsonDecode(response.body)['path']; final List<dynamic> jsonData = jsonDecode(response.body)['path'];
return jsonData.map((item) => DeviceAddPathPointModel.fromJson(item)).toList(); return jsonData
.map((item) => DeviceAddPathPointModel.fromJson(item))
.toList();
} else { } else {
throw Exception('Failed to load path: ${response.statusCode}'); throw Exception('Failed to load path: ${response.statusCode}');
} }
@@ -39,6 +43,7 @@ class PathRepositoryImpl implements PathRepository {
throw Exception('Network error: $e'); throw Exception('Network error: $e');
} }
} }
// 保存工作记录 // 保存工作记录
@override @override
Future<Map<String, dynamic>> saveWorkRecord({ Future<Map<String, dynamic>> saveWorkRecord({
@@ -68,13 +73,13 @@ class PathRepositoryImpl implements PathRepository {
} }
@override @override
Future<List<Map<String, dynamic>>> getWorkRecord({required String userId}) async { Future<List<Map<String, dynamic>>> getWorkRecord({
required String userId,
}) async {
final timestamp = DateTime.now().millisecondsSinceEpoch; final timestamp = DateTime.now().millisecondsSinceEpoch;
final url = Uri.parse('https://serviceri.satabot.com/iot/workRecord/selectByUserId') final url = Uri.parse(
.replace(queryParameters: { 'https://serviceri.satabot.com/iot/workRecord/selectByUserId',
'userId': userId, ).replace(queryParameters: {'userId': userId, '_t': timestamp.toString()});
'_t': timestamp.toString(),
});
try { try {
final response = await http.get(url); final response = await http.get(url);
@@ -86,7 +91,9 @@ class PathRepositoryImpl implements PathRepository {
throw Exception('API error: ${data['msg'] ?? 'Unknown'}'); throw Exception('API error: ${data['msg'] ?? 'Unknown'}');
} }
} else { } else {
throw Exception('HTTP ${response.statusCode}: ${response.reasonPhrase}'); throw Exception(
'HTTP ${response.statusCode}: ${response.reasonPhrase}',
);
} }
} catch (e) { } catch (e) {
throw Exception('Network error in getWorkRecord: $e'); throw Exception('Network error in getWorkRecord: $e');
@@ -94,13 +101,16 @@ class PathRepositoryImpl implements PathRepository {
} }
@override @override
Future<Map<String, dynamic>> deleteWorkRecord({required String workName}) async { Future<Map<String, dynamic>> deleteWorkRecord({
required String workName,
}) async {
final timestamp = DateTime.now().millisecondsSinceEpoch; final timestamp = DateTime.now().millisecondsSinceEpoch;
final url = Uri.parse('https://serviceri.satabot.com/iot/workRecord/deleteByWorkName') final url =
.replace(queryParameters: { Uri.parse(
'workName': workName, 'https://serviceri.satabot.com/iot/workRecord/deleteByWorkName',
'_t': timestamp.toString(), ).replace(
}); queryParameters: {'workName': workName, '_t': timestamp.toString()},
);
try { try {
final response = await http.get(url); final response = await http.get(url);
@@ -109,27 +119,38 @@ class PathRepositoryImpl implements PathRepository {
if (response.statusCode == 200 && data['code'] == 200) { if (response.statusCode == 200 && data['code'] == 200) {
return data; // 返回 {"code": 200, "msg": "删除成功"} return data; // 返回 {"code": 200, "msg": "删除成功"}
} else { } else {
throw Exception('Delete failed: ${data['msg'] ?? response.reasonPhrase}'); throw Exception(
'Delete failed: ${data['msg'] ?? response.reasonPhrase}',
);
} }
} catch (e) { } catch (e) {
throw Exception('Network error in deleteWorkRecord: $e'); throw Exception('Network error in deleteWorkRecord: $e');
} }
} }
/// 选择工作记录
/// 选择工作记录
@override @override
Future<List<Map<String, dynamic>>> selectWorkRecordByName({required String workName}) async { Future<List<Map<String, dynamic>>> selectWorkRecordByName({
required String workName,
}) async {
final timestamp = DateTime.now().millisecondsSinceEpoch; final timestamp = DateTime.now().millisecondsSinceEpoch;
final url = Uri.parse('https://serviceri.satabot.com/iot/workRecord/selectByWorkname') final url =
.replace(queryParameters: { Uri.parse(
'workName': workName, 'https://serviceri.satabot.com/iot/workRecord/selectByWorkname',
'_t': timestamp.toString(), // 防缓存 ).replace(
}); queryParameters: {
'workName': workName,
'_t': timestamp.toString(), // 防缓存
},
);
print('请求URL: $url'); // 调试输出完整URL,检查参数是否正确附加
try { try {
final response = await http.get(url); final response = await http.get(url);
if (response.statusCode == 200) { if (response.statusCode == 200) {
final data = jsonDecode(response.body) as Map<String, dynamic>; final data = jsonDecode(response.body) as Map<String, dynamic>;
print('响应数据: $data'); // 调试输出响应数据,检查结构和内容
if (data['code'] == 200 && data.containsKey('data')) { if (data['code'] == 200 && data.containsKey('data')) {
final List<dynamic> records = data['data']; final List<dynamic> records = data['data'];
@@ -138,15 +159,12 @@ class PathRepositoryImpl implements PathRepository {
throw Exception('API error: ${data['msg'] ?? 'Unknown'}'); throw Exception('API error: ${data['msg'] ?? 'Unknown'}');
} }
} else { } else {
throw Exception('HTTP ${response.statusCode}: ${response.reasonPhrase}'); throw Exception(
'HTTP ${response.statusCode}: ${response.reasonPhrase}',
);
} }
} catch (e) { } catch (e) {
throw Exception('Network error in selectWorkRecordByName: $e'); throw Exception('Network error in selectWorkRecordByName: $e');
} }
} }
} }

View File

@@ -8,7 +8,10 @@ class SelectWorkRecordUseCase {
SelectWorkRecordUseCase(this.repository); SelectWorkRecordUseCase(this.repository);
Future<Either<DeviceFailure, List<Map<String, dynamic>>>> call(String workName) async { Future<Either<DeviceFailure, List<Map<String, dynamic>>>> call(
String workName,
) async {
print('SelectWorkRecordUseCase called with workName: $workName'); // 调试输出
try { try {
final data = await repository.selectWorkRecordByName(workName: workName); final data = await repository.selectWorkRecordByName(workName: workName);
return Right(data); return Right(data);

View File

@@ -30,7 +30,7 @@ class DevicesCubit extends Cubit<DevicesState> {
this._deleteWorkRecordUseCase, this._deleteWorkRecordUseCase,
this._unbindDeviceUseCase, this._unbindDeviceUseCase,
this._updateDevicename, this._updateDevicename,
this._selectWorkRecordUseCase this._selectWorkRecordUseCase,
) : super(const DevicesState()); ) : super(const DevicesState());
Future<void> unbindDevice(String deviceId, String deviceName) async { Future<void> unbindDevice(String deviceId, String deviceName) async {
@@ -86,7 +86,11 @@ class DevicesCubit extends Cubit<DevicesState> {
); );
} catch (e) { } catch (e) {
emit( emit(
state.copyWith(isLoading: false, errorMessage: '解绑异常:${e.toString()}', operationType: DeviceOperationType.none), state.copyWith(
isLoading: false,
errorMessage: '解绑异常:${e.toString()}',
operationType: DeviceOperationType.none,
),
); );
} }
} }
@@ -262,18 +266,20 @@ class DevicesCubit extends Cubit<DevicesState> {
), ),
); );
} }
/// 加载指定作业名的路径数据 /// 加载指定作业名的路径数据
Future<void> loadSelectedPath(String workName) async { Future<void> loadSelectedPath(String workName) async {
emit(state.copyWith(isLoading: true)); emit(state.copyWith(isLoading: true));
try { try {
final result = await _selectWorkRecordUseCase.call(workName); final result = await _selectWorkRecordUseCase.call(workName);
result.fold( result.fold(
(failure) => emit(state.copyWith(isLoading: false, errorMessage: failure.message)), (failure) => emit(
(data) => emit(state.copyWith(isLoading: false, pathData: data)), state.copyWith(isLoading: false, errorMessage: failure.message),
),
(data) => emit(state.copyWith(isLoading: false, pathData: data)),
); );
} catch (e) { } catch (e) {
emit(state.copyWith(isLoading: false, errorMessage: e.toString())); emit(state.copyWith(isLoading: false, errorMessage: e.toString()));
} }
} }
} }

View File

@@ -11,7 +11,9 @@ import 'package:maibu_satabot_v2/core/app/app_user_cubit.dart';
import 'package:maibu_satabot_v2/core/di/injection.dart'; import 'package:maibu_satabot_v2/core/di/injection.dart';
import 'package:maibu_satabot_v2/core/network/net_message_dispatcher.dart'; import 'package:maibu_satabot_v2/core/network/net_message_dispatcher.dart';
import 'package:maibu_satabot_v2/core/network/protocol_decoder.dart'; import 'package:maibu_satabot_v2/core/network/protocol_decoder.dart';
import 'package:maibu_satabot_v2/features/devices/data/repositories/generate_path_repository_Impl.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/get_work_record_usecase.dart'; import 'package:maibu_satabot_v2/features/devices/domain/usecases/get_work_record_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/domain/usecases/select_work_record_usecase.dart';
import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_cubit.dart'; import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_cubit.dart';
import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_state.dart'; import 'package:maibu_satabot_v2/features/devices/presentation/bloc/devices_state.dart';
import 'package:maibu_satabot_v2/features/home/presentation/widgets/BottomDirectionLine.dart'; import 'package:maibu_satabot_v2/features/home/presentation/widgets/BottomDirectionLine.dart';
@@ -82,9 +84,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
//打点 //打点
double _workDistance = 0.0; // 作业行距(单位:米) double _workDistance = 0.0; // 作业行距(单位:米)
double _angle = 0.0; // 航线方向角(单位:度) double _angle = 0.0; // 航线方向角(单位:度)
// =================================
// 🔥 改动1:删除硬编码的 _plotList,改为从Bloc读取
// final List<PlotData> _plotList = [...];
@override @override
void initState() { void initState() {
@@ -111,9 +110,7 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
_mapController.mapEventStream.listen((event) { _mapController.mapEventStream.listen((event) {
if (event is MapEventMove || event is MapEventMoveEnd) { if (event is MapEventMove || event is MapEventMoveEnd) {
if (mounted && _mapController.camera != null) { if (mounted && _mapController.camera != null) {
// 核心:直接获取原始经纬度,不做任何截断,保留最大精度
final originalCenter = _mapController.camera!.center; final originalCenter = _mapController.camera!.center;
// 显式创建新的 LatLng 对象,确保精度不丢失(避免引用传递导致的隐式截断)
final highPrecisionCenter = LatLng( final highPrecisionCenter = LatLng(
originalCenter.latitude, // 原始纬度(保留全部小数位) originalCenter.latitude, // 原始纬度(保留全部小数位)
originalCenter.longitude, // 原始经度(保留全部小数位) originalCenter.longitude, // 原始经度(保留全部小数位)
@@ -238,7 +235,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
debugPrint('打点数量:${_markedPoints.length}'); debugPrint('打点数量:${_markedPoints.length}');
debugPrint('打点坐标:$_markedPoints'); debugPrint('打点坐标:$_markedPoints');
debugPrint('作业模式:$_currentWorkMode'); debugPrint('作业模式:$_currentWorkMode');
} }
List<LatLng> _getPolygonPoints() { List<LatLng> _getPolygonPoints() {
@@ -390,7 +386,10 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
return GestureDetector( return GestureDetector(
// 核心:点击列表项触发选中逻辑 // 核心:点击列表项触发选中逻辑
onTap: () async { onTap: () async {
await context.read<DevicesCubit>().deleteWorkRecord(plot.plotName); await context.read<DevicesCubit>().loadSelectedPath(plot.plotName);
final cubitState = context.read<DevicesCubit>().state;
final _loadedPlot = cubitState.pathData;
print('加载地块「${plot.plotName}」的路径数据: $_loadedPlot');
setState(() { setState(() {
// 1. 选中当前地块 // 1. 选中当前地块
@@ -416,7 +415,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
), ),
child: Row( child: Row(
children: [ children: [
// 1. 地块图片(原有代码)
ClipRRect( ClipRRect(
borderRadius: BorderRadius.circular(8), borderRadius: BorderRadius.circular(8),
child: Image.network( child: Image.network(
@@ -437,7 +435,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
const SizedBox(width: 10), const SizedBox(width: 10),
// 2. 地块名称(原有代码)
Expanded( Expanded(
child: Text( child: Text(
plot.plotName, plot.plotName,
@@ -447,7 +444,6 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
), ),
), ),
// 3. 删除按钮(修改:调用外部传入的删除方法)
IconButton( IconButton(
onPressed: () => _showDeleteConfirmDialog(plot, onDelete), onPressed: () => _showDeleteConfirmDialog(plot, onDelete),
icon: const Icon( icon: const Icon(
@@ -484,134 +480,226 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
// 注意:方法名改为 _buildWorkPanel(因为实际是作业面板,不是列表,避免混淆) // 注意:方法名改为 _buildWorkPanel(因为实际是作业面板,不是列表,避免混淆)
Widget _buildWorkPanel() { Widget _buildWorkPanel() {
// 核心修复1:空安全判断 - 无选中地块时返回空容器 return BlocBuilder<DevicesCubit, DevicesState>(
if (_selectedPlot == null) { builder: (context, state) {
return const SizedBox.shrink(); print(
} '当前DevicesState的pathData: ${state}',
); // 调试输出,查看pathData内容
// 无选中地块或无路径数据时返回空
if (_selectedPlot == null || state.pathData == null) {
return const SizedBox.shrink();
}
return Positioned( // 解析路径数据(根据你的实际数据结构调整)
left: 0, List<Map<String, dynamic>> pathRecords = [];
right: 0, if (state.pathData is List) {
bottom: 0, pathRecords = state.pathData as List<Map<String, dynamic>>;
child: Container( }
padding: const EdgeInsets.all(16),
decoration: const BoxDecoration( // 提取关键信息用于展示
color: Colors.white, String workArea = '0 亩';
borderRadius: BorderRadius.vertical(top: Radius.circular(16)), int pointCount = 0;
boxShadow: [ String workMode = '未知';
BoxShadow( if (pathRecords.isNotEmpty) {
color: Colors.black12, final record = pathRecords.first;
blurRadius: 10, workArea = record['workingArea']?.toString() ?? '0 亩';
offset: Offset(0, -2), pointCount = record['plotPoints'] != null
? (record['plotPoints'] as List).length
: 0;
workMode = record['workMode'] ?? '未知';
}
return Positioned(
left: 0,
right: 0,
bottom: 0,
child: Container(
padding: const EdgeInsets.all(16),
decoration: const BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.vertical(top: Radius.circular(16)),
boxShadow: [
BoxShadow(
color: Colors.black12,
blurRadius: 10,
offset: Offset(0, -2),
),
],
), ),
], child: Column(
), mainAxisSize: MainAxisSize.min,
child: Column(
mainAxisSize: MainAxisSize.min, // 关键:只占用内容高度,不挤压其他组件
children: [
// 1. 选中地块信息行
Row(
crossAxisAlignment: CrossAxisAlignment.center, // 修复:垂直居中对齐
children: [ children: [
// 地块图片 // 1. 地块基础信息
ClipRRect( Row(
borderRadius: BorderRadius.circular(8), crossAxisAlignment: CrossAxisAlignment.center,
child: Image.network( children: [
_selectedPlot!.imageUrl, ClipRRect(
width: 80, borderRadius: BorderRadius.circular(8),
height: 80, child: Image.network(
fit: BoxFit.cover, _selectedPlot!.imageUrl,
// 核心修复2:图片加载错误占位优化
errorBuilder: (context, error, stackTrace) {
return Container(
width: 80, width: 80,
height: 80, height: 80,
color: Colors.grey[200], fit: BoxFit.cover,
child: const Icon( errorBuilder: (context, error, stackTrace) {
Icons.image_outlined, return Container(
color: Colors.grey, width: 80,
size: 32, height: 80,
color: Colors.grey[200],
child: const Icon(
Icons.image_outlined,
color: Colors.grey,
size: 32,
),
);
},
),
),
const SizedBox(width: 16),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
_selectedPlot!.plotName,
style: const TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
color: Colors.black87,
),
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
const SizedBox(height: 4),
// 新增:展示路径数据关键信息
Text(
'作业面积:$workArea',
style: const TextStyle(
fontSize: 14,
color: Colors.grey,
),
),
Text(
'打点数量:$pointCount 个',
style: const TextStyle(
fontSize: 14,
color: Colors.grey,
),
),
Text(
'作业模式:$workMode',
style: const TextStyle(
fontSize: 14,
color: Colors.grey,
),
),
],
),
),
IconButton(
onPressed: () {
setState(() {
_isWorkPanelOpen = false;
_selectedPlot = null;
});
},
icon: const Icon(
Icons.close,
color: Colors.grey,
size: 20,
),
padding: EdgeInsets.zero,
constraints: const BoxConstraints(
minWidth: 24,
minHeight: 24,
),
),
],
),
const SizedBox(height: 16),
// 2. 错误提示(如果加载失败)
if (state.errorMessage != null)
Container(
padding: const EdgeInsets.symmetric(
horizontal: 12,
vertical: 8,
),
margin: const EdgeInsets.only(bottom: 12),
decoration: BoxDecoration(
color: Colors.red[50],
borderRadius: BorderRadius.circular(6),
border: Border.all(color: Colors.red[200]!),
),
child: Row(
children: [
const Icon(
Icons.error_outline,
color: Colors.redAccent,
size: 16,
), ),
); const SizedBox(width: 8),
}, Expanded(
), child: Text(
), state.errorMessage!,
style: const TextStyle(
const SizedBox(width: 16), fontSize: 14,
color: Colors.redAccent,
// 地块名称(修复:占满剩余空间) ),
Expanded( maxLines: 2,
child: Text( overflow: TextOverflow.ellipsis,
_selectedPlot!.plotName, ),
style: const TextStyle( ),
fontSize: 18, ],
fontWeight: FontWeight.bold,
color: Colors.black87,
), ),
maxLines: 2,
overflow: TextOverflow.ellipsis,
), ),
),
// 关闭按钮(修复:减少点击区域,避免误触) // 3. 开始作业按钮(加载中禁用)
Padding( SizedBox(
padding: const EdgeInsets.only(left: 8), width: double.infinity,
child: IconButton( height: 48,
onPressed: () { child: ElevatedButton(
setState(() { onPressed: state.isLoading || pathRecords.isEmpty
_isWorkPanelOpen = false; ? null
_selectedPlot = null; // 清空选中状态 : () {
}); // 作业逻辑:使用加载的pathData
}, debugPrint(
icon: const Icon(Icons.close, color: Colors.grey, size: 20), '开始作业:${_selectedPlot!.plotName},路径数据:$pathRecords',
padding: EdgeInsets.zero, );
constraints: const BoxConstraints( },
minWidth: 24, style: ElevatedButton.styleFrom(
minHeight: 24, backgroundColor: const Color(0xFF00C853),
foregroundColor: Colors.white,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8),
),
elevation: 2,
disabledBackgroundColor: Colors.grey[300],
disabledForegroundColor: Colors.grey[600],
), ),
child: state.isLoading
? const SizedBox(
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2,
color: Colors.white,
),
)
: const Text(
'开始作业',
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
),
),
), ),
), ),
], ],
), ),
),
const SizedBox(height: 16), );
SizedBox( },
width: double.infinity,
height: 48,
child: ElevatedButton(
onPressed: () {
// 核心修复3:再次空安全校验(双重保险)
if (_selectedPlot != null) {
//_startWork(_selectedPlot!);
}
},
style: ElevatedButton.styleFrom(
backgroundColor: const Color(0xFF00C853), // 绿色主题
foregroundColor: Colors.white, // 文字颜色(Flutter 3.0+ 推荐)
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8),
),
elevation: 2,
shadowColor: Colors.black12,
padding: const EdgeInsets.symmetric(
vertical: 0,
horizontal: 16,
),
minimumSize: const Size(double.infinity, 48),
),
child: const Text(
'开始作业',
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
height: 1.0,
),
),
),
),
],
),
),
); );
} }