コード例 #1
0
 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));
 }
コード例 #2
0
 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));
 }
コード例 #3
0
        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));
        }