Fri 29 Nov 2024 04:30:50 PM CET
This commit is contained in:
parent
298d4ebb4a
commit
1c3dc4de72
27
src/SimNDT/core/receivers.py
Normal file
27
src/SimNDT/core/receivers.py
Normal file
|
@ -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)
|
Loading…
Reference in New Issue
Block a user