using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MECF.Framework.UI.Client.CenterViews.Maitenances.CalibrationTable; namespace EfemDualUI.Views.PMs { public class CustomCalibration : ICalibrationTableViewModelParameter { public List Items { get { return _items; } set { _items = value; } } private List _items = new List(); public CustomCalibration(string module) { _items.Add(new CalibrationTableItem() { DisplayName = "Source RF 1", ItemEnableScName = $"{module}.Rf1.EnableCalibration", ItemTableScName = $"{module}.Rf1.CalibrationTable", }); _items.Add(new CalibrationTableItem() { DisplayName = "Bias RF 1", ItemEnableScName = $"{module}.BiasRf1.EnableCalibration", ItemTableScName = $"{module}.BiasRf1.CalibrationTable", }); _items.Add(new CalibrationTableItem() { DisplayName = "Source RF 2", ItemEnableScName = $"{module}.Rf2.EnableCalibration", ItemTableScName = $"{module}.Rf2.CalibrationTable", }); _items.Add(new CalibrationTableItem() { DisplayName = "Bias RF 2", ItemEnableScName = $"{module}.BiasRf2.EnableCalibration", ItemTableScName = $"{module}.BiasRf2.CalibrationTable", }); } } }