using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LYFZ.CloudServerData.Model { /// /// 授杼验证信息 /// public class AuthorizationVerification { public AuthorizationVerification() { } LYFZ.CloudServerData.Model.DBConnection cloudDbConn=new DBConnection(); /// /// 云数据库连接对象 /// public LYFZ.CloudServerData.Model.DBConnection CloudDbConn { get { return cloudDbConn; } set { cloudDbConn = value; } } LYFZ.CloudServerData.Model.DBConnection dbConn; /// /// 数据库连接对象 /// public LYFZ.CloudServerData.Model.DBConnection DbConn { get { return dbConn; } set { dbConn = value; } } int _Multiple = 0; /// /// 当前服务器的流量倍数 /// public int Multiple { get { return _Multiple; } set { _Multiple = value; } } long _CloudServerID = 0; /// /// 托管理服务器ID 0 为店内服务器 /// public long CloudServerID { get { return _CloudServerID; } set { _CloudServerID = value; } } bool _AuthorizationCloudDatabase = false; /// /// 托管理数据库是否授权 /// public bool AuthorizationCloudDatabase { get { return _AuthorizationCloudDatabase; } set { _AuthorizationCloudDatabase = value; } } bool _AuthorizationMoveAPP = false; /// /// 手机APP是否已授权 /// public bool AuthorizationMoveAPP { get { return _AuthorizationMoveAPP; } set { _AuthorizationMoveAPP = value; } } string _MoveAPPApiUrl = ""; /// /// web接口地址 /// public string MoveAPPApiUrl { get { return _MoveAPPApiUrl; } set { _MoveAPPApiUrl = value; } } /// /// 授权状态 /// public bool AuthorizationStatus { get { return (_AuthorizationCloudDatabase || _AuthorizationMoveAPP); } } string message = "未授权连接请求,服务器拒绝执行"; /// /// 消息 /// public string Message { get { return message; } set { message = value; } } HPSocketCS.Extended.RequestParameters reqParameters; /// /// 请求参数 /// public HPSocketCS.Extended.RequestParameters ReqParameters { get { return reqParameters; } set { reqParameters = value; } } } }