Fri 29 Nov 2024 04:30:50 PM CET

This commit is contained in:
sbosse 2024-11-29 16:31:30 +01:00
parent 298d4ebb4a
commit 1c3dc4de72

View 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)