|
|
@ -30,6 +30,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="deviceCode">控制器编号</param>
|
|
|
|
/// <param name="deviceCode">控制器编号</param>
|
|
|
|
/// <param name="deviceName">控制器名称</param>
|
|
|
|
/// <param name="deviceName">控制器名称</param>
|
|
|
|
|
|
|
|
/// <param name="activated">是否启用</param>
|
|
|
|
/// <param name="page">当前页</param>
|
|
|
|
/// <param name="page">当前页</param>
|
|
|
|
/// <param name="size">页大小</param>
|
|
|
|
/// <param name="size">页大小</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
@ -45,6 +46,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="deviceCode">控制器编号</param>
|
|
|
|
/// <param name="deviceCode">控制器编号</param>
|
|
|
|
/// <param name="deviceName">控制器名称</param>
|
|
|
|
/// <param name="deviceName">控制器名称</param>
|
|
|
|
|
|
|
|
/// <param name="activated">是否启用</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Result<List<DeviceInfo>> GetDeviceInfoList(string deviceCode, string deviceName, bool? activated = false)
|
|
|
|
public Result<List<DeviceInfo>> GetDeviceInfoList(string deviceCode, string deviceName, bool? activated = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -120,6 +122,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// <param name="equipmentType">设备类型</param>
|
|
|
|
/// <param name="equipmentType">设备类型</param>
|
|
|
|
/// <param name="pointCode">点位编号</param>
|
|
|
|
/// <param name="pointCode">点位编号</param>
|
|
|
|
/// <param name="pointName">点位列表</param>
|
|
|
|
/// <param name="pointName">点位列表</param>
|
|
|
|
|
|
|
|
/// <param name="activated">是否启用</param>
|
|
|
|
/// <param name="page">当前页</param>
|
|
|
|
/// <param name="page">当前页</param>
|
|
|
|
/// <param name="size">页大小</param>
|
|
|
|
/// <param name="size">页大小</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
@ -140,6 +143,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// <param name="equipmentType">设备类型</param>
|
|
|
|
/// <param name="equipmentType">设备类型</param>
|
|
|
|
/// <param name="pointCode">点位编号</param>
|
|
|
|
/// <param name="pointCode">点位编号</param>
|
|
|
|
/// <param name="pointName">点位列表</param>
|
|
|
|
/// <param name="pointName">点位列表</param>
|
|
|
|
|
|
|
|
/// <param name="activated">是否启用</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Result<List<DevicePoint>> GetDevicePointList(string deviceName, string deviceCode, string equipmentName, string equipmentCode, string equipmentType, string pointCode, string pointName, bool? activated)
|
|
|
|
public Result<List<DevicePoint>> GetDevicePointList(string deviceName, string deviceCode, string equipmentName, string equipmentCode, string equipmentType, string pointCode, string pointName, bool? activated)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -171,7 +175,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 添加PLC控制器点位
|
|
|
|
/// 添加PLC控制器点位
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="entity"></param>
|
|
|
|
/// <param name="info"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Result<string> AddDevicePoint(DevicePoint info)
|
|
|
|
public Result<string> AddDevicePoint(DevicePoint info)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -183,7 +187,7 @@ namespace PVDEMCS.Services.Impl
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// 更新PLC控制器点位
|
|
|
|
/// 更新PLC控制器点位
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="entity"></param>
|
|
|
|
/// <param name="info"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Result UpdateDevicePoint(DevicePoint info)
|
|
|
|
public Result UpdateDevicePoint(DevicePoint info)
|
|
|
|
{
|
|
|
|
{
|
|
|
|