iotgateway/WalkingTec.Mvvm/WalkingTec.Mvvm.Core/Implement/DefaultUIService.cs
2021-12-14 14:10:44 +08:00

60 lines
2.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace WalkingTec.Mvvm.Core.Implement
{
public class DefaultUIService : IUIService
{
public string MakeDialogButton(ButtonTypesEnum buttonType, string url, string buttonText, int? width, int? height, string title = null, string buttonID = null, bool showDialog = true, bool resizable = true, bool max = false, string buttonClass = null, string style = null)
{
return "";
}
public string MakeDownloadButton(ButtonTypesEnum buttonType, Guid fileID, string buttonText = null, string _DONOT_USE_CS = "default", string buttonClass = null, string style = null)
{
return "";
}
public string MakeCheckBox(bool ischeck, string text = null, string name = null, string value = null, bool isReadOnly = false)
{
return "";
}
public string MakeButton(ButtonTypesEnum buttonType, string url, string buttonText, int? width, int? height, string title = null, string buttonID = null, bool resizable = true, bool max = false, string currentdivid = "", string buttonClass = null, string style = null, RedirectTypesEnum rtype = RedirectTypesEnum.Layer)
{
return "";
}
public string MakeViewButton(ButtonTypesEnum buttonType, Guid fileID, string buttonText = null, int? width = null, int? height = null, string title = null, bool resizable = true, string _DONOT_USE_CS = "default", bool maxed = false, string buttonClass = null, string style = null)
{
return "";
}
public string MakeScriptButton(ButtonTypesEnum buttonType, string buttonText, string script = "", string buttonID = null, string url = null, string buttonClass = null, string style = null)
{
return "";
}
public string MakeRadio(bool ischeck, string text = null, string name = null, string value = null, bool isReadOnly = false)
{
return "";
}
public string MakeCombo(string name = null, List<ComboSelectListItem> value = null, string selectedValue = null, string emptyText = null, bool isReadOnly = false)
{
return "";
}
public string MakeTextBox(string name = null, string value = null, string emptyText = null, bool isReadOnly = false)
{
return "";
}
public string MakeDateTime(string name = null, string value = null, string emptyText = null, bool isReadOnly = false)
{
return "";
}
}
}