private string FromStartPointToDestinationPathFile(MaskrobotTransferLocation startPoint, MaskrobotTransferLocation destination)
        {
            // vs 2013
            // string fileName = $"{this.FilePath}{startPoint.ToText()}{MaskrobotTransferPathFile.FileConnectionString}{destination.ToText()}{this.ExetendedFileName}";
            string fileName = this.FilePath + startPoint.ToText() + MaskrobotTransferPathFile.FileConnectionString + destination.ToText() + this.ExetendedFileName;

            return(fileName);
        }
        private string HomeFile(MaskrobotTransferLocation home)
        {
            // vs 2013
            //string fileName = $"{this.FilePath}{home.ToText()}{this.ExetendedFileName}";
            string fileName = this.FilePath + home.ToText() + this.ExetendedFileName;

            return(fileName);
        }
예제 #3
0
        public static string ToText(this MaskrobotTransferLocation inst)
        {
            var rtnV = inst.ToDefaultText();

            if (inst != MaskrobotTransferLocation.Dontcare)
            {
                rtnV = inst.ToString();
            }
            return(rtnV);
        }
예제 #4
0
 public static string ToDefaultText(this MaskrobotTransferLocation inst)
 {
     return(default(string));
 }