pro_econ_testing_point.sql 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. create table pro_econ_testing_point
  2. (
  3. id varchar(20)
  4. constraint pro_econ_testing_point_pk
  5. primary key,
  6. code varchar(60),
  7. name varchar(250),
  8. model varchar(30),
  9. type_id varchar(30),
  10. original_uniform_code varchar(30),
  11. uniform_code varchar(30),
  12. ucv1 varchar(30),
  13. ucv2 varchar(30),
  14. ucv3 varchar(30),
  15. thing_id varchar(30),
  16. thing_type varchar(30),
  17. data_type varchar(30),
  18. station_id varchar(30),
  19. logical_unit_id varchar(30),
  20. is_display boolean,
  21. spare varchar(60)
  22. );
  23. comment on table pro_econ_testing_point is '逻辑测点';
  24. comment on column pro_econ_testing_point.code is '测点';
  25. comment on column pro_econ_testing_point.name is '描述';
  26. comment on column pro_econ_testing_point.model is '机型';
  27. comment on column pro_econ_testing_point.original_uniform_code is '原始统一编码';
  28. comment on column pro_econ_testing_point.uniform_code is '统一编码';
  29. comment on column pro_econ_testing_point.ucv1 is '统一编码备用';
  30. comment on column pro_econ_testing_point.thing_id is '设备id';
  31. comment on column pro_econ_testing_point.thing_type is '场站,风机,部件';
  32. comment on column pro_econ_testing_point.data_type is '数据类型';
  33. comment on column pro_econ_testing_point.station_id is '场站';
  34. comment on column pro_econ_testing_point.logical_unit_id is '部件编号';