public GameConsoleSetup(string Name = "Game Console", string ColorID = "#505055", int NumberID = 0, bool EditEnabled = false) { this.Name = Name; this.ColorID = ColorID; this.NumberID = NumberID; this.EditEnabled = EditEnabled; Properties = new GameConsoleProperties(); ReportProperties = new GameConsoleReportProperties(); ClientData = new GameConsoleClientInformation(); }
public void Copy(GameConsoleProperties inputSettings)//Via input { try { EndTime = inputSettings.EndTime; ExtraControls = inputSettings.ExtraControls; LastTimeElapsed = inputSettings.LastTimeElapsed; LastTotalConsumption = inputSettings.LastTotalConsumption; PrePaid = inputSettings.PrePaid; PrePaidTime = inputSettings.PrePaidTime; StartTime = inputSettings.StartTime; Status = inputSettings.Status; TimeElapsed = inputSettings.TimeElapsed; TotalConsumption = inputSettings.TotalConsumption; } catch (Exception e) { MessageLogManager.LogMessage("PBM - CP ::::> Error copy failed: " + e.Message); } }