Пример #1
0
    ///summary:  Updates an rTable.
    public void SetTable(int opNum, Godot.Collections.Array input, RTableIntent intent)
    {
        IResponseTable tbl = c.Voice.egs[opNum].GetTable(intent);

        for (int i = 0; i < input.Count; i++)
        {
            tbl.UpdateValue((byte)i, Convert.ToUInt16(input[i]));
        }
    }
Пример #2
0
    //////////////////////////////    rTABLE    ////////////////////////////////////
    ///summary:  Updates a single column in an rTable.
    public void UpdateTable(int opNum, int column, int value, RTableIntent intent)
    {
        IResponseTable tbl = c.Voice.egs[opNum].GetTable(intent);

        tbl.UpdateValue((byte)column, (ushort)value);
    }