Explorar el Código

add timestamp

liqingxia hace 3 años
padre
commit
d22055d6e9
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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表示闸机坏了
 }