indexTypeConvertToString static method

String indexTypeConvertToString(
  1. IndexType type
)

Implementation

static String indexTypeConvertToString(IndexType type) {
  String str = '';
  switch (type) {
    case IndexType.indexTypeWall:
      str = "墙垂平";
      break;
    case IndexType.indexTypePlaneRoof:
      str = "顶板";
      break;
    case IndexType.indexTypePlaneFloor:
      str = "地面";
      break;
    case IndexType.indexTypeRoomDeep:
      str = "开间进深";
      break;
    case IndexType.indexTypeSquareness:
      str = "方正度";
      break;
    case IndexType.indexTypeCorner:
      str = "阴阳角";
      break;
    case IndexType.indexTypeHeight:
      str = "净高";
      break;
    case IndexType.indexTypeLow:
      str = "净低";
      break;
    case IndexType.indexTypeSideAndLine:
      str = "三边两线";
      break;
    default:
  }
  return str;
}