| 12345678910111213141516171819202122232425262728293031323334 |
- using LocalhostMES.Controller;
- using Prism.Ioc;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Runtime.InteropServices.WindowsRuntime;
- using System.Text;
- using System.Threading.Tasks;
- namespace LocalhostMES.Core
- {
- public class Management
- {
- private IContainerProvider _container;
- private WebApiService _webApiService;
- private MesApiClient _apiClient;
- private bool _IsLocalhostMode = false;
- public MesApiClient ApiClient { get => _apiClient; set => _apiClient = value; }
- public WebApiService WebApiService { get => _webApiService; set => _webApiService = value; }
- public bool IsLocalhostMode { get => _IsLocalhostMode; set => _IsLocalhostMode = value; }
- public static Management management = new Management();
- public static Management GetManagement()
- {
- return management;
- }
- }
- }
|