using WingInterfaceLibrary.Enum;
namespace Vinno.vCloud.Common.FIS
{
internal class vCloudServerConfig
{
///
/// 是否由设备端压缩图像
///
public bool IsUploadThumbnail { get; set; }
///
/// 类型
///
public OrganizationPatientTypeEnum PatientType { get; set; }
///
/// 心跳包间隔,单位秒
///
public int HeartRateSeconds { get; set; }
///
/// Server Web Socket url
///
public string NotificationUrl { get; set; }
///
/// 是否合流
///
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}";
}
}
}