private string FromStartPointToGet(BoxrobotTransferLocation startPoint)
        {
            string       fullFileName, fileName;
            const string connetSign = FileNameConnectSign;

            fileName     = startPoint.ToText() + connetSign + BoxrobotTransferActionType.GET.ToText() + this.ExetendedFileName;
            fullFileName = this.FilePath + fileName;
            return(fullFileName);
        }
예제 #2
0
        /// <summary>由起點到終點的檔案名稱</summary>
        /// <param name="startPoint">起點</param>
        /// <param name="destination">終點</param>
        /// <param name="direction">方向(去、 回)</param>
        /// <param name="actionType">動作方式(取、 放)</param>
        /// <returns></returns>
        private string FromStartPointToDestinationPathFile(BoxrobotTransferLocation startPoint, BoxrobotTransferLocation destination, BoxrobotTransferDirection direction, BoxrobotTransferActionType actionType)
        {
            string       fullFileName, fileName;
            const string connetSign = FileNameConnectSign;

            /** // vs 2013
             * fileName = $"{startPoint.ToText()}{connetSign}{direction.ToText()}{connetSign}{destination.ToText()}{connetSign}{actionType}{this.ExetendedFileName}";
             * fullFileName = $"{this.FilePath}{fileName}";
             */
            fileName     = startPoint.ToText() + connetSign + direction.ToText() + connetSign + destination.ToText() + connetSign + actionType + this.ExetendedFileName;
            fullFileName = this.FilePath + fileName;
            return(fullFileName);
        }
예제 #3
0
        private string CabinetHomePathFile(BoxrobotTransferLocation cabinetHome)
        {
            string fullFileName, fileName;

            //const string connetSign = FileNameConnectSign;

            /** // vs 2013
             * fileName = $"{cabinetHome.ToText()}{this.ExetendedFileName}";
             * fullFileName = $"{this.FilePath}{fileName}";
             */
            fileName     = cabinetHome.ToText() + this.ExetendedFileName;
            fullFileName = this.FilePath + fileName;
            return(fullFileName);
        }