Class TimeSeriesPlotConfigurationMapper
Represents a mapper that converts objects between TimeSeriesPlotConfiguration and "TimeSeriesPlotResource".
Namespace: Unity.DigitalTwins.Live.Sdk.Mappers.Configurations.Plots.TimeSeries
Assembly: solution.dll
Syntax
public static class TimeSeriesPlotConfigurationMapper
Methods
ToClientModel(TimeSeriesPlotConfiguration)
Gets a "TimeSeriesPlotResource" by converting a TimeSeriesPlotConfiguration.
Declaration
public static TimeSeriesPlotResource ToClientModel(this TimeSeriesPlotConfiguration obj)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesPlotConfiguration | obj | The converting source. |
Returns
Type | Description |
---|---|
TimeSeriesPlotResource | The converted result. |
ToServiceModel(TimeSeriesPlotResource)
Gets a TimeSeriesPlotConfiguration by converting a "TimeSeriesPlotResource".
Declaration
public static TimeSeriesPlotConfiguration ToServiceModel(this TimeSeriesPlotResource obj)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesPlotResource | obj | The converting source. |
Returns
Type | Description |
---|---|
TimeSeriesPlotConfiguration | The converted result. |