added new miner type M30S+VF20

This commit is contained in:
UpstreamData
2022-06-06 09:17:42 -06:00
parent c903631742
commit dce25a679f
5 changed files with 26 additions and 11 deletions

View File

@@ -1,5 +1,9 @@
from miners._backends import BTMiner # noqa - Ignore access to _module
from miners._types import M30SPlus, M30SPlusVE40 # noqa - Ignore access to _module
from miners._types import (
M30SPlus,
M30SPlusVE40,
M30SPlusVF20,
) # noqa - Ignore access to _module
class BTMinerM30SPlus(BTMiner, M30SPlus):
@@ -12,3 +16,9 @@ class BTMinerM30SPlusVE40(BTMiner, M30SPlusVE40):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SPlusVF20(BTMiner, M30SPlusVF20):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip