interceptradar.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #include "interceptradar.h"
  2. interceptRadar::interceptRadar(char waveform,double fc,double simTime,
  3. double BW,double T,double PRF,
  4. double fs)
  5. {
  6. this->waveform = waveform;
  7. this->simTime = simTime;
  8. this->fs = fs;
  9. this->fc = fc;
  10. this->BW = BW;
  11. this->T = T;
  12. this->PRF = PRF;
  13. }
  14. interceptRadar::interceptRadar()
  15. {
  16. }
  17. double interceptRadar::getSimTime(){
  18. return this->simTime;
  19. }
  20. double interceptRadar::getBW(){
  21. return this->BW;
  22. }
  23. double interceptRadar::getFc(){
  24. return this->fc;
  25. }
  26. double interceptRadar::getFs(){
  27. return this->fs;
  28. }
  29. void interceptRadar::setFs(double fs){
  30. this->fs = fs;
  31. }
  32. double interceptRadar::getPRF(){
  33. return this->PRF;
  34. }
  35. double interceptRadar::getT(){
  36. return this->T;
  37. }
  38. char interceptRadar::getWaveForm(){
  39. return this->waveform;
  40. }
  41. double* interceptRadar::getSig(){
  42. return this->sig;
  43. }
  44. void interceptRadar::setIndex(std::string index){
  45. this->index = index;
  46. }
  47. std::string interceptRadar::getIndex(){
  48. return this->index;
  49. }
  50. void interceptRadar::setSig(double *sig){
  51. this->sig = sig;
  52. }
  53. void interceptRadar::setLen(double len){
  54. this->len = len;
  55. }
  56. double interceptRadar::getLen(){
  57. return this->len;
  58. }