Documentation
¶
Index ¶
- type DataClass
- type DataField
- type DataRecord
- type GetAllEndPointsResponse
- type GetAllPowerUnitsResponse
- type GetDataClassesForPowerUnitsResponse
- type GetDataFieldsForPowerUnitsResponse
- type GetRawDataForPowerUnitsResponse
- type Helper
- type PingResponse
- type PowerUnit
- type RawData
- type RecordField
- type RotorSoftClient
- func (r *RotorSoftClient) GetAllEndPoints() (*GetAllEndPointsResponse, error)
- func (r *RotorSoftClient) GetAllPowerUnits() (*GetAllPowerUnitsResponse, error)
- func (r *RotorSoftClient) GetDataClassesForPowerUnits(powerUnitIdentifier []string) (*GetDataClassesForPowerUnitsResponse, error)
- func (r *RotorSoftClient) GetDataFieldsForPowerUnits(powerUnitIdentifier []string, dataClassIdentifier []string) (*GetDataFieldsForPowerUnitsResponse, error)
- func (r *RotorSoftClient) GetRawDataForPowerUnits(powerUnitIdentifier []string, from time.Time, to time.Time, ...) (GetRawDataForPowerUnitsResponse, error)
- func (r *RotorSoftClient) GetRawDataForPowerUnitsExtended(powerUnitIdentifier []string, from time.Time, to time.Time, ...) (GetRawDataForPowerUnitsResponse, error)
- func (r *RotorSoftClient) Ping() (*PingResponse, error)
- type SensorValueTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataRecord ¶
type DataRecord struct {
RecordPowerUnitIdentifier string `xml:"recordPowerUnitIdentifier"`
RecordTime time.Time `xml:"recordTime"`
RecordOriginalByScada bool `xml:"recordOriginalByScada"`
RecordFields []RecordField `xml:"recordFields"`
}
type GetAllEndPointsResponse ¶
type Helper ¶ added in v0.0.4
type Helper struct {
Client *RotorSoftClient
}
type PingResponse ¶
type RecordField ¶
type RotorSoftClient ¶
type RotorSoftClient struct {
HTTPClient *http.Client
URL string
Username string
Password string
Helper *Helper
}
func (*RotorSoftClient) GetAllEndPoints ¶
func (r *RotorSoftClient) GetAllEndPoints() (*GetAllEndPointsResponse, error)
func (*RotorSoftClient) GetAllPowerUnits ¶
func (r *RotorSoftClient) GetAllPowerUnits() (*GetAllPowerUnitsResponse, error)
func (*RotorSoftClient) GetDataClassesForPowerUnits ¶
func (r *RotorSoftClient) GetDataClassesForPowerUnits(powerUnitIdentifier []string) (*GetDataClassesForPowerUnitsResponse, error)
func (*RotorSoftClient) GetDataFieldsForPowerUnits ¶
func (r *RotorSoftClient) GetDataFieldsForPowerUnits(powerUnitIdentifier []string, dataClassIdentifier []string) (*GetDataFieldsForPowerUnitsResponse, error)
func (*RotorSoftClient) GetRawDataForPowerUnits ¶
func (r *RotorSoftClient) GetRawDataForPowerUnits(powerUnitIdentifier []string, from time.Time, to time.Time, dataClassIdent string, dataFieldIdents []string) (GetRawDataForPowerUnitsResponse, error)
func (*RotorSoftClient) GetRawDataForPowerUnitsExtended ¶ added in v0.0.4
func (r *RotorSoftClient) GetRawDataForPowerUnitsExtended(powerUnitIdentifier []string, from time.Time, to time.Time, dataClassIdent string, dataFieldIdents []string) (GetRawDataForPowerUnitsResponse, error)
func (*RotorSoftClient) Ping ¶
func (r *RotorSoftClient) Ping() (*PingResponse, error)
Click to show internal directories.
Click to hide internal directories.