Browse Source

add timestamp

liqingxia 3 years ago
parent
commit
d22055d6e9
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/include/proto/turnstile.proto

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

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