diff --git a/src/SimNDT/core/receivers.py b/src/SimNDT/core/receivers.py new file mode 100644 index 0000000..472e736 --- /dev/null +++ b/src/SimNDT/core/receivers.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# encoding: utf-8 +""" +receivers.py + +Created by Miguel Molero on 2013-10-07. +Copyright (c) 2013 MMolero. All rights reserved. +""" + +class Receivers: + + def __init__(self, method = "Trasmission"): + self.method = method + self.receiver_signals = 0 + + + def setReceivers(self, engine): + self.receiver_signals = engine.getReceivers() + + def getReceivers(self): + return self.receiver_signals + + def __str__(self): + return "Receivers(method={}, receiver_signals={})".format(self.method, self.receiver_signals) + + def __repr__(self): + return "Receivers(method={}, receiver_signals={})".format(self.method, self.receiver_signals) \ No newline at end of file