| edition = "2023"; |
| |
| package milotic_tlbmc; |
| |
| import "google/protobuf/duration.proto"; |
| import "resource.proto"; |
| |
| message RelatedItem { |
| string id = 1; |
| ResourceType type = 2; |
| } |
| |
| message EntityCommonConfig { |
| // Board with the config name that this entity belongs to. |
| string board_config_name = 1; |
| // Specifies the refresh interval of this device. |
| google.protobuf.Duration refresh_interval = 2; |
| // Specifies the size of the queue storing the readings associated with the |
| // entity. This together with refresh interval is useful for generating time |
| // series data. |
| uint64 queue_size = 3 [default = 10]; |
| // Specifies the related item for this entity. |
| RelatedItem related_item = 4; |
| } |