-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_channel.go
21 lines (19 loc) · 1.41 KB
/
model_channel.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* SMA WebBox RPC over HTTP REST API
*
* The data loggers Sunny WebBox and Sunny WebBox with Bluetooth continuously record all the data of a PV plant. This is then averaged over a configurable interval and cached. The data can be transmitted at regular intervals to the Sunny Portal for analysis and visualization. Via the Sunny WebBox and Sunny WebBox with Bluetooth RPC interface, selected data from the PV plant can be transmitted to a remote terminal by means of an RPC protocol (Remote Procedure Call protocol). Related documents: * [SUNNY WEBBOX RPC User Manual v1.4](http://files.sma.de/dl/2585/SWebBoxRPC-BA-en-14.pdf) * [SUNNY WEBBOX RPC User Manual v1.3](http://files.sma.de/dl/4253/SWebBoxRPC-eng-BUS112713.pdf)
*
* API version: 1.4.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package smawebboxgo
type Channel struct {
// The meta name which uniquely defines the channel (e.g. \"ExtSolIrr\").
Meta string `json:"meta,omitempty"`
// The translated display name (e.g. \"External irradiation\"). Defining this element is optional. (optional)
Name string `json:"name,omitempty"`
// The unit of the channel (e.g. \"W/m^2\"). For channels which have no unit, an empty string must be entered. (optional)
Unit string `json:"unit,omitempty"`
// The value of the channel (e.g. \"843\"). Defining this element is optional. (optional)
Value string `json:"value,omitempty"`
}