19 lines
376 B
Protocol Buffer
19 lines
376 B
Protocol Buffer
syntax = "proto3";
|
|
package opcgateway;
|
|
|
|
service OpcGateway {
|
|
rpc ReadTag(ReadTagRequest) returns (ReadTagResponse);
|
|
}
|
|
message ReadTagRequest {
|
|
string server_id = 1;
|
|
string addr = 2;
|
|
string data_type = 3;
|
|
}
|
|
message ReadTagResponse {
|
|
string value = 1;
|
|
string opc_status_code = 2;
|
|
string source_timestamp = 3;
|
|
string server_timestamp = 4;
|
|
bool persisted = 5;
|
|
}
|