using ryCommon;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using ryControls.Interface;
namespace VSoft.Prams
{
///
/// 软件信息
///
public class SoftInfo: IItemInfo
{
///
/// id
///
public int Id { get; set; } = 0;
///
/// id
///
public int ColumnId { get; set; } = 0;
///
/// 0表示运行文件,1表示执行内置命令,2表示执行脚本
///
public int SoftType { get; set; } = 0;
///
/// 命令ID
///
public string CmdId { get; set; } = "";
///
/// 名称
///
public string Name { get; set; } = "";
///
/// 路径
///
public string Path { get; set; } = "";
///
/// 绝对路径
///
public string TruePath
{
get
{
return RyFiles.GetRealPath(Path);
}
}
///
/// 运行参数
///
public string RunPram { get; set; } = "";
///
/// 起始路径
///
public string StartPath { get; set; } = "";
///
/// 文件图标
///
public string IconPath { get; set; } = "";
///
/// 设置
///
public string SetJson { get; set; } = "";
///
/// 备注
///
public string Des { get; set; } = "";
///
/// 文件图标
///
public Image Image { get; set; } = null;
}
///
/// 栏目或分类信息
///
public class ColumnInfo
{
///
/// id
///
public int Id { get; set; } = 0;
///
/// 名称
///
public string Name { get; set; } = "";
///
/// 备注
///
public string Des { get; set; } = "";
}
}