Esempio n. 1
0
 public frmSGMLogin()
 {
     InitializeComponent();
     frmMsg            = new frmSGMMessage();
     serialDatahandler = new SerialDataReceivedEventHandler(CardReaderReceivedHandler);
     RFIDReader.RegistryReaderListener(Program.ReaderPort, serialDatahandler);
 }
Esempio n. 2
0
 public frmSGMLogin()
 {
     InitializeComponent();
     frmMsg = new frmSGMMessage();
     serialDatahandler = new SerialDataReceivedEventHandler(CardReaderReceivedHandler);
     RFIDReader.RegistryReaderListener(Program.ReaderPort, serialDatahandler);
 }
Esempio n. 3
0
        public frmSGMSaleGas(SystemAdminDTO adminDTO, GasStationDTO gasStationDTO, int priceGas92, int priceGas95, int priceGasDO, float totalGas92, float totalGas95, float totalGasDO)
        {
            InitializeComponent();
            _adminDTO = adminDTO;
            _gasStationDTO = gasStationDTO;

            m_iCurrentPriceGas92 = priceGas92;
            m_iCurrentPriceGas95 = priceGas95;
            m_iCurrentPriceGasDO = priceGasDO;
            m_iCurrentTotalGas92 = totalGas92;
            m_iCurrentTotalGas95 = totalGas95;
            m_iCurrentTotalGasDO = totalGasDO;
            m_jsHelper = new JSonHelper();
            frmMsg = new frmSGMMessage();
            frmCardInfo = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
            lblCurrentPrice.Text = SGMText.SALEGAS_CURRENT_PRICE + SGMText.GAS_92_TEXT + " : " +  m_iCurrentPriceGas92 + " , "  + SGMText.GAS_95_TEXT + " : "+ m_iCurrentPriceGas95 + " , " + SGMText.GAS_DO_TEXT + " : " + m_iCurrentPriceGasDO;
        }
Esempio n. 4
0
        public frmSGMSaleGas(SystemAdminDTO adminDTO, GasStationDTO gasStationDTO, int priceGas92, int priceGas95, int priceGasDO, float totalGas92, float totalGas95, float totalGasDO)
        {
            InitializeComponent();
            _adminDTO      = adminDTO;
            _gasStationDTO = gasStationDTO;

            m_iCurrentPriceGas92 = priceGas92;
            m_iCurrentPriceGas95 = priceGas95;
            m_iCurrentPriceGasDO = priceGasDO;
            m_iCurrentTotalGas92 = totalGas92;
            m_iCurrentTotalGas95 = totalGas95;
            m_iCurrentTotalGasDO = totalGasDO;
            m_jsHelper           = new JSonHelper();
            frmMsg               = new frmSGMMessage();
            frmCardInfo          = new frmSGMCardDetail(_cardDTO, _rechargeDTO);
            lblCurrentPrice.Text = SGMText.SALEGAS_CURRENT_PRICE + SGMText.GAS_92_TEXT + " : " + m_iCurrentPriceGas92 + " , " + SGMText.GAS_95_TEXT + " : " + m_iCurrentPriceGas95 + " , " + SGMText.GAS_DO_TEXT + " : " + m_iCurrentPriceGasDO;
        }
Esempio n. 5
0
 public frmSGMConfig()
 {
     InitializeComponent();
     frmMsg = new frmSGMMessage();
 }
Esempio n. 6
0
 public frmSGMConfig()
 {
     InitializeComponent();
     frmMsg = new frmSGMMessage();
 }