equal
deleted
inserted
replaced
634 return vars |
634 return vars |
635 |
635 |
636 def CTNTestModified(self): |
636 def CTNTestModified(self): |
637 return self.ChangesToSave or not self.ModelIsSaved() |
637 return self.ChangesToSave or not self.ModelIsSaved() |
638 |
638 |
639 def OnCTNSave(self): |
639 def OnCTNSave(self, from_project_path=None): |
640 config_filepath = self.ConfigFileName() |
640 config_filepath = self.ConfigFileName() |
641 |
641 |
642 config_text = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" |
642 config_text = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" |
643 config_extras = {"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", |
643 config_extras = {"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", |
644 "xsi:noNamespaceSchemaLocation" : "EtherCATInfo.xsd"} |
644 "xsi:noNamespaceSchemaLocation" : "EtherCATInfo.xsd"} |