Hi.
The RegularComponentDescriptor have PropertyDescriptor below. It supports only one cnl
this.add(new PropertyDescriptor({
name: “inCnlNum”,
displayName: “Input channel”,
category: KnownCategory.DATA,
type: BasicType.INT
}));
And the function below bind cnl in xml
/// <summary>
/// Binds the view to the configuration database.
/// </summary>
public override void Bind(ConfigDataset configDataset)
{
foreach (Component component in Mimic.EnumerateComponents())
{
if (component.Bindings != null)
{
component.Bindings.BindChannels(configDataset);
component.Bindings.OffsetCnlNums(viewArgs.CnlOffset);
component.Bindings.GetAllCnlNums().ForEach(cnlNum =>
AddCnl(configDataset.CnlTable.GetItem(cnlNum)));
}
}
}
Now i am developing mimic plugin it need more than one cnl. I don’t know how to make a PropertyDescriptor support more than one cnl and it can bind.