Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tDevkit
Manage
Activity
Members
Plan
Wiki
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
Digital Twin
Twinzo
tDevkit
Commits
b8711671
Commit
b8711671
authored
2 years ago
by
Michal Ondrejička
Browse files
Options
Downloads
Patches
Plain Diff
Fix merge bugs
parent
4e91b1b7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SDK/Connection/V3/Configuration.cs
+1
-2
1 addition, 2 deletions
SDK/Connection/V3/Configuration.cs
SDK/Connection/V3/Utils.cs
+3
-5
3 additions, 5 deletions
SDK/Connection/V3/Utils.cs
Test/Test/TestData.cs
+1
-0
1 addition, 0 deletions
Test/Test/TestData.cs
with
5 additions
and
7 deletions
SDK/Connection/V3/Configuration.cs
+
1
−
2
View file @
b8711671
using
Flurl
;
using
SDK.Models
;
using
SDK.Models
;
using
System
;
using
System.Threading.Tasks
;
...
...
This diff is collapsed.
Click to expand it.
SDK/Connection/V3/Utils.cs
+
3
−
5
View file @
b8711671
using
Flurl
;
using
SDK.Contracts.Data
;
using
SDK.Models
;
using
System.Threading.Tasks
;
...
...
@@ -36,17 +36,15 @@ namespace SDK
return
await
response
.
Content
.
ReadAsByteArrayAsync
();
}
public
async
Task
<
string
>
GetUnityLastVersion
(
string
platform
)
public
async
Task
<
string
>
GetUnityLastVersion
(
string
platform
)
{
string
subUrl
=
Address
.
UrlCombine
(
Address
.
UtilsUnityLastVersion
,
platform
);
string
subUrl
=
Address
.
UtilsUnityLastVersion
+
platform
;
var
response
=
await
GetRequest
<
string
>(
subUrl
);
return
response
;
}
public
async
Task
<
FileInfoContract
>
GetUnityBundleInfo
(
string
bundleName
)
public
async
Task
<
FileInfoContract
>
GetUnityBundleInfo
(
string
bundleName
)
{
string
subUrl
=
Address
.
UrlCombine
(
Address
.
UtilsUnityBundleInfo
,
bundleName
);
string
subUrl
=
Address
.
UtilsUnityBundleInfo
+
bundleName
;
var
response
=
await
GetRequest
<
FileInfoContract
>(
subUrl
);
return
response
;
...
...
This diff is collapsed.
Click to expand it.
Test/Test/TestData.cs
+
1
−
0
View file @
b8711671
...
...
@@ -196,6 +196,7 @@ namespace Main
DataType
=
"Int32"
,
Unit
=
"unit"
};
var
sensorDataContracts
=
new
[]
{
data1
,
data2
,
data3
};
SensorContract
sensor
=
new
SensorContract
{
...
...
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