refactor: move models to pyasic.miners.devices

This commit is contained in:
Upstream Data
2024-05-01 14:18:22 -06:00
parent 742dde622b
commit 7d4aa80966
238 changed files with 158 additions and 122 deletions

View File

@@ -14,7 +14,7 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.miners.backends import GoldshellMiner
from pyasic.miners.models import CK5
from pyasic.miners.device.models import CK5
class GoldshellCK5(GoldshellMiner, CK5):

View File

@@ -14,7 +14,7 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.miners.backends import GoldshellMiner
from pyasic.miners.models import HS5
from pyasic.miners.device.models import HS5
class GoldshellHS5(GoldshellMiner, HS5):

View File

@@ -14,7 +14,7 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.miners.backends import GoldshellMiner
from pyasic.miners.models import KD5
from pyasic.miners.device.models import KD5
class GoldshellKD5(GoldshellMiner, KD5):

View File

@@ -14,7 +14,7 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.miners.backends import GoldshellMiner
from pyasic.miners.models import KDBoxII, KDBoxPro
from pyasic.miners.device.models import KDBoxII, KDBoxPro
class GoldshellKDBoxII(GoldshellMiner, KDBoxII):

View File

@@ -14,7 +14,7 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from pyasic.miners.backends import GoldshellMiner
from pyasic.miners.models import KDMax
from pyasic.miners.device.models import KDMax
class GoldshellKDMax(GoldshellMiner, KDMax):