| 123456789101112131415161718192021222324252627282930313233 |
- using System.Reflection;
- namespace qmonlib
- {
- [Serializable]
- public class MonItemGeneral
- {
- public string InstanceIdentifier { get; set; }
- public string Caption { get; set; }
- public string Description { get; set; }
- public MonViewType ViewType { get; set; }
- public List<ItemDescriptor> Items { get; set; } = new List<ItemDescriptor>();
- public class ItemDescriptor
- {
- public string Name { get; set; }
- public string TypeName { get; set; }
- public string Label { get; set; }
- public string Description { get; set; }
- public int Order { get; set; }
- [NonSerialized] public PropertyInfo? _propertyInfo;
- }
- public enum MonViewType
- {
- Item,
- List
- }
- }
- }
|