Skip to content
Snippets Groups Projects
Commit 31246187 authored by Patrik Paško's avatar Patrik Paško
Browse files

Merge branch 'nuget-package-test' into 'develop'

Empty commit

See merge request digital-twin/twinzo/tdevkit!18
parents 47b808f7 53232f52
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,15 @@ stages:
build:
stage: build
tags:
- net5
script:
- dotnet build
test:
stage: test
tags:
- net5
script:
- dotnet test
......
using Flurl;
using SDK.Models;
using SDK.Models;
using System;
using System.Threading.Tasks;
......
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;
......
......@@ -15,5 +15,6 @@
public long Timestamp { get; set; }
public int Index { get; set; }
}
}
......@@ -196,6 +196,7 @@ namespace Main
DataType = "Int32",
Unit = "unit"
};
var sensorDataContracts = new[] {data1, data2, data3 };
SensorContract sensor = new SensorContract
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment