public Panel(ObjectInfo info)
{
var obj = client.With<ISchedule>(
info.DeviceInstance,
info.ObjectIdentifier);
var form = new FormBuilder()
.AddGroup(Constants.CorePropertiesHeader)
.AddRow(
createLabel(Constants.ObjectNameLabel),
bindEditor(obj, sch => sch.ObjectName))
.AddRow(
createLabel(Constants.OutOfServiceLabel),
bindEditor(obj, sch => sch.OutOfService))
.End()
.End();
this.Content = form.Root;
}