Spice |
public void Append<T>( T list ) where T : new(), Spice3CommandList
[Missing <typeparam name="T"/> documentation for "M:RAYLASE.SPICE3.Spice3CommandList.Append``1(``0)"]
using ( ClientAPI client = new ClientAPI() ) { client.Connect( cardIP ); // <--- insert your card's IP address here! client.System.ResetToDefaults(); CommandList list = new CommandList(); CommandList otherList = new CommandList(); list.AppendJumpAbs(0,0); otherList.AppendMarkAbs(500,500); otherList.AppendJumpAbs(100,200); list.Append(otherList); client.List.Set(1,list); Console.WriteLine("There are {0} commands: {1}", client.List.GetListCaret(1), client.List.GetListContents(1) ); // // output should be: // There are 3 commands: JUMP_ABS 0 0; MARK_ABS 500 500; JUMP_ABS 100 200; // // etc }