public void StoreData(string name, ICGDataContainer data) { if (IsConnected) { Connection.SendString(string.Format("DATA STORE \"{0}\" \"{1}\"", name, 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 Update(int layer, ICGDataContainer data) { string dataxml = data.ToXml(); string updateRequest = UpdateRequestTemplate20; StringBuilder request = new StringBuilder(updateRequest, dataxml.Length + updateRequest.Length); request.Replace("$LAYER$", layer.ToString()); request.Replace("$DATA$", dataxml); InvokeFlashCall(request.ToString()); }
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 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, ICGDataContainer data) { Add(videoLayer, layer, template, false, data); }
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 Add(int videoLayer, int layer, string template, ICGDataContainer data) { Add(videoLayer, layer, template, false, data); }
public bool Add(int layer, string template, bool bPlayOnLoad, ICGDataContainer data) { return(Add(layer, template, bPlayOnLoad, (data != null) ? data.ToXml() : string.Empty)); }
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())); }
public bool Add(int layer, string template, bool bPlayOnLoad, ICGDataContainer data) { return Add(layer, template, bPlayOnLoad, (data != null) ? data.ToXml() : string.Empty); }