コード例 #1
0
        public String GetTextView(Int32 indentLevel)
        {
            String        i  = HttpClientHelper.Indent(indentLevel);
            StringBuilder sb = new StringBuilder()
                               .Append(i).Append("Id:                      ").Append(Id)
                               .Append(i).Append("Id_External:             ").Append(Id_External)
                               .Append(i).Append("CreatedAt:               ").Append(CreatedAt)
                               .Append(i).Append("UpdatedAt:               ").Append(UpdatedAt)
                               .Append(i).Append("Id_Field:                ").Append(Id_Field)
                               .Append(i).Append("StartTime:               ").Append(StartTime)
                               .Append(i).Append("CalculatedArea:          ").Append(CalculatedArea.F("0.00 ha"))
                               .Append(i).Append("LegalArea:               ").Append(LegalArea.F("0.00 ha"))
                               .Append(i).Append("TillableArea:            ").Append(TillableArea.F("0.00 ha"))
                               .Append(i).Append("ShapeSimplifiedGeojson:  ").Append(ShapeSimplifiedGeojson)
                               .Append(i).Append("ShapeGeojson:            ").Append(ShapeGeojson);

            return(sb.ToString());
        }
コード例 #2
0
        public String GetTextView(Int32 indentLevel)
        {
            String        i  = HttpClientHelper.Indent(indentLevel);
            StringBuilder sb = new StringBuilder()
                               .Append(i).Append("Id:                        ").Append(Id)
                               .Append(i).Append("Id_External:               ").Append(Id_External)
                               .Append(i).Append("CreatedAt:                 ").Append(CreatedAt)
                               .Append(i).Append("UpdatedAt:                 ").Append(UpdatedAt)
                               .Append(i).Append("Id_FieldGroup:             ").Append(Id_FieldGroup)
                               .Append(i).Append("Name:                      ").Append(Name)
                               .Append(i).Append("AdditionalInfo:            ").Append(AdditionalInfo)
                               .Append(i).Append("Description:               ").Append(Description)
                               .Append(i).Append("ShapeSimplifiedGeojson:    ").Append(ShapeSimplifiedGeojson)
                               .Append(i).Append("ShapeGeojson:              ").Append(ShapeGeojson)
                               .Append(i).Append("Id_CurrentShape:           ").Append(Id_CurrentShape)
                               .Append(i).Append("CalculatedArea:            ").Append(CalculatedArea.F("0.00 ha"))
                               .Append(i).Append("LegalArea:                 ").Append(LegalArea.F("0.00 ha"))
                               .Append(i).Append("EndTime:                   ").Append(EndTime)
                               .Append(i).Append("TillableArea:              ").Append(TillableArea.F("0.00 ha"))
                               .Append(i).Append("AdministrativeAreaName:    ").Append(AdministrativeAreaName)
                               .Append(i).Append("SubadministrativeAreaName: ").Append(SubadministrativeAreaName)
                               .Append(i).Append("Locality:                  ").Append(Locality);

            return(sb.ToString());
        }