IoTGateway.ViewModel/Rpc/RpcLogVMs/RpcLogVM.cs

(完整代码) 1010B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using IoTGateway.Model;


namespace IoTGateway.ViewModel.Rpc.RpcLogVMs
{
    public partial class RpcLogVM : BaseCRUDVM<RpcLog>
    {
        public List<ComboSelectListItem> AllDevices { get; set; }

        public RpcLogVM()
        {
            SetInclude(x => x.Device);
        }

        protected override void InitVM()
        {
            AllDevices = DC.Set<Device>().GetSelectListItems(Wtm, y => y.DeviceName);
        }

        public override void DoAdd()
        {           
            base.DoAdd();
        }

        public override void DoEdit(bool updateAllFields = false)
        {
            base.DoEdit(updateAllFields);
        }

        public override void DoDelete()
        {
            base.DoDelete();
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。