feature: add support for S19 Pro Hydro.
This commit is contained in:
@@ -27,6 +27,7 @@ from pyasic.miners.types import (
|
|||||||
S19jPro,
|
S19jPro,
|
||||||
S19Plus,
|
S19Plus,
|
||||||
S19Pro,
|
S19Pro,
|
||||||
|
S19ProHydro,
|
||||||
S19ProPlus,
|
S19ProPlus,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -77,3 +78,7 @@ class BMMinerS19jPro(AntminerModern, S19jPro):
|
|||||||
|
|
||||||
class BMMinerS19L(AntminerModern, S19L):
|
class BMMinerS19L(AntminerModern, S19L):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class BMMinerS19ProHydro(AntminerModern, S19ProHydro):
|
||||||
|
pass
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ from .S19 import (
|
|||||||
BMMinerS19L,
|
BMMinerS19L,
|
||||||
BMMinerS19Plus,
|
BMMinerS19Plus,
|
||||||
BMMinerS19Pro,
|
BMMinerS19Pro,
|
||||||
|
BMMinerS19ProHydro,
|
||||||
BMMinerS19ProPlus,
|
BMMinerS19ProPlus,
|
||||||
BMMinerS19XP,
|
BMMinerS19XP,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ MINER_CLASSES = {
|
|||||||
"ANTMINER S19 XP": BMMinerS19XP,
|
"ANTMINER S19 XP": BMMinerS19XP,
|
||||||
"ANTMINER S19A": BMMinerS19a,
|
"ANTMINER S19A": BMMinerS19a,
|
||||||
"ANTMINER S19A PRO": BMMinerS19aPro,
|
"ANTMINER S19A PRO": BMMinerS19aPro,
|
||||||
|
"ANTMINER S19 PRO HYD.": BMMinerS19ProHydro,
|
||||||
"ANTMINER T19": BMMinerT19,
|
"ANTMINER T19": BMMinerT19,
|
||||||
},
|
},
|
||||||
MinerTypes.WHATSMINER: {
|
MinerTypes.WHATSMINER: {
|
||||||
|
|||||||
@@ -159,3 +159,13 @@ class S19kProNoPIC(AntMiner): # noqa - ignore ABC method implementation
|
|||||||
self.model = "S19k Pro No PIC"
|
self.model = "S19k Pro No PIC"
|
||||||
self.expected_chips = 77
|
self.expected_chips = 77
|
||||||
self.fan_count = 4
|
self.fan_count = 4
|
||||||
|
|
||||||
|
|
||||||
|
class S19ProHydro(AntMiner): # noqa - ignore ABC method implementation
|
||||||
|
def __init__(self, ip: str, api_ver: str = "0.0.0"):
|
||||||
|
super().__init__(ip, api_ver)
|
||||||
|
self.ip = ip
|
||||||
|
self.model = "S19 Pro Hydro"
|
||||||
|
self.expected_chips = 180
|
||||||
|
self.expected_hashboards = 4
|
||||||
|
self.fan_count = 0
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ from .S19 import (
|
|||||||
S19NoPIC,
|
S19NoPIC,
|
||||||
S19Plus,
|
S19Plus,
|
||||||
S19Pro,
|
S19Pro,
|
||||||
|
S19ProHydro,
|
||||||
S19ProPlus,
|
S19ProPlus,
|
||||||
)
|
)
|
||||||
from .T19 import T19
|
from .T19 import T19
|
||||||
|
|||||||
Reference in New Issue
Block a user