using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using ServerCore; using ServerBase; using META_ID = System.UInt32; using OWNER_GUID = System.String; using META_TYPE = System.String; namespace ServerCommon.BusinessLogDomain; public class CustomDefineUiLogInfo : ILogInvoker.IInfo { [JsonProperty] public OwnerEntityType OwnerEntityType { get; set; } = OwnerEntityType.None; [JsonProperty] public OWNER_GUID OwnerGuid { get; set; } = string.Empty; [JsonProperty] public string CustomDefineUiPK { get; set; } = string.Empty; [JsonProperty] public string CustomDefineUiSK { get; set; } = string.Empty; [JsonProperty] public string UiKey { get; set; } = string.Empty; [JsonProperty] public string CustomDefinedUi { get; set; } = string.Empty; //===================================================================================== // 로그 생성용 객체 정의 //===================================================================================== public CustomDefineUiLogInfo() : base() { } public void setInfo(CustomDefineUiLogInfo logInfo) { OwnerEntityType = logInfo.OwnerEntityType; OwnerGuid = logInfo.OwnerGuid; CustomDefineUiPK = logInfo.CustomDefineUiPK; CustomDefineUiSK = logInfo.CustomDefineUiSK; UiKey = logInfo.UiKey; CustomDefinedUi = logInfo.CustomDefinedUi; } //===================================================================================== // 로그 출력용 객체 정의 //===================================================================================== public CustomDefineUiLogInfo(ILogInvoker parent, CustomDefineUiLogInfo logInfo) : base(parent) { setInfo(logInfo); } //===================================================================================== // 로그 설정용 함수 //===================================================================================== public void setLogProperty( OwnerEntityType ownerEntityType, OWNER_GUID ownerGuid , string customDefineUiPK, string customDefineUiSK , string uiKey, string customDefinedUi ) { OwnerEntityType = ownerEntityType; OwnerGuid = ownerGuid; CustomDefineUiPK = customDefineUiPK; CustomDefineUiSK = customDefineUiSK; UiKey = uiKey; CustomDefinedUi = customDefinedUi; } }