Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
dfe2d348
Commit
dfe2d348
authored
13 years ago
by
Adam M Rivera
Browse files
Options
Downloads
Patches
Plain Diff
ParameterMetaDataParser.cs: Updated name of method to be more accurate to its purpose.
parent
09ffc69d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs
+3
-3
3 additions, 3 deletions
...ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs
with
3 additions
and
3 deletions
Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs
+
3
−
3
View file @
dfe2d348
...
@@ -41,7 +41,7 @@ namespace ArdupilotMega.Utilities
...
@@ -41,7 +41,7 @@ namespace ArdupilotMega.Utilities
// Read and parse the content.
// Read and parse the content.
string
dataFromAddress
=
ReadDataFromAddress
(
parameterLocation
);
string
dataFromAddress
=
ReadDataFromAddress
(
parameterLocation
);
Parse
Lib
Information
(
dataFromAddress
,
objXmlTextWriter
,
parameterLocation
);
Parse
Group
Information
(
dataFromAddress
,
objXmlTextWriter
,
parameterLocation
);
ParseParameterInformation
(
dataFromAddress
,
objXmlTextWriter
);
ParseParameterInformation
(
dataFromAddress
,
objXmlTextWriter
);
// Write the end element for this parameter location
// Write the end element for this parameter location
...
@@ -58,12 +58,12 @@ namespace ArdupilotMega.Utilities
...
@@ -58,12 +58,12 @@ namespace ArdupilotMega.Utilities
}
}
/// <summary>
/// <summary>
/// Parses the
lib
information.
/// Parses the
group parameter
information.
/// </summary>
/// </summary>
/// <param name="fileContents">The file contents.</param>
/// <param name="fileContents">The file contents.</param>
/// <param name="objXmlTextWriter">The obj XML text writer.</param>
/// <param name="objXmlTextWriter">The obj XML text writer.</param>
/// <param name="parameterLocation">The parameter location.</param>
/// <param name="parameterLocation">The parameter location.</param>
private
static
void
Parse
Lib
Information
(
string
fileContents
,
XmlTextWriter
objXmlTextWriter
,
string
parameterLocation
)
private
static
void
Parse
Group
Information
(
string
fileContents
,
XmlTextWriter
objXmlTextWriter
,
string
parameterLocation
)
{
{
var
parsedInformation
=
ParseKeyValuePairs
(
fileContents
,
ParameterMetaDataConstants
.
Group
);
var
parsedInformation
=
ParseKeyValuePairs
(
fileContents
,
ParameterMetaDataConstants
.
Group
);
if
(
parsedInformation
!=
null
&&
parsedInformation
.
Count
>
0
)
if
(
parsedInformation
!=
null
&&
parsedInformation
.
Count
>
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment