|
@@ -22,6 +22,7 @@ import 'login.m.dart';
|
|
|
import 'role.m.dart';
|
|
|
import 'region.m.dart';
|
|
|
import 'aSR.m.dart';
|
|
|
+import 'deployPlatform.m.dart';
|
|
|
|
|
|
import 'package:fis_jsonrpc/utils.dart';
|
|
|
|
|
@@ -7496,6 +7497,55 @@ enum VideoProtocol {
|
|
|
Rtc,
|
|
|
}
|
|
|
|
|
|
+class DeviceJoinLiveConsultationResult {
|
|
|
+ String? consultationCode;
|
|
|
+ String? deviceCode;
|
|
|
+ int roomNo;
|
|
|
+ int appId;
|
|
|
+ String? deviceSign;
|
|
|
+ List<LiveConsultationMember >? memberLiveDatas;
|
|
|
+ List<InteractiveBoardDataDTO >? interactiveBoardDatas;
|
|
|
+
|
|
|
+ DeviceJoinLiveConsultationResult({
|
|
|
+ this.consultationCode,
|
|
|
+ this.deviceCode,
|
|
|
+ this.roomNo = 0,
|
|
|
+ this.appId = 0,
|
|
|
+ this.deviceSign,
|
|
|
+ this.memberLiveDatas,
|
|
|
+ this.interactiveBoardDatas,
|
|
|
+ });
|
|
|
+
|
|
|
+ factory DeviceJoinLiveConsultationResult.fromJson(Map<String, dynamic> map) {
|
|
|
+ return DeviceJoinLiveConsultationResult(
|
|
|
+ consultationCode: map['ConsultationCode'],
|
|
|
+ deviceCode: map['DeviceCode'],
|
|
|
+ roomNo: map['RoomNo'],
|
|
|
+ appId: map['AppId'],
|
|
|
+ deviceSign: map['DeviceSign'],
|
|
|
+ memberLiveDatas: map['MemberLiveDatas'] != null ? (map['MemberLiveDatas'] as List).map((e)=>LiveConsultationMember.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
+ interactiveBoardDatas: map['InteractiveBoardDatas'] != null ? (map['InteractiveBoardDatas'] as List).map((e)=>InteractiveBoardDataDTO.fromJson(e as Map<String,dynamic>)).toList() : null,
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ Map<String, dynamic> toJson() {
|
|
|
+ final map = Map<String, dynamic>();
|
|
|
+ if(consultationCode != null)
|
|
|
+ map['ConsultationCode'] = consultationCode;
|
|
|
+ if(deviceCode != null)
|
|
|
+ map['DeviceCode'] = deviceCode;
|
|
|
+ map['RoomNo'] = roomNo;
|
|
|
+ map['AppId'] = appId;
|
|
|
+ if(deviceSign != null)
|
|
|
+ map['DeviceSign'] = deviceSign;
|
|
|
+ if(memberLiveDatas != null)
|
|
|
+ map['MemberLiveDatas'] = memberLiveDatas;
|
|
|
+ if(interactiveBoardDatas != null)
|
|
|
+ map['InteractiveBoardDatas'] = interactiveBoardDatas;
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
class LiveConsultationRoomDTO {
|
|
|
String? consultationCode;
|
|
|
LiveConsultationMember? initiator;
|