12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- 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 RemoteControlAskTimeoutSec { get; set; }
- public string LiveProtocol { get; set; }
- public TransactionStatusEnum LiveProtocolType { 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},RemoteControlAskTimeoutSec:{RemoteControlAskTimeoutSec},LiveProtocol:{LiveProtocol},LiveProtocolType:{LiveProtocolType}";
- }
- }
- }
|