62 lines
1.9 KiB
C#
62 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components;
|
|
using System.Net.Http;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Components.Authorization;
|
|
using Microsoft.AspNetCore.Components.Forms;
|
|
using Microsoft.AspNetCore.Components.Routing;
|
|
using Microsoft.AspNetCore.Components.Web;
|
|
using Microsoft.AspNetCore.Components.Web.Virtualization;
|
|
using Microsoft.JSInterop;
|
|
using EgwCoreLib.Razor;
|
|
using EgwCoreLib.Utils;
|
|
using WebDoorCreator.Data;
|
|
using WebDoorCreator.Data.DbModels;
|
|
using WebDoorCreator.UI;
|
|
using WebDoorCreator.UI.Components;
|
|
using WebDoorCreator.UI.Components.Buttons;
|
|
using WebDoorCreator.UI.Components.CompMan;
|
|
using WebDoorCreator.UI.Components.DoorMan;
|
|
using WebDoorCreator.UI.Components.DoorDef;
|
|
using WebDoorCreator.UI.Components.Gen;
|
|
using WebDoorCreator.UI.Components.Order;
|
|
using WebDoorCreator.UI.Components.Users;
|
|
using WebDoorCreator.UI.Components.Hardware;
|
|
using WebDoorCreator.UI.Components.SvgComp;
|
|
using WebDoorCreator.UI.Components.Filters;
|
|
using WebDoorCreator.UI.Components.Report;
|
|
using WebDoorCreator.UI.Components.FilesMan;
|
|
using WebDoorCreator.UI.Components.TemplateMan;
|
|
using WebDoorCreator.UI.Shared;
|
|
using WebDoorCreator.Data.Services;
|
|
using WebDoorCreator.UI.Pages;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace WebDoorCreator.UI.Components.Hardware
|
|
{
|
|
public partial class HwMan
|
|
{
|
|
|
|
protected List<DoorOpTypeModel> doorOpTypes = new List<DoorOpTypeModel>();
|
|
|
|
[Inject]
|
|
protected WebDoorCreatorService WDCService { get; set; } = null!;
|
|
|
|
protected override async Task OnParametersSetAsync()
|
|
{
|
|
await ReloadData();
|
|
}
|
|
|
|
protected async Task ReloadData()
|
|
{
|
|
var temp = await WDCService.DoorOpTypeGetByHwCode("*");
|
|
if(temp != null)
|
|
{
|
|
//doorOpTypes = temp.Where(x=>x.);
|
|
}
|
|
}
|
|
}
|
|
} |