public DevicePanelListViewModel GetDevicePanels(string account, string token, string deviceSn) { DevicePanelService dps = new DevicePanelService(); return(dps.GetAllDevicePanel(deviceSn, account, token)); }
public ResponseData DeleteDevicePanel(DevicePanelViewModel dpvm) { DevicePanelService dps = new DevicePanelService(); return(dps.DeleteDevicePanel(dpvm)); }
public DevicePanelViewModel AddPanel(DevicePanelViewModel dpvm) { DevicePanelService dps = new DevicePanelService(); return(dps.AddDevicePanel(dpvm)); }