aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.WebClientGenerator
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-23 23:50:13 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-23 23:50:13 +0200
commit879a7c2179d991f4b68a513f60de3472b2e64102 (patch)
tree283332c93e59ff85e05a61c930760ec3b1b2525b /Software/Visual_Studio/Utilities/Tango.WebClientGenerator
parentd4cde3ccf2c29991b65285396fb97eafa1e434df (diff)
downloadTango-879a7c2179d991f4b68a513f60de3472b2e64102.tar.gz
Tango-879a7c2179d991f4b68a513f60de3472b2e64102.zip
Implemented cached entities using DataResolver<T>.
Implemented DataResolver Builder. Implemented offline gateway, authentication, machines... Implemented online checking. Moved FSEWebClient and Gateway to BL. Implemented blocking of machines outside of the organization.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.WebClientGenerator')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.WebClientGenerator/Program.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.WebClientGenerator/Program.cs b/Software/Visual_Studio/Utilities/Tango.WebClientGenerator/Program.cs
index b05e6e311..36c88bffb 100644
--- a/Software/Visual_Studio/Utilities/Tango.WebClientGenerator/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.WebClientGenerator/Program.cs
@@ -17,13 +17,13 @@ namespace Tango.WebClientGenerator
static void Main(string[] args)
{
//Generate PPC client.
- GenerateWebClient<PPC.Common.Web.LoginRequest, PPC.Common.Web.LoginResponse, MachineService.Controllers.PPCController>("Tango.PPC.Common.Web", "PPCWebClientBase", PathHelper.GetSolutionFolder() + @"\PPC\Tango.PPC.Common\Web");
+ //GenerateWebClient<PPC.Common.Web.LoginRequest, PPC.Common.Web.LoginResponse, MachineService.Controllers.PPCController>("Tango.PPC.Common.Web", "PPCWebClientBase", PathHelper.GetSolutionFolder() + @"\PPC\Tango.PPC.Common\Web");
//Generate Machine Studio client.
- GenerateWebClient<MachineStudio.Common.Web.LoginRequest, MachineStudio.Common.Web.LoginResponse, MachineService.Controllers.MachineStudioController>("Tango.MachineStudio.Common.Web", "MachineStudioWebClientBase", PathHelper.GetSolutionFolder() + @"\MachineStudio\Tango.MachineStudio.Common\Web");
+ //GenerateWebClient<MachineStudio.Common.Web.LoginRequest, MachineStudio.Common.Web.LoginResponse, MachineService.Controllers.MachineStudioController>("Tango.MachineStudio.Common.Web", "MachineStudioWebClientBase", PathHelper.GetSolutionFolder() + @"\MachineStudio\Tango.MachineStudio.Common\Web");
//Generate FSE client.
- GenerateWebClientV2<FSE.Web.Messages.LoginRequest, FSE.Web.Messages.LoginResponse, MachineService.Controllers.FSEController>("Tango.FSE.Common.Web", "FSEWebClientBase", PathHelper.GetSolutionFolder() + @"\FSE\Tango.FSE.Common\Web");
+ GenerateWebClientV2<FSE.Web.Messages.LoginRequest, FSE.Web.Messages.LoginResponse, MachineService.Controllers.FSEController>("Tango.FSE.BL.Web", "FSEWebClientBase", PathHelper.GetSolutionFolder() + @"\FSE\Tango.FSE.BL\Web");
}
private static void GenerateWebClient<TLoginRequest, TLoginResponse, TController>(String nameSpace, String name, String path) where TLoginRequest : WebRequestMessage where TLoginResponse : WebTokenResponse where TController : TangoController