multi channel support needed in mimiceditor

Forum Home Forums Development and Integration multi channel support needed in mimiceditor

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17255
    Zeus
    Participant

    Hi,
    I am trying to develop plugin. And i don’t know how to make plugin support more than one channel.

    #17259
    Mikhail
    Moderator

    Hi,
    Could you explain the question and provide some examples?

    #17260
    Zeus
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.