| 1234567891011121314151617 |
- using qmonlib.Attributes;
- namespace qmonlib.Test
- {
- [MonitoredClass(Caption = "Person", Description = "Simple personal info", ViewType = MonItemGeneral.MonViewType.List)]
- public class TestItem
- {
- [MonitoredPropertyKey(KeyOrder = 1)]
- [MonitoredProperty(Name = "FirstName", Label="First Name", Description = "First name of the person", Order = 1)]
- public string FirstName { get; set; }
- [MonitoredPropertyKey(KeyOrder = 0)]
- [MonitoredProperty(Name = "LastName", Label="Last Name", Description = "Last name of the person", Order = 0)]
- public string LastName { get; set; }
- [MonitoredProperty(Name = "Age", Description = "Age of the person", Order = 2)]
- public int Age { get; set;}
- }
- }
|