changed the way antminers and whatsminers are handled in the factory to allow for more precision on chip counts
This commit is contained in:
12
miners/antminer/bmminer/X19/S19.py
Normal file
12
miners/antminer/bmminer/X19/S19.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from miners.bmminer import BMMiner
|
||||
|
||||
|
||||
class BMMinerS19(BMMiner):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.api_type = "BMMiner"
|
||||
self.model = "S19"
|
||||
self.nominal_chips = 114
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMinerS19: {str(self.ip)}"
|
||||
12
miners/antminer/bmminer/X19/S19_Pro.py
Normal file
12
miners/antminer/bmminer/X19/S19_Pro.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from miners.bmminer import BMMiner
|
||||
|
||||
|
||||
class BMMinerS19Pro(BMMiner):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.api_type = "BMMiner"
|
||||
self.model = "S19 Pro"
|
||||
self.nominal_chips = 114
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMinerS19Pro: {str(self.ip)}"
|
||||
12
miners/antminer/bmminer/X19/S19j.py
Normal file
12
miners/antminer/bmminer/X19/S19j.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from miners.bmminer import BMMiner
|
||||
|
||||
|
||||
class BMMinerS19j(BMMiner):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.api_type = "BMMiner"
|
||||
self.model = "S19j"
|
||||
self.nominal_chips = 114
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMinerS19j: {str(self.ip)}"
|
||||
12
miners/antminer/bmminer/X19/S19j_Pro.py
Normal file
12
miners/antminer/bmminer/X19/S19j_Pro.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from miners.bmminer import BMMiner
|
||||
|
||||
|
||||
class BMMinerS19jPro(BMMiner):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.api_type = "BMMiner"
|
||||
self.model = "S19j Pro"
|
||||
self.nominal_chips = 114
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMinerS19jPro: {str(self.ip)}"
|
||||
12
miners/antminer/bmminer/X19/T19.py
Normal file
12
miners/antminer/bmminer/X19/T19.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from miners.bmminer import BMMiner
|
||||
|
||||
|
||||
class BMMinerT19(BMMiner):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.api_type = "BMMiner"
|
||||
self.model = "T19"
|
||||
self.nominal_chips = 114
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"BMMinerT19: {str(self.ip)}"
|
||||
7
miners/antminer/bmminer/X19/__init__.py
Normal file
7
miners/antminer/bmminer/X19/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .S19 import BMMinerS19
|
||||
from .S19_Pro import BMMinerS19Pro
|
||||
|
||||
from .S19j import BMMinerS19j
|
||||
from .S19j_Pro import BMMinerS19jPro
|
||||
|
||||
from .T19 import BMMinerT19
|
||||
Reference in New Issue
Block a user