1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using WingInterfaceLibrary.Enum;
- namespace Vinno.vCloud.Common.FIS
- {
- internal class vCloudServerConfig
- {
- /// <summary>
- /// 是否由设备端压缩图像
- /// </summary>
- public bool IsUploadThumbnail { get; set; }
- /// <summary>
- /// 类型
- /// </summary>
- public OrganizationPatientTypeEnum PatientType { get; set; }
- /// <summary>
- /// 心跳包间隔,单位秒
- /// </summary>
- public int HeartRateSeconds { get; set; }
- /// <summary>
- /// Server Web Socket url
- /// </summary>
- public string NotificationUrl { get; set; }
- /// <summary>
- /// 是否合流
- /// </summary>
- public bool MergedChannel { get; set; }
- public int LiveConsultationRateSeconds { get; set; }
- public int MergedVideoOutputWidth { get; set; }
- public int MergedVideoOutputHeight { get; set; }
- public bool IsSelfRtcService { get; set; }
- public int RemoteControlHeartRateSeconds { get; set; }
- public string LiveProtocol { get; set; }
- public TransactionStatusEnum LiveProtocolType { get; set; }
- public string FISWebUrl { get; set; }
- /// <summary>
- /// 是否支持科研模式
- /// </summary>
- public bool IsSupportResearchMode { get; set; }
- private static vCloudServerConfig _instance;
- public static vCloudServerConfig Instance => _instance ?? (_instance = new vCloudServerConfig());
- public vCloudServerConfig()
- {
- }
- public override string ToString()
- {
- return $"IsUploadThumbnail:{IsUploadThumbnail},PatientType:{PatientType},HeartRateSeconds:{HeartRateSeconds},NotificationUrl:{NotificationUrl},MergedChannel:{MergedChannel},LiveConsultationRateSeconds:{LiveConsultationRateSeconds},MergedVideoOutputWidth:{MergedVideoOutputWidth},MergedVideoOutputHeight:{MergedVideoOutputHeight},IsSelfRtcService:{IsSelfRtcService},RemoteControlHeartRateSeconds:{RemoteControlHeartRateSeconds},LiveProtocol:{LiveProtocol},LiveProtocolType:{LiveProtocolType},IsSupportResearchMode:{IsSupportResearchMode}";
- }
- }
- }
|