@ -45,7 +45,6 @@ public class StationReadyState : IState
}
//plc是否是远程模式
var plcIsAuto = PlcIsAuto(machine);
if (InvokeStatus.Done != plcIsAuto)
{
@ -93,7 +93,15 @@ public class StaticStationInfo
public static bool TboxStateCarList
get => bool.Parse(Resolve(StationParamConst.TboxStateCarList));
get
if (Resolve(StationParamConst.TboxStateCarList) == null)
return false;
else
return bool.Parse(Resolve(StationParamConst.TboxStateCarList));
set => Set(StationParamConst.TboxStateCarList, value);
@ -30,13 +30,6 @@ namespace Service.Mgr
};
public async Task<SysFile> UploadAvatar([Required] IFormFile file, string path)
var sysFile = await HandleUploadFile(file, path, _imageType);
return sysFile;
/// <summary>
/// 上传文件
/// </summary>