コード例 #1
0
ファイル: InputFile.cs プロジェクト: yxw027/GNSSer
        public override string ToString()
        {
            string line = "";

            line += " " + StringUtil.FillSpace(CreationAgencyCode, 3);
            line += " " + CreationTime.ToYdsString();
            line += " " + StringUtil.FillSpace(FileName, 29);
            line += " " + StringUtil.FillSpace(FileDescription, 32);

            return(line);
        }
コード例 #2
0
        public override String ToString()
        {
            string line = "%=SNX "
                          + StringUtil.FillSpaceLeft(Version.ToString("0.00"), 4)
                          + StringUtil.FillSpaceLeft(FileAgencyCode, 4)
                          + " " + CreationTime.ToYdsString()
                          + " " + StringUtil.FillSpaceLeft(AgencyCode, 3)
                          + " " + StartTime.ToYdsString()
                          + " " + EndTime.ToYdsString()
                          + " " + ObservationCode
                          + " " + StringUtil.FillZeroLeft(NumberOfEstimates.ToString(), 5)
                          + " " + ConstraintCode;

            foreach (var item in SolutionContents)
            {
                line += " " + item;
            }
            return(line);
        }
コード例 #3
0
        public override string ToString()
        {
            string line = " ";

            line += FileCode;
            line += DocumentType;
            line += " " + FormatVersion.ToString("0.00");
            line += " " + CreationAgencyCode;
            line += " " + CreationTime.ToYdsString();
            line += " " + StringUtil.FillSpace(DataProvidingAgencyCode, 3);
            line += " " + StartTime.ToYdsString();
            line += " " + EndTime.ToYdsString();
            line += " " + ObservationTechnique;
            line += " " + StringUtil.FillZeroLeft(NumberOfEstimates, 5);
            line += " " + ConstraintCode;

            foreach (var item in SolutionContents)
            {
                line += " " + item;
            }
            return(line);
        }