1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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<CalibrationTableItem> Items
- {
- get
- {
- return _items;
- }
- set
- {
- _items = value;
- }
- }
- private List<CalibrationTableItem> _items = new List<CalibrationTableItem>();
- 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",
- });
- }
- }
- }
|