syntax = "proto3";

package device.proto.model.common;
option csharp_namespace = "Al.Proto.Model.Common";

//import "google/protobuf/struct.proto";
import "model/common/geometry.proto";

//异常错误
message Exception {
  //运行时类型信息
  string rtti = 1;
  //错误提示
  string message = 2;
  //可选的错误码
  int32 code = 3;
  //可选的错误分类
  string category = 4;
}

message Nothing {
}

//字符串列表
message Strings {
  repeated string values = 1;
}

//索引列表
message Indexes {
  repeated int32 values = 1;
}

//数字
message Number {
  oneof variant {
    int32 i32 = 1;
    uint32 u32 = 2;
    int64 i64 = 3;
    int64 u64 = 4;
    double floating = 5;
  }
}


