|
@@ -1441,6 +1441,7 @@ namespace OTSModelSharp
|
|
|
|
|
|
pMsrParam.SetSTDName(stdFileName);
|
|
|
XmlNode root = doc.SelectSingleNode("XMLData");
|
|
|
+ root.RemoveAll();
|
|
|
Serialize(true, doc, root);
|
|
|
|
|
|
|
|
@@ -1471,10 +1472,10 @@ namespace OTSModelSharp
|
|
|
|
|
|
if (spl.IfUsingSysSTD())
|
|
|
{
|
|
|
- if (stdFileName != "NoSTDDB")
|
|
|
+ if (stdFileName != "NoSTDDB.db")
|
|
|
{
|
|
|
|
|
|
- var m_classifyEngine = new CClassifyEngine();
|
|
|
+ var m_classifyEngine = new CClassifyEngine();
|
|
|
IClassifyEngine engine = m_classifyEngine.GetParticleEngine(stdFileName);
|
|
|
|
|
|
if (!engine.Classify(part))
|
|
@@ -1547,6 +1548,7 @@ namespace OTSModelSharp
|
|
|
|
|
|
void Serialize(bool isStoring, XmlDocument classDoc, XmlNode rootNode)
|
|
|
{
|
|
|
+
|
|
|
// copy data over
|
|
|
if (m_pSEMStageData == null)
|
|
|
{
|