added classes for all 3 types of miner API
This commit is contained in:
15
main.py
15
main.py
@@ -33,3 +33,18 @@ class API:
|
|||||||
|
|
||||||
# return the data
|
# return the data
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
class BMMiner(API):
|
||||||
|
def __int__(self, port, ip):
|
||||||
|
super.__init__(port, ip)
|
||||||
|
|
||||||
|
|
||||||
|
class CGMiner(API):
|
||||||
|
def __int__(self, port, ip):
|
||||||
|
super.__init__(port, ip)
|
||||||
|
|
||||||
|
|
||||||
|
class BOSMiner(API):
|
||||||
|
def __int__(self, port, ip):
|
||||||
|
super.__init__(port, ip)
|
||||||
Reference in New Issue
Block a user