Beispiel #1
0
 public ActivatePassReciptPage(string generatedPassType, string StationType)
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     dal_Exceptionlog           = new DALExceptionManagment();
     dal_home = new DALHome();
 }
 public CheckOutReceiptPage(string vehicleInformation, CustomerParkingSlot objInput)
 {
     InitializeComponent();
     VehicleInformation         = vehicleInformation;
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     LoadVehicleCheckOutDetails(vehicleInformation, objInput);
 }
Beispiel #3
0
 public NFCCardPaymentReceiptPagae()
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     dal_Exceptionlog           = new DALExceptionManagment();
     dal_home = new DALHome();
 }
        public CheckOutPaymentConfirmationPage(string redirectdFrom, CustomerParkingSlot objInput)
        {
            InitializeComponent();
            stLayoutPaymentConfirmCheckOut.IsVisible = false;
            ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
            PageCalledBy = redirectdFrom;
            objviolationVehicleChekOut = objInput;
            ImgVehicleType.Source      = objInput.VehicleTypeID.VehicleIcon;
            labelChekInAmount.Text     = "(" + objInput.VehicleTypeID.VehicleTypeName + " - For " + objInput.Duration + " Hours)";
            labelVehicleRegNumber.Text = objInput.CustomerVehicleID.RegistrationNumber;
            labelParkingLocation.Text  = objInput.LocationParkingLotID.LocationID.LocationName + "-" + objInput.LocationParkingLotID.LocationParkingLotName + "," + objInput.LocationParkingLotID.ParkingBayID.ParkingBayName + " " + objInput.LocationParkingLotID.ParkingBayID.ParkingBayRange;

            if (redirectdFrom == "ViolationVehicleInformation")
            {
                labelChekInAmount.Text = "(Parking ₹" + objInput.Amount.ToString("N2") + " Clamp ₹" + objInput.ClampFees.ToString("N2") + " Due Amount ₹" + objInput.DueAmount.ToString("N2") + ")";
                lableAmount.Text       = (objInput.Amount + objInput.ClampFees + objInput.DueAmount).ToString("N2");
            }
            else if (redirectdFrom == "PassCheckInVehicleInformation")
            {
                labelChekInAmount.Text = "( Clamp ₹" + objInput.ClampFees.ToString("N2") + ")";
                lableAmount.Text       = (objInput.ClampFees).ToString("N2");
            }
            else if (redirectdFrom == "OverstayVehicleInformation")
            {
                lableAmount.Text = (objInput.ExtendAmount + objInput.ClampFees).ToString("N2");
            }
        }
 string[] receiptlines = new string[16]; // Receipt Lines
 public CheckOutPaymentConfirmationPage()
 {
     InitializeComponent();
     dal_Exceptionlog           = new DALExceptionManagment();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     stLayoutPaymentConfirmCheckOut.IsVisible = false;
 }
Beispiel #6
0
 public ActivatePassReciptPage(CustomerVehiclePass objReceiptDetails)
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     dal_Exceptionlog           = new DALExceptionManagment();
     dal_home = new DALHome();
     LoadCustomerPassPaymentDetails(objReceiptDetails);
 }
 string[] receiptlines = new string[17]; // Receipt Lines
 public HistoryPage()
 {
     InitializeComponent();
     dal_Exceptionlog           = new DALExceptionManagment();
     dal_Menubar                = new DALMenubar();
     lstVehicle                 = new List <CustomerVehicle>();
     lstVehicleHistory          = new List <CustomerParkingSlot>();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
 }
        public ReceiptPage(CustomerParkingSlot objReceipt)
        {
            string vehicleTypeName = string.Empty;

            dal_Exceptionlog = new DALExceptionManagment();
            InitializeComponent();
            ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
            //LoadReceiptDetails(objReceipt);
        }
Beispiel #9
0
 public ReportPage()
 {
     InitializeComponent();
     lstlots = new List <VMLocationLots>();
     fmReportPrint.IsVisible    = false;
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     datePickerToTime.Time      = new TimeSpan(23, 55, 0);
     LoadLoginUserLocationLots();
 }
 public ConfirmationPage(VehicleCheckIn obj)
 {
     InitializeComponent();
     dal_DALCheckIn             = new DALCheckIn();
     dal_Exceptionlog           = new DALExceptionManagment();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     LoadVehicleChekInDetails(obj);
     printerName = ObjblueToothDevicePrinting.GetBlueToothDevices();
 }
 public ValidatePassPage()
 {
     InitializeComponent();
     imageOperatorProfile.IsVisible = false;
     slValidateReceipt.IsVisible    = false;
     ObjblueToothDevicePrinting     = new BlueToothDevicePrinting();
     objResultCustomerVehiclePass   = new CustomerVehiclePass();
     dal_Exceptionlog = new DALExceptionManagment();
     GetAllPassedVehicles();
 }
 public RecentCheckOuts()
 {
     InitializeComponent();
     dal_Exceptionlog           = new DALExceptionManagment();
     lstlots                    = new List <VMLocationLots>();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     objFilter                  = new RecentCheckOutFilter();
     LoadCheckOutPickerDays();
     LoadLoginUserLocationLots();
 }
Beispiel #13
0
 public PassCheckInVehicleInformation(int CustomerParkingLotID)
 {
     InitializeComponent();
     objHome = new DALHome();
     slClampReason.IsVisible    = false;
     slFOC.IsVisible            = false;
     dal_ViolationClamp         = new DALViolationandClamp();
     dal_Exceptionlog           = new DALExceptionManagment();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     LoadGetViolationReasons();
     LoadParkedVehicleDetails(CustomerParkingLotID);
 }
Beispiel #14
0
        string[] receiptlines = new string[17]; // Receipt Lines

        public PassCheckInVehicleInformation()
        {
            InitializeComponent();
            objHome = new DALHome();
            slClampReason.IsVisible = false;
            slFOC.IsVisible         = false;
            slCashAndEpay.IsVisible = false;
            dal_ViolationClamp      = new DALViolationandClamp();
            dal_Exceptionlog        = new DALExceptionManagment();
            lstReasons = new List <ViolationReason>();
            ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
        }
Beispiel #15
0
 public LotViolationTestPage()
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
     dal_Exceptionlog           = new DALExceptionManagment();
     dal_ViolationClamp         = new DALViolationandClamp();
     dal_DALCheckIn             = new DALCheckIn();
     lstparkingbay                  = new List <ParkingBay>();
     btnCheckIn.IsVisible           = false;
     checkBoxClampVehicle.IsChecked = true;
     chkWarning.IsVisible           = true;
     chkWarning.IsChecked           = true;
     LoadLotVehicleType();
     LoadLocationBayNumbers();
 }
 public CheckOutReceiptPage(string vehicleInformation)
 {
     InitializeComponent();
     VehicleInformation         = vehicleInformation;
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
 }
 public ConfirmationPage()
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
 }
 public ReceiptPage()
 {
     InitializeComponent();
     ObjblueToothDevicePrinting = new BlueToothDevicePrinting();
 }