void InsertingRequest(QueueData objQueueData) { if (objEESDba == null) { objEESDba = new EESDba(); } if (objGeneralDba == null) { objGeneralDba = new GeneralDba(); } QueueData objQueueData1 = new QueueData(); string eesChannel = null; string eesCode = null; objEESDba.getEESParameters(gateNumber, out eesChannel, out eesCode); objQueueData1.eesNumber = gateNumber; objQueueData1.requestType = 1; objQueueData1.customerId = objQueueData.customerId; objQueueData1.patronName = objQueueData.patronName; objQueueData1.plateNumber = objQueueData.plateNumber; objQueueData1.needSimulation = objQueueData.needSimulation; objQueueData1.needWash = objQueueData.needWash; objQueueData1.isRotate = objQueueData.isRotate; objQueueData1.carType = objQueueData.carType; //if (IsHighCar(eesChannel, eesCode)) //{ // objQueueData1.carType = kioskSimulation.QueueData.CAR_TYPE.high; //} //else //{ // objQueueData1.carType = objQueueData.carType; //} objGeneralDba.InsertQueueForSimulation(objQueueData1); }