public MPS()
        {
            InitializeComponent();
            parkingDatabaseFactory = new ParkingDatabaseFactory();

            mpsSetting = ConfigurationReader.GetMPSConfigurationSettings();

            // if (mpsSetting.MPSDeviceID == null)
            //   FileLogger.Log($"Problem Loading Configuration Information from Configuration File");
        }
Beispiel #2
0
        public MPS(string mpsUserEntryTime)
        {
            _mpsUserEntryTime = mpsUserEntryTime;
            InitializeComponent();
            _parkingDatabaseFactory = new ParkingDatabaseFactory(Common.Enums.Application.ManualPayStation);

            mpsSetting = (ManualPayStationSettings)ConfigurationReader.GetConfigurationSettings(Common.Enums.Application.ManualPayStation);

            if (mpsSetting.DeviceId == null)
            {
                FileLogger.Log($"Problem Loading Configuration Information from Configuration File");
            }
        }
Beispiel #3
0
        public VehicleEntry()
        {
            InitializeComponent();
            parkingDatabaseFactory = new ParkingDatabaseFactory(Common.Enums.Application.TicketDispenserClient);

            settings = (TickerDispenserClientSettings)ConfigurationReader.GetConfigurationSettings(Common.Enums.Application.TicketDispenserClient);

            if (settings.DeviceId == null)
            {
                FileLogger.Log($"Problem Loading Configuration Information from Configuration File");
            }

            LoadMasterSetting();
        }
Beispiel #4
0
 public LogIN()
 {
     InitializeComponent();
     _parkingDatabaseFactory = new ParkingDatabaseFactory(Common.Enums.Application.ManualPayStation);
 }
        public TicketDispenserServerForm()
        {
            InitializeComponent();

            _parkingDatabaseFactory = new ParkingDatabaseFactory(Common.Enums.Application.TickerDispenserServer);
        }
 public VehicleEntry()
 {
     InitializeComponent();
     parkingDatabaseFactory = new ParkingDatabaseFactory();
 }
Beispiel #7
0
 public PendingVehicles()
 {
     InitializeComponent();
     _prkingDatabaseFactory = new ParkingDatabaseFactory(Common.Enums.Application.ManualPayStation);
 }
Beispiel #8
0
 public Settings()
 {
     InitializeComponent();
     parkingDatabaseFactory = new ParkingDatabaseFactory();
 }