XmlSerializer & Visitors #4526
Replies: 10 comments 21 replies
-
Yes that looks like the general idea. Before anything gets commited I need to double-check it against the branch I already have in progress that has already updated that file. I had already created some of that stuff. It gets hard to have multiple people trying to make these changes. One of the biggest hurdles is adding all the missing variables to the model class objects and having getters and setters for the XmlSerializer to retrieve and set the data. Regarding naming....I named it first so we get the American spelling. :) |
Beta Was this translation helpful? Give feedback.
-
So currently CandyCanes export as a Custom Model and there's no option for xLights Model. Any ideas why and more importantly with this change, can/should we change it back to native? IDK that I want to jump right into the custom model export - was trying to work down the list and just do CC next. |
Beta Was this translation helpful? Give feedback.
-
@AzGilrock as part of this change, should we
|
Beta Was this translation helpful? Give feedback.
-
Yeah I had a flat ribbon tree for like 6 years. I've retired my prop but some people might still be doing flat trees. |
Beta Was this translation helpful? Give feedback.
-
@AzGilrock Arch, CC and Circles all done (may need some attribure review) and all models added, visitors added and just need to create the Deserializers for the rest. But before I do that, I'd like to be able to get the submodels, aliases, groups to pull real values. I'll draft checxk-in what I have so you can see, but I just need a hand to get to the darn models. When you look at the code, you'll be able to see what I mean. Updating Draft PR |
Beta Was this translation helpful? Give feedback.
-
UPDATE.... (I need to get better at only keeping comments/questions in just one place - that PR is full if info/questions. - maybe I can bring them into here).
|
Beta Was this translation helpful? Give feedback.
-
@AzGilrock how the hell do I get to the View objects to get their values? Tried everyhing. TerrianObject (we have to change them to Terrain) all is blank, if I create my own function to pass and read an attribute like it doesn on InitModel .. I get defaults... I'm missing something. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Per discussion, starting work on changing the XML export/import to the new XmlSerializer (should it be Serialiser?) and Visitors support.
Took the original work for base model and MHAdv and added the rest of the parameters for the default models (WIP).
We'll run though a few on our own RGBEffects files to make sure no parms are missing.
@AzGilrock is this what you are loooking for - please say yes.. took me like an hour :)
Also, I haven't looked into, but assuming the vars can be anything at this point vs the actual variables used in the code...
Beta Was this translation helpful? Give feedback.
All reactions