public IActionResult GetMachineInfo(int mid)
        {
            var machineInfo = _redisManager.GetHash <RequestMachineInfo>(RedisConstant.MachineInfo, mid.ToStr());

            if (machineInfo == null || machineInfo == default(RequestMachineInfo))
            {
                return(new ObjectResult(0));
            }
            var path = Path.Combine(machineInfo.FileLocation, $"{DateTime.Now.ToString("yyyyMMdd")}.{machineInfo.FileType}");

            path = path.Replace(@"\\", @"\");
            if (path.StartsWith(@"\"))
            {
                path = @"\" + path;
            }
            if (!System.IO.File.Exists(path))
            {
                return(new ObjectResult($"{path} file not found"));
            }
            var helper = new CommonExcelHelper();
            var ret    = helper.ReadLastLine(path);

            return(new ObjectResult(ret));
        }