Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
1718 Низкоуровневое моделирование сетей на кристалле
Microservice
Commits
70a74bab
Commit
70a74bab
authored
3 weeks ago
by
Талибов Сэрхан Махмад Оглы
Browse files
Options
Download
Patches
Plain Diff
now renaming is more precise too
parent
84d0fd35
master
ui-port
1 merge request
!1
2 of 4 services are donwe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Broker/Broker/Properties/launchSettings.json
+1
-1
Broker/Broker/Properties/launchSettings.json
Project_manager/Project_manager/Program.cs
+17
-0
Project_manager/Project_manager/Program.cs
with
18 additions
and
1 deletion
+18
-1
Broker/Broker/Properties/launchSettings.json
+
1
−
1
View file @
70a74bab
...
...
@@ -2,7 +2,7 @@
"profiles"
:
{
"Broker"
:
{
"commandName"
:
"Project"
,
"commandLineArgs"
:
"--project -l D:/kal -n kal
-e
"
"commandLineArgs"
:
"--project -l D:/kal -n
ultrakal -r super
kal"
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Project_manager/Project_manager/Program.cs
+
17
−
0
View file @
70a74bab
...
...
@@ -57,8 +57,12 @@ namespace HDLNoCGen
string
metadata_location
=
$"
{
location
}
/
{
name
}
_metadata.json"
;
string
new_metadata_location
=
$"
{
location
}
/
{
new_name
}
_metadata.json"
;
string
graph_location
=
$"
{
location
}
/
{
name
}
_graph_object_serialized.json"
;
string
new_graph_location
=
$"
{
location
}
/
{
new_name
}
_graph_object_serialized.json"
;
string
verilog_location
=
$"
{
location
}
/
{
name
}
_NoC_description"
;
string
new_verilog_location
=
$"
{
location
}
/
{
new_name
}
_NoC_description"
;
switch
(
action
)
{
...
...
@@ -108,6 +112,19 @@ namespace HDLNoCGen
StreamWriter
sw
=
new
StreamWriter
(
new_metadata_location
);
sw
.
Write
(
json
);
sw
.
Close
();
if
(
File
.
Exists
(
graph_location
))
{
File
.
Move
(
graph_location
,
new_graph_location
);
}
if
(
File
.
Exists
(
metadata_location
))
{
File
.
Move
(
metadata_location
,
new_metadata_location
);
}
if
(
Directory
.
Exists
(
verilog_location
))
{
Directory
.
Move
(
verilog_location
,
new_verilog_location
);
}
}
catch
(
Exception
e
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets