public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.OutOfElem(); }
public override void LoadData(ManagedAnimatInterfaces.IStdXml oXml) { base.LoadData(oXml); oXml.IntoElem(); m_iUpdateAllParamsCount = oXml.GetChildInt("UpdateAllParamsCount", m_iUpdateAllParamsCount); m_iUpdateQueueIndex = oXml.GetChildInt("UpdateQueueIndex", m_iUpdateQueueIndex); oXml.OutOfElem(); }
public override void SaveSimulationXml(ManagedAnimatInterfaces.IStdXml oXml, ref AnimatGUI.Framework.DataObject nmParentControl, string strName = "") { base.SaveSimulationXml(oXml, ref nmParentControl, strName); oXml.IntoElem(); oXml.AddChildElement("UpdateAllParamsCount", m_iUpdateAllParamsCount); oXml.AddChildElement("UpdateQueueIndex", m_iUpdateQueueIndex); oXml.OutOfElem(); }
public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.AddChildElement("UpdateAllParamsCount", m_iUpdateAllParamsCount); oXml.AddChildElement("UpdateQueueIndex", m_iUpdateQueueIndex); oXml.OutOfElem(); }
public override void SaveSimulationXml(ManagedAnimatInterfaces.IStdXml oXml, ref AnimatGUI.Framework.DataObject nmParentControl, string strName = "") { base.SaveSimulationXml(oXml, ref nmParentControl, strName); oXml.IntoElem(); oXml.AddChildElement("MaxPulse", m_iMaxPulse); oXml.AddChildElement("MinPulse", m_iMinPulse); oXml.AddChildElement("ResetToStartPos", m_bResetToStartPos); oXml.OutOfElem(); }
public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.AddChildElement("MaxPulse", m_iMaxPulse); oXml.AddChildElement("MinPulse", m_iMinPulse); oXml.AddChildElement("ResetToStartPos", m_bResetToStartPos); oXml.OutOfElem(); }
public override void LoadData(ManagedAnimatInterfaces.IStdXml oXml) { base.LoadData(oXml); oXml.IntoElem(); m_iMaxPulse = oXml.GetChildInt("MaxPulse", m_iMaxPulse); m_iMinPulse = oXml.GetChildInt("MinPulse", m_iMinPulse); m_bResetToStartPos = oXml.GetChildBool("ResetToStartPos", m_bResetToStartPos); oXml.OutOfElem(); }
public override void SaveSimulationXml(ManagedAnimatInterfaces.IStdXml oXml, ref DataObject nmParentControl, string strName = "") { base.SaveSimulationXml(oXml, ref nmParentControl, strName); oXml.IntoElem(); oXml.AddChildElement("ComPort", m_strComPort); oXml.AddChildElement("BaudRate", m_iBaudRate); oXml.OutOfElem(); }
public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.AddChildElement("ComPort", m_strComPort); oXml.AddChildElement("BaudRate", m_iBaudRate); oXml.OutOfElem(); }
public override void LoadData(ManagedAnimatInterfaces.IStdXml oXml) { base.LoadData(oXml); oXml.IntoElem(); m_strComPort = oXml.GetChildString("ComPort", m_strComPort); m_iBaudRate = oXml.GetChildInt("BaudRate", m_iBaudRate); oXml.OutOfElem(); }
public override void SaveSimulationXml(ManagedAnimatInterfaces.IStdXml oXml, ref AnimatGUI.Framework.DataObject nmParentControl, string strName = "") { base.SaveSimulationXml(oXml, ref nmParentControl, strName); oXml.IntoElem(); oXml.OutOfElem(); }
public override void LoadData(ManagedAnimatInterfaces.IStdXml oXml) { base.LoadData(oXml); oXml.IntoElem(); m_iPortNumber = oXml.GetChildInt("PortNumber", m_iPortNumber); m_iBaudRate = oXml.GetChildInt("BaudRate", m_iBaudRate); oXml.OutOfElem(); }
public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.AddChildElement("PortNumber", m_iPortNumber); oXml.OutOfElem(); }
public override void SaveSimulationXml(ManagedAnimatInterfaces.IStdXml oXml, ref AnimatGUI.Framework.DataObject nmParentControl, string strName = "") { base.SaveSimulationXml(oXml, ref nmParentControl, strName); oXml.IntoElem(); oXml.AddChildElement("ResetToStartPos", m_bResetToStartPos); oXml.AddChildElement("QueryMotorData", m_bQueryMotorData); oXml.AddChildElement("MinPosFP", m_iMinPosFP); oXml.AddChildElement("MaxPosFP", m_iMaxPosFP); oXml.AddChildElement("MinAngle", m_fltMinAngle); oXml.AddChildElement("MaxAngle", m_fltMaxAngle); oXml.AddChildElement("MinVelocityFP", m_iMinVelocityFP); oXml.AddChildElement("MaxVelocityFP", m_iMaxVelocityFP); oXml.AddChildElement("RPMPerFPUnit", m_fltRPMPerFPUnit); oXml.AddChildElement("MinLoadFP", m_iMinLoadFP); oXml.AddChildElement("MaxLoadFP", m_iMaxLoadFP); oXml.AddChildElement("IsHinge", IsHinge); oXml.AddChildElement("CWComplianceMargin", m_iCWComplianceMargin); oXml.AddChildElement("CCWComplianceMargin", m_iCCWComplianceMargin); oXml.AddChildElement("CWComplianceSlope", m_iCWComplianceSlope); oXml.AddChildElement("CCWComplianceSlope", m_iCCWComplianceSlope); oXml.AddChildElement("MaxTorque", m_iMaxTorque); if (!IsHinge) m_snTranslationRange.SaveSimulationXml(oXml, ref nmParentControl, "TranslationRange"); oXml.OutOfElem(); }
public override void SaveData(ManagedAnimatInterfaces.IStdXml oXml) { base.SaveData(oXml); oXml.IntoElem(); oXml.AddChildElement("ResetToStartPos", m_bResetToStartPos); oXml.AddChildElement("QueryMotorData", m_bQueryMotorData); oXml.AddChildElement("MinPosFP", m_iMinPosFP); oXml.AddChildElement("MaxPosFP", m_iMaxPosFP); oXml.AddChildElement("MinAngle", m_fltMinAngle); oXml.AddChildElement("MaxAngle", m_fltMaxAngle); oXml.AddChildElement("MinVelocityFP", m_iMinVelocityFP); oXml.AddChildElement("MaxVelocityFP", m_iMaxVelocityFP); oXml.AddChildElement("RPMPerFPUnit", m_fltRPMPerFPUnit); oXml.AddChildElement("MinLoadFP", m_iMinLoadFP); oXml.AddChildElement("MaxLoadFP", m_iMaxLoadFP); oXml.AddChildElement("CWComplianceMargin", m_iCWComplianceMargin); oXml.AddChildElement("CCWComplianceMargin", m_iCCWComplianceMargin); oXml.AddChildElement("CWComplianceSlope", m_iCWComplianceSlope); oXml.AddChildElement("CCWComplianceSlope", m_iCCWComplianceSlope); oXml.AddChildElement("MaxTorque", m_iMaxTorque); if (!IsHinge) m_snTranslationRange.SaveData(oXml, "TranslationRange"); oXml.OutOfElem(); }
public override void LoadData(ManagedAnimatInterfaces.IStdXml oXml) { base.LoadData(oXml); oXml.IntoElem(); m_bResetToStartPos = oXml.GetChildBool("ResetToStartPos", m_bResetToStartPos); m_bQueryMotorData = oXml.GetChildBool("QueryMotorData", m_bQueryMotorData); m_iMinPosFP = oXml.GetChildInt("MinPosFP", m_iMinPosFP); m_iMaxPosFP = oXml.GetChildInt("MaxPosFP", m_iMaxPosFP); m_fltMinAngle = oXml.GetChildFloat("MinAngle", m_fltMinAngle); m_fltMaxAngle = oXml.GetChildFloat("MaxAngle", m_fltMaxAngle); m_iMinVelocityFP = oXml.GetChildInt("MinVelocityFP", m_iMinVelocityFP); m_iMaxVelocityFP = oXml.GetChildInt("MaxVelocityFP", m_iMaxVelocityFP); m_iCWComplianceMargin = oXml.GetChildInt("CWComplianceMargin", m_iCWComplianceMargin); m_iCCWComplianceMargin = oXml.GetChildInt("CCWComplianceMargin", m_iCCWComplianceMargin); m_iCWComplianceSlope = oXml.GetChildInt("CWComplianceSlope", m_iCWComplianceSlope); m_iCCWComplianceSlope = oXml.GetChildInt("CCWComplianceSlope", m_iCCWComplianceSlope); m_iMaxTorque = oXml.GetChildInt("MaxTorque", m_iMaxTorque); if (oXml.FindChildElement("MaxRotMin", false)) m_fltRPMPerFPUnit = oXml.GetChildFloat("MaxRotMin", m_fltRPMPerFPUnit); else m_fltRPMPerFPUnit = oXml.GetChildFloat("RPMPerFPUnit", m_fltRPMPerFPUnit); m_iMinLoadFP = oXml.GetChildInt("MinLoadFP", m_iMinLoadFP); m_iMaxLoadFP = oXml.GetChildInt("MaxLoadFP", m_iMaxLoadFP); if (!IsHinge && oXml.FindChildElement("TranslationRange", false)) m_snTranslationRange.LoadData(oXml, "TranslationRange"); oXml.OutOfElem(); }