BACnet.Explorer.Core.Plugins.Tabs.TrendLogInfoTab.Panel.Panel C# (CSharp) Method

Panel() public method

public Panel ( ObjectInfo info ) : System
info ObjectInfo
return System
            public Panel(ObjectInfo info)
            {
                var obj = client.With<ITrendLog>(
                    info.DeviceInstance,
                    info.ObjectIdentifier);

                var form = new FormBuilder()
                    .AddGroup(Constants.CorePropertiesHeader)
                        .AddRow(
                            createLabel(Constants.ObjectNameLabel),
                            bindEditor(obj, tl => tl.ObjectName))
                        .AddRow(
                            createLabel(Constants.LogIntervalLabel),
                            bindEditor(obj, tl => tl.LogInterval),
                            createLabel(Constants.TotalRecordCountLabel),
                            bindEditor(obj, tl => tl.TotalRecordCount)
                        )
                        .End()
                    .End();

                this.Content = form.Root;
            }
TrendLogInfoTab.Panel