21 lines
445 B
Protocol Buffer
21 lines
445 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package BLWData.Entity;
|
|
|
|
// 定义一个Person消息类型
|
|
message EnergyConsumption {
|
|
int64 HotelCode = 1;
|
|
string HostNumber = 2;
|
|
string Mac = 3;
|
|
string EndPoint = 4;
|
|
string Version = 5;
|
|
bool IsTakeCard = 6;
|
|
double V = 7;
|
|
double A = 8;
|
|
double P = 9;
|
|
double Energy_Consumption = 10;
|
|
double Sum_Energy_Consumption = 11;
|
|
int64 CreateTime=12;
|
|
string RoomNumber=13;
|
|
int32 CarbonVIP=14;
|
|
} |