private JobAction getJobAction(string type, MessageViewModel e_mvm) { JobAction ja; if (type.ToUpper() == "ENQUEUE") { ja = new InstrumentDataEnQueueJob(e_mvm); } else if (type.ToUpper() == "GRIDCALCULATIONSTART") { ja = new CalculationStartJob(e_mvm); } else if (type.ToUpper() == "ENQUEUE") { ja = new InstrumentDataEnQueueJob(e_mvm); } else { ja = new InstrumentDataEnQueueJob(e_mvm); } return(ja); }
private JobAction getJobAction(string type,MessageViewModel e_mvm) { JobAction ja; if (type.ToUpper() == "ENQUEUE") { ja = new InstrumentDataEnQueueJob(e_mvm); } else if (type.ToUpper() == "GRIDCALCULATIONSTART") { ja = new CalculationStartJob(e_mvm); } else if (type.ToUpper() == "ENQUEUE") { ja = new InstrumentDataEnQueueJob(e_mvm); } else { ja = new InstrumentDataEnQueueJob(e_mvm); } return ja; }