public void WriteXml(XmlWriter w) { w.WriteElementString("CameraName", CameraName); w.WriteElementString("Autostream", XmlHelper.WriteBoolean(Autostream)); w.WriteElementString("Delay", XmlHelper.WriteFloat(Delay)); w.WriteElementString("DelayedDisplay", XmlHelper.WriteBoolean(DelayedDisplay)); }
public void WriteXml(XmlWriter w) { w.WriteElementString("FullPath", FullPath); w.WriteElementString("Autoplay", XmlHelper.WriteBoolean(Autoplay)); w.WriteElementString("SpeedPercentage", XmlHelper.WriteFloat((float)SpeedPercentage)); w.WriteElementString("Stretch", XmlHelper.WriteBoolean(Stretch)); w.WriteElementString("IsReplayWatcher", XmlHelper.WriteBoolean(IsReplayWatcher)); }
public void WriteXml(XmlWriter w) { w.WriteElementString("SimilarityThreshold", SimilarityThreshold.ToString(CultureInfo.InvariantCulture)); w.WriteElementString("TemplateUpdateThreshold", TemplateUpdateThreshold.ToString(CultureInfo.InvariantCulture)); w.WriteStartElement("SearchWindow"); w.WriteAttributeString("unit", SearchWindowUnit.ToString()); w.WriteString(XmlHelper.WriteSize(SearchWindow)); w.WriteEndElement(); w.WriteStartElement("BlockWindow"); w.WriteAttributeString("unit", BlockWindowUnit.ToString()); w.WriteString(XmlHelper.WriteSize(BlockWindow)); w.WriteEndElement(); w.WriteElementString("RefinementNeighborhood", RefinementNeighborhood.ToString(CultureInfo.InvariantCulture)); w.WriteElementString("ResetOnMove", XmlHelper.WriteBoolean(ResetOnMove)); }