public void Update(int layer, ICGDataContainer data) { Channel.Connection.SendString("CG " + Channel.ID + " UPDATE " + layer + " " + " \"" + data.ToAMCPEscapedXml() + "\""); }
public void Update(int videoLayer, int layer, ICGDataContainer data) { if (videoLayer == -1) Update(layer, data); else Channel.Connection.SendString("CG " + Channel.ID + "-" + videoLayer + " UPDATE " + layer + " " + " \"" + data.ToAMCPEscapedXml() + "\""); }
public void StoreData(string name, ICGDataContainer data) { if (IsConnected) { Connection.SendString(string.Format("DATA STORE \"{0}\" \"{1}\"", name, data.ToAMCPEscapedXml())); } }
public void Add(int videoLayer, int layer, string template, bool bPlayOnLoad, ICGDataContainer data) { if (videoLayer == -1) Add(layer, template, bPlayOnLoad, data); else Channel.Connection.SendString("CG " + Channel.ID + "-" + videoLayer + " ADD " + layer + " \"" + template + "\" " + (bPlayOnLoad ? "1" : "0") + " \"" + ((data != null) ? data.ToAMCPEscapedXml() : string.Empty) + "\""); }
public void Add(int videoLayer, int layer, string template, bool bPlayOnLoad, ICGDataContainer data) { if (videoLayer == -1) { Add(layer, template, bPlayOnLoad, data); } else { Channel.Connection.SendString("CG " + Channel.ID + "-" + videoLayer + " ADD " + layer + " \"" + template + "\" " + (bPlayOnLoad ? "1" : "0") + " \"" + (data?.ToAMCPEscapedXml() ?? string.Empty) + "\""); } }
public void Add(int layer, string template, bool bPlayOnLoad, ICGDataContainer data) { Channel.Connection.SendString("CG " + Channel.ID + " ADD " + layer + " \"" + template + "\" " + (bPlayOnLoad ? "1" : "0") + " \"" + (data?.ToAMCPEscapedXml() ?? string.Empty) + "\""); }
public void Update(int videoLayer, int layer, ICGDataContainer data) { if (videoLayer == -1) { Update(layer, data); } else { Channel.Connection.SendString("CG " + Channel.ID + "-" + videoLayer + " UPDATE " + layer + " " + " \"" + data.ToAMCPEscapedXml() + "\""); } }
public void Update(int layer, ICGDataContainer data) { Channel.Connection.SendString("CG " + Channel.ID + " UPDATE " + layer + " " + " \"" + data.ToAMCPEscapedXml() + "\""); }
public void StoreData(string name, ICGDataContainer data) { if (IsConnected) Connection.SendString(string.Format("DATA STORE \"{0}\" \"{1}\"", name, data.ToAMCPEscapedXml())); }