add support for whatsminer M31S+ V30
This commit is contained in:
@@ -16,6 +16,7 @@ from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
|
||||
from pyasic.miners._types import (
|
||||
M31SPlus,
|
||||
M31SPlusVE20,
|
||||
M31SPlusV30,
|
||||
M31SPlusV40,
|
||||
M31SPlusV60,
|
||||
M31SPlusV80,
|
||||
@@ -35,6 +36,12 @@ class BTMinerM31SPlusVE20(BTMiner, M31SPlusVE20):
|
||||
self.ip = ip
|
||||
|
||||
|
||||
class BTMinerM31SPlusV30(BTMiner, M31SPlusV30):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
self.ip = ip
|
||||
|
||||
|
||||
class BTMinerM31SPlusV40(BTMiner, M31SPlusV40):
|
||||
def __init__(self, ip: str) -> None:
|
||||
super().__init__(ip)
|
||||
|
||||
Reference in New Issue
Block a user