kappa_sdk.DataType#
- class kappa_sdk.DataType(alias, name, measure, comment=' ', is_built_in=False, plot_channel_aspect_dto=None)[source]#
Data Type object.
Presents a KAPPA Automate Data Type object.
Attributes
Gets the alias of the
DataTypeobject.Returns the channel Aspect Dto of the data
Gets the comment of the
DataTypeobject.if the
DataTypeobject is a built-in data type.Gets the measure of the
DataTypeobject.Gets the name of the
DataTypeobject.Methods
- Parameters:
alias (str)
name (str)
measure (MeasureEnum | str)
comment (str)
is_built_in (bool)
plot_channel_aspect_dto (ChannelAspectDto | None)
- __init__(alias, name, measure, comment=' ', is_built_in=False, plot_channel_aspect_dto=None)[source]#
- Parameters:
alias (str)
name (str)
measure (MeasureEnum | str)
comment (str)
is_built_in (bool)
plot_channel_aspect_dto (ChannelAspectDto | None)
- property measure: MeasureEnum | str#
Gets the measure of the
DataTypeobject.
- property channel_aspect_dto: ChannelAspectDto | None#
Returns the channel Aspect Dto of the data
- Returns:
ChannelAspectDto– dto of the channel aspect