def __init__(self, series, stype, start=None, end=None, device=None, footprint=None): super(IEC60063ValueSeries, self).__init__(stype, start, end, device, footprint) self._series = iec60063.get_series(series) self._ostrs = iec60063.get_ostr(stype)
def get_iec60063_contextpart(stype, series, start=None, end=None): return { "iec60063vals": [ i for i in iec60063.gen_vals( iec60063.get_series(series), iec60063.get_ostr(stype), start, end # noqa # noqa ) ], "iec60063stype": stype, "iec60063series": series, "iec60063start": start, "iec60063end": end, }
def get_iec60063_contextpart(stype, series, start=None, end=None): return { "iec60063vals": [ i for i in iec60063.gen_vals( iec60063.get_series(series), # noqa iec60063.get_ostr(stype), # noqa start, end) ], "iec60063stype": stype, "iec60063series": series, "iec60063start": start, "iec60063end": end, }