예제 #1
0
        protected override void _PopulateObject(ModuleStore obj, XElement element)
        {
            // Alternate data path handled by VixenSystem.
            ModuleStaticDataSet moduleData = _ReadModuleData(element);

            obj.Data = moduleData;
        }
예제 #2
0
        private ModuleStaticDataSet _ReadModuleData(XElement element)
        {
            XElement            moduleDataElement = element.Element(ELEMENT_MODULE_DATA);
            ModuleStaticDataSet moduleData        = new ModuleStaticDataSet();

            if (moduleDataElement != null)
            {
                moduleData.Deserialize(moduleDataElement.ToString());
            }

            return(moduleData);
        }
        protected override void _PopulateObject(UserData obj, XElement element)
        {
            bool isContext = _ReadContextFlag(element);
            Guid identity  = _ReadIdentity(element);
            // Alternate data path handled by VixenSystem.
            ModuleStaticDataSet moduleData = _ReadModuleData(element);

            _channels = _ReadChannels(element);
            ChannelNode[] nodes = _ReadNodes(element);

            obj.IsContext  = isContext;
            obj.Identity   = identity;
            obj.ModuleData = moduleData;
            obj.Channels   = _channels;
            obj.Nodes      = nodes;
        }
예제 #4
0
 public UserData()
 {
     Identity   = Guid.NewGuid();
     ModuleData = new ModuleStaticDataSet();
 }
예제 #5
0
 public ModuleStore()
 {
     TypeData     = new ModuleStaticDataSet();
     InstanceData = new ModuleLocalDataSet();
 }