1234567891011121314151617181920212223 |
- using IES.ExamServer.Models;
- namespace IES.ExamServer.DI
- {
- public class CenterServiceConnectionService
- {
- private bool _centerIsConnected;
- private bool _notifyIsConnected;
- public string? centerUrl { get; set; }
- public string? notifyUrl { get; set; }
- public ServerDevice? serverDevice { get; set; }
- public bool notifyIsConnected
- {
- get { return string.IsNullOrWhiteSpace(notifyUrl) ? false : _notifyIsConnected; }
- set { _notifyIsConnected = value; }
- }
- public bool centerIsConnected
- {
- get { return string.IsNullOrWhiteSpace(centerUrl) ? false : _centerIsConnected; }
- set { _centerIsConnected = value; }
- }
- }
- }
|