-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rodriguez
committed
Nov 6, 2023
1 parent
e7b276a
commit 127476c
Showing
46 changed files
with
55 additions
and
149 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
platform/panduza_platform/devices/hanmatek/hm310t/dev_hm310t.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from core.platform_device import PlatformDevice | ||
|
||
USBID_VENDOR="1a86" | ||
USBID_MODEL="7523" | ||
TTY_BASE="/dev/ttyUSB" | ||
|
||
from .itf_hanmatek_hm310t_bpc import InterfaceHanmatekHm310tBpc | ||
from .itf_hanmatek_hm310t_ammeter import InterfaceHanmatekHM310tAmmeter | ||
|
||
class DeviceHanmatekHm310t(PlatformDevice): | ||
"""Power Supply From Hanmatek | ||
""" | ||
|
||
def _PZA_DEV_config(self): | ||
""" | ||
""" | ||
return { | ||
"family": "PSU", | ||
"model": "Hm310t", | ||
"manufacturer": "Hanmatek" | ||
} | ||
|
||
# --- | ||
|
||
async def _PZA_DEV_mount_interfaces(self): | ||
""" | ||
""" | ||
self.mount_interface( | ||
InterfaceHanmatekHm310tBpc(name=f":channel_0:_ctrl") | ||
) | ||
self.mount_interface( | ||
InterfaceHanmatekHM310tAmmeter(name=f":channel_0:_am") | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
.../panduza_platform/devices/korad/ka3005.py → ...atform/devices/korad/ka3005/dev_ka3005.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
platform/panduza_platform/drivers/ammeter/__init__.py.orig
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.