Esempio n. 1
0
 public MainForm()
 {
     InitializeComponent();
     Logger.Instance.Strategy = LogStrategy.All;
     this.createUserButton.Hide();
     _scadaEngine = new ScadaEngine();
     this.InitializeAll();
     //Only proceed if SCADA is initialised
     _webApiClient = new WebApiClient("http://192.168.1.102:8080/");
     //disableUserControl(); // Default on startup - user must login first
 }
Esempio n. 2
0
 public CreateUserForm(WebApiClient _webApiClient)
     : this()
 {
     this._webApiClient = _webApiClient;
 }