油漆
This commit is contained in:
25
server/ZR.Service/mes/md/IService/IMdBOMService.cs
Normal file
25
server/ZR.Service/mes/md/IService/IMdBOMService.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.MES.md.IService
|
||||
{
|
||||
public interface IMdBOMService
|
||||
{
|
||||
int AddBom(MdBom bomItem);
|
||||
|
||||
public (int, List<MdBom>) GetAll(string productCode, string productName, int pageNum, int pageSize);
|
||||
public int UpdateBOM(MdBom mdBom);
|
||||
|
||||
public int deleteBOM(int[] ids);
|
||||
public List<MdBom> QueryBOM(string queryString);
|
||||
|
||||
public List<MdUnit> GetAllunitList();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
21
server/ZR.Service/mes/md/IService/IMdDeviceService.cs
Normal file
21
server/ZR.Service/mes/md/IService/IMdDeviceService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdDeviceService
|
||||
{
|
||||
int AddDevice(MdDevice device);
|
||||
|
||||
public (int, List<MdDevice>) GetAll(string deviceCode, string deviceName, int pageNum, int pageSize);
|
||||
public int UpdateDevice(MdDevice workshop);
|
||||
|
||||
public int deleteDevice(int[] ids);
|
||||
|
||||
public List<MdWorkstation> getworkstationList();
|
||||
}
|
||||
}
|
||||
23
server/ZR.Service/mes/md/IService/IMdProductDefineService.cs
Normal file
23
server/ZR.Service/mes/md/IService/IMdProductDefineService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md.DTO;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdProductDefineService
|
||||
{
|
||||
public int deleteProductDefine(int[] ids);
|
||||
public MdProductDefineDTO GetList(string name, string code, int pageNum, int pageSize);
|
||||
public List<MdProductDefine> GetList(DateTime starttime, DateTime endtime, string productCode, string productName);
|
||||
public MdProductDefine GetProductDefinebyPK(int measure);
|
||||
List<MdUnit> GetProductDefineList(string name);
|
||||
List<MdUnit> GetProductDefineList();
|
||||
List<MdWorkline> GetWorklineList();
|
||||
public int InsertProductDefine(MdProductDefine jo);
|
||||
public int UpdateProductDefine(MdProductDefine paramss);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdTechnologicalProrouteService
|
||||
{
|
||||
int AddWorkProroute(MdTechnologicalProroute proroute);
|
||||
|
||||
public (int, List<MdTechnologicalProroute>) GetAll(string ProrouteCode, string ProrouteName, int pageNum, int pageSize);
|
||||
|
||||
public int UpdateWorkProroute(MdTechnologicalProroute proroute);
|
||||
|
||||
public int deleteWorksProroute(int[] ids);
|
||||
}
|
||||
}
|
||||
17
server/ZR.Service/mes/md/IService/IMdUnitService.cs
Normal file
17
server/ZR.Service/mes/md/IService/IMdUnitService.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using ZR.Model.mes.md;
|
||||
using ZR.Model.mes.md.DTO;
|
||||
|
||||
namespace ZR.Service.mes.md.IService;
|
||||
|
||||
public interface IMdUnitService
|
||||
{
|
||||
public int deleteunit(int[] ids);
|
||||
public MdUnitPageDTO GetList(string name, string code, int pageNum, int pageSize);
|
||||
public List<MdUnit> GetList(SearchOptionDTO searchOption);
|
||||
public MdUnit GetUnitbyPK(int measure);
|
||||
public int InsertUnit(MdUnit jo);
|
||||
public int Updateunit(MdUnit paramss);
|
||||
}
|
||||
|
||||
24
server/ZR.Service/mes/md/IService/IMdWorklineService.cs
Normal file
24
server/ZR.Service/mes/md/IService/IMdWorklineService.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.MES.md.IService
|
||||
{
|
||||
|
||||
public interface IMdWorklineService
|
||||
{
|
||||
int AddWorkline(MdWorkline workline);
|
||||
|
||||
public (int, List<MdWorkline>) GetAll(string lineCode, string lineName, int pageNum, int pageSize);
|
||||
public int UpdateWorkline(MdWorkline workline);
|
||||
|
||||
public int deleteWorkline(int[] ids);
|
||||
|
||||
public List<MdWorkshop> GetMdWorkshops(int lineCode=0);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
19
server/ZR.Service/mes/md/IService/IMdWorkshopService.cs
Normal file
19
server/ZR.Service/mes/md/IService/IMdWorkshopService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdWorkshopService
|
||||
{
|
||||
int AddWorkshop(MdWorkshop workshop);
|
||||
|
||||
public (int, List<MdWorkshop>) GetAll(string workshopId, string workshopName, string workshopPosition, int pageNum, int pageSize);
|
||||
public int UpdateWorkshop(MdWorkshop workshop);
|
||||
|
||||
public int deleteWorkshop(int[] ids);
|
||||
}
|
||||
}
|
||||
19
server/ZR.Service/mes/md/IService/IMdWorksortService.cs
Normal file
19
server/ZR.Service/mes/md/IService/IMdWorksortService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdWorksortService
|
||||
{
|
||||
int AddWorksort(MdWorksort workshop);
|
||||
|
||||
public (int, List<MdWorksort>) GetAll(string WorksortCode, string WorksortName, int pageNum, int pageSize);
|
||||
public int UpdateWorksort(MdWorksort workshop);
|
||||
|
||||
public int deleteWorksort(int[] ids);
|
||||
}
|
||||
}
|
||||
22
server/ZR.Service/mes/md/IService/IMdWorkstationService.cs
Normal file
22
server/ZR.Service/mes/md/IService/IMdWorkstationService.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.md;
|
||||
|
||||
namespace ZR.Service.mes.md.IService
|
||||
{
|
||||
public interface IMdWorkstationService
|
||||
{
|
||||
int AddWorkshop(MdWorkstation workshop);
|
||||
|
||||
public (int, List<MdWorkstation>) GetAll(string StationCode, string StationName, int pageNum, int pageSize);
|
||||
public int UpdateWorkshop(MdWorkstation workshop);
|
||||
|
||||
public int deleteWorkshop(int[] ids);
|
||||
|
||||
|
||||
public List<MdWorkline> GetworkLineList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user