Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
nengyuanzhang committed Jul 26, 2024
2 parents 3dac821 + 1ced001 commit 9961cb0
Show file tree
Hide file tree
Showing 172 changed files with 491 additions and 973 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- aligned timestamps of parameters for microgrid details report
- aligned timestamps of parameters for energy storage power station details report
- removed @staticmethod from __init__ methods in myems-api
### Removed

## [v4.7.0] - 2024-07-08
Expand Down
6 changes: 2 additions & 4 deletions myems-api/core/apikey.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@


class ApiKeyCollection:
@staticmethod
def __init__():
def __init__(self):
"""Initializes ApiKeyCollection"""
pass

Expand Down Expand Up @@ -104,8 +103,7 @@ def on_post(req, resp):


class ApiKeyItem:
@staticmethod
def __init__():
def __init__(self):
"""Initializes ApiKeyItem"""
pass

Expand Down
51 changes: 17 additions & 34 deletions myems-api/core/combinedequipment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@


class CombinedEquipmentCollection:
@staticmethod
def __init__():
def __init__(self):
""" Initializes CombinedEquipmentCollection"""
pass

Expand Down Expand Up @@ -197,8 +196,7 @@ def on_post(req, resp):


class CombinedEquipmentItem:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentItem"""
pass

Expand Down Expand Up @@ -596,8 +594,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentEquipmentCollection:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentEquipmentCollection"""
pass

Expand Down Expand Up @@ -714,8 +711,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentEquipmentItem:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentEquipmentItem"""
pass

Expand Down Expand Up @@ -776,8 +772,7 @@ def on_delete(req, resp, id_, eid):


class CombinedEquipmentParameterCollection:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentParameterCollection"""
pass

Expand Down Expand Up @@ -1110,8 +1105,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentParameterItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentParameterItem"""
pass

Expand Down Expand Up @@ -1504,8 +1498,7 @@ def on_put(req, resp, id_, pid):


class CombinedEquipmentMeterCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentMeterCollection"""
pass

Expand Down Expand Up @@ -1643,8 +1636,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentMeterItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentMeterItem"""
pass

Expand Down Expand Up @@ -1705,8 +1697,7 @@ def on_delete(req, resp, id_, mid):


class CombinedEquipmentOfflineMeterCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentOfflineMeterCollection"""
pass

Expand Down Expand Up @@ -1845,8 +1836,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentOfflineMeterItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentOfflineMeterItem"""
pass

Expand Down Expand Up @@ -1907,8 +1897,7 @@ def on_delete(req, resp, id_, mid):


class CombinedEquipmentVirtualMeterCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentVirtualMeterCollection"""
pass

Expand Down Expand Up @@ -2046,8 +2035,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentVirtualMeterItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CombinedEquipmentVirtualMeterItem"""
pass

Expand Down Expand Up @@ -2108,8 +2096,7 @@ def on_delete(req, resp, id_, mid):


class CombinedEquipmentCommandCollection:
@staticmethod
def __init__():
def __init__(self):
"""Initializes Class"""
pass

Expand Down Expand Up @@ -2224,8 +2211,7 @@ def on_post(req, resp, id_):


class CombinedEquipmentCommandItem:
@staticmethod
def __init__():
def __init__(self):
"""Initializes Class"""
pass

Expand Down Expand Up @@ -2286,8 +2272,7 @@ def on_delete(req, resp, id_, cid):


class CombinedEquipmentExport:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentExport"""
pass

Expand Down Expand Up @@ -2580,8 +2565,7 @@ def on_get(req, resp, id_):


class CombinedEquipmentImport:
@staticmethod
def __init__():
def __init__(self):
""" Initializes CombinedEquipmentImport"""
pass

Expand Down Expand Up @@ -2970,8 +2954,7 @@ def on_post(req, resp):


class CombinedEquipmentClone:
@staticmethod
def __init__():
def __init__(self):
"""Initializes CombinedEquipmentClone"""
pass

Expand Down
18 changes: 6 additions & 12 deletions myems-api/core/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@


class CommandCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandCollection"""
pass

Expand Down Expand Up @@ -137,8 +136,7 @@ def on_post(req, resp):


class CommandItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandItem"""
pass

Expand Down Expand Up @@ -397,8 +395,7 @@ def on_put(req, resp, id_):


class CommandSend:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandSend"""
pass

Expand Down Expand Up @@ -488,8 +485,7 @@ def on_put(req, resp, id_):


class CommandExport:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandItem"""
pass

Expand Down Expand Up @@ -535,8 +531,7 @@ def on_get(req, resp, id_):


class CommandImport:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandCollection"""
pass

Expand Down Expand Up @@ -627,8 +622,7 @@ def on_post(req, resp):


class CommandClone:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CommandItem"""
pass

Expand Down
6 changes: 2 additions & 4 deletions myems-api/core/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@


class ContactCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes ContactCollection"""
pass

Expand Down Expand Up @@ -128,8 +127,7 @@ def on_post(req, resp):


class ContactItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes ContactItem"""
pass

Expand Down
12 changes: 4 additions & 8 deletions myems-api/core/costcenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@


class CostCenterCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostCenterCollection"""
pass

Expand Down Expand Up @@ -112,8 +111,7 @@ def on_post(req, resp):


class CostCenterItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostCenterItem"""
pass

Expand Down Expand Up @@ -384,8 +382,7 @@ def on_put(req, resp, id_):


class CostCenterTariffCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostCenterTariffCollection"""
pass

Expand Down Expand Up @@ -495,8 +492,7 @@ def on_post(req, resp, id_):


class CostCenterTariffItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostCenterTariffItem"""
pass

Expand Down
9 changes: 3 additions & 6 deletions myems-api/core/costfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@


class CostFileCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostFileCollection"""
pass

Expand Down Expand Up @@ -146,8 +145,7 @@ def on_post(req, resp):


class CostFileItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostFileItem"""
pass

Expand Down Expand Up @@ -234,8 +232,7 @@ def on_delete(req, resp, id_):


class CostFileRestore:
@staticmethod
def __init__():
def __init__(self):
""""Initializes CostFileRestore"""
pass

Expand Down
9 changes: 3 additions & 6 deletions myems-api/core/datarepairfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@


class DataRepairFileCollection:
@staticmethod
def __init__():
def __init__(self):
""""Initializes DataRepairFileCollection"""
pass

Expand Down Expand Up @@ -146,8 +145,7 @@ def on_post(req, resp):


class DataRepairFileItem:
@staticmethod
def __init__():
def __init__(self):
""""Initializes DataRepairFileItem"""
pass

Expand Down Expand Up @@ -232,8 +230,7 @@ def on_delete(req, resp, id_):


class DataRepairFileRestore:
@staticmethod
def __init__():
def __init__(self):
""""Initializes DataRepairFileRestore"""
pass

Expand Down
Loading

0 comments on commit 9961cb0

Please sign in to comment.