Ver Fonte

add timestamp

liqingxia há 3 anos atrás
pai
commit
d22055d6e9
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      src/include/proto/turnstile.proto

+ 3 - 2
src/include/proto/turnstile.proto

@@ -6,7 +6,8 @@ import "rawpic.proto";
 
 
 message turnstile
 message turnstile
 {
 {
-  optional rawpic pic = 1;
-  optional bool state = 2;   //ture表示闸机坏了
+  optional int64 time = 1;
+  optional rawpic pic = 2;
+  optional bool state = 3;   //ture表示闸机坏了
 }
 }