aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-19 17:08:28 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-19 17:08:28 +0200
commitcc19ab7414f097370b14f8655f76721701e3f47b (patch)
treec49380f7e1846bfc2093e28318868b6888b7fd98 /Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs
parentc3ed01b6c75c44cfeca650b43deb058b1551a9bb (diff)
downloadTango-cc19ab7414f097370b14f8655f76721701e3f47b.tar.gz
Tango-cc19ab7414f097370b14f8655f76721701e3f47b.zip
Improved DB speed for Azure data source !!
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs')
-rw-r--r--Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs
index 94d30df98..0edab542a 100644
--- a/Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs
+++ b/Software/Visual_Studio/Tango.UnitTesting/MachineService_TST.cs
@@ -5,6 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Synchronization;
+using Tango.PPC.Common.MachineUpdate;
using Tango.Transport.Web;
namespace Tango.UnitTesting
@@ -17,7 +18,7 @@ namespace Tango.UnitTesting
public void Check_For_Updates()
{
IWebTransportClient client = new WebTransportClient();
- var result = client.Post<CheckForUpdateRequest, CheckForUpdateResponse>("http://localhost:51581/api/PPC/CheckForUpdate", new CheckForUpdateRequest()
+ var result = client.PostJson<CheckForUpdateRequest, CheckForUpdateResponse>("http://localhost:51581/api/PPC/CheckForUpdate", new CheckForUpdateRequest()
{
SerialNumber = "0000",
Version = "0.0.0.0",