public void DeepCopyFrom(OrderLocationKindInfo src) { System.Diagnostics.Debug.Assert(src != null); this.code = src.Code; this.description = src.description; }
public OrderProvisionInfo() { // [2016-03-31] 기본 발령 정보를 시험으로 생성 - by Gonzi //this.mode = BasisData.FindOrderModeInfoByCode(CAPLib.StatusType.Actual); this.mode = BasisData.FindOrderModeInfoByCode(CAPLib.StatusType.Test); this.messageType = MsgType.Alert; this.scope = ScopeType.Public; this.disaster = new Disaster(); this.disaster.Category = new DisasterCategory(); this.disaster.Kind = new DisasterKind(); this.refType = new OrderReferenceType(); this.refRecordID = string.Empty; this.msgTextInfo = new SendingMsgTextInfo(); this.targetRegions = new List <RegionDefinition>(); this.targetSystems = new List <SASProfile>(); this.circle = new List <AdengGE.CircleInfo>(); this.orderLocationKind = OrderLocationKind.Local; this.targetSystemsKinds = new List <SASKind>(); this.tag = null; }
public static string GetDisplayStringLocationKindName(OrderLocationKind locationKind) { if (!orderLocationKindInfo.ContainsKey(locationKind)) { return("Unknown(" + locationKind.ToString() + ")"); } return(orderLocationKindInfo[locationKind].Description); }
public void DeepCopyFrom(OrderRecord src) { System.Diagnostics.Debug.Assert(src != null); this.capID = src.capID; this.orderedTime = src.orderedTime; this.orderMode = src.OrderMode; this.locationKind = src.locationKind; this.refType = src.refType; this.refRecordID = src.refRecordID; this.disasterKindCode = src.disasterKindCode; this.clearState = src.clearState; this.capText = src.capText; }
public static OrderLocationKindInfo FindOrderLocationKindByKindCode(OrderLocationKind locationKind) { if (!orderLocationKindInfo.ContainsKey(locationKind)) { OrderLocationKindInfo unknown = new OrderLocationKindInfo(); unknown.Code = OrderLocationKind.Unknown; unknown.Description = OrderLocationKind.Unknown.ToString(); return(unknown); } OrderLocationKindInfo copy = new OrderLocationKindInfo(); copy.DeepCopyFrom(orderLocationKindInfo[locationKind]); return(copy); }
public OrderLocationKindInfo(OrderLocationKind code, string description) { this.code = code; this.description = description; }
public OrderLocationKindInfo() { this.code = OrderLocationKind.Unknown; this.description = OrderLocationKind.Unknown.ToString(); }