Changes between Version 10 and Version 11 of Internal/InventoryV3
- Timestamp:
- Oct 8, 2009, 9:41:01 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/InventoryV3
v10 v11 117 117 ---- 118 118 119 Working on the writer I've created a internal data type called Xmldata, it's got exactly the same fields a nd Info andpopulates them from the generated xml file.119 Working on the writer I've created a internal data type called Xmldata, it's got exactly the same fields as Info, but populates them from the generated xml file. 120 120 121 121 Working on the mysql part of I have to examine the code that lives in … … 126 126 NOTE: mysql query strings should be crafted prior to the actual execusiton of the query, since they don't always form the way you think they do. Also the %&string& formulation of strings is very helpfull in getting the quotes correct. 127 127 128 === 10/08/09 === 129 130 The writer script is now equipped with two classes Xmldata, and Identify. Both can only be instantiated by the create command, making them singletons (create will only run new if one does not already exist). Identify instantiates an Xmldata class, and then uses the x and y coordinates and the domain to determine a location id (the global unique identifier that ties all the tables together.) I also get the max id from the Inventory ids, assuming that the highest number is the latest.