- 示例 p8-t1…t5(代码逐个累加):主界面、校园环境界面、环境采集与分析(路灯手动 / 自动控制、 LED 推送、自动推送火情、7 天温度图表)、校园安防(入侵提示、摄像机方向、拍照入库)、历史图片 (按日期查询、左右切换),各有评分规则 - 按书补全参考工程里空着的"推送LED信息""自动控制",给"自动推送火情"绑定 CheckedChanged (书上第 23 步写成了 ch_autoLamp);任务 5 每次查询前清空 Keys - 素材:项目 8 的 20 多张图片全部自绘,名字和尺寸与教材一致(project8.py 生成 SVG, build-gallery.sh 渲染成 PNG;源文件移到 svg/) - 数据库 WisdomCampus 按教材的表结构建(EnvironmentData、SecurityData、Users),预置 7 天环境数据 - 测试:参考答案全部通过;没绑定"自动推送火情"、开灯换错背景图片时报出对应原因 - 文档:教材 8 个项目全部有示例,共 23 个 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
130 lines
5.3 KiB
C#
130 lines
5.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 项目资源(平台素材库)。在"项目资源"里添加或移除,不要手动修改这个文件。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace 智慧校园.Properties {
|
|
|
|
/// <summary>
|
|
/// 项目资源:Properties.Resources.资源名
|
|
/// </summary>
|
|
internal class Resources {
|
|
|
|
/// <summary>标题:智慧校园</summary>
|
|
internal static System.Drawing.Bitmap ico_title {
|
|
get { return global::Sim.Host.ProjectResources.Image("ico_title.png"); }
|
|
}
|
|
|
|
/// <summary>主界面背景:校园</summary>
|
|
internal static System.Drawing.Bitmap bg_home {
|
|
get { return global::Sim.Host.ProjectResources.Image("bg_home.png"); }
|
|
}
|
|
|
|
/// <summary>图标:校园环境</summary>
|
|
internal static System.Drawing.Bitmap icon_02 {
|
|
get { return global::Sim.Host.ProjectResources.Image("icon_02.png"); }
|
|
}
|
|
|
|
/// <summary>图标:校园安防</summary>
|
|
internal static System.Drawing.Bitmap icon_03 {
|
|
get { return global::Sim.Host.ProjectResources.Image("icon_03.png"); }
|
|
}
|
|
|
|
/// <summary>图标:退出</summary>
|
|
internal static System.Drawing.Bitmap icon_04 {
|
|
get { return global::Sim.Host.ProjectResources.Image("icon_04.png"); }
|
|
}
|
|
|
|
/// <summary>路灯场景:亮灯</summary>
|
|
internal static System.Drawing.Bitmap day_01 {
|
|
get { return global::Sim.Host.ProjectResources.Image("day_01.png"); }
|
|
}
|
|
|
|
/// <summary>路灯场景:灭灯</summary>
|
|
internal static System.Drawing.Bitmap day_02 {
|
|
get { return global::Sim.Host.ProjectResources.Image("day_02.png"); }
|
|
}
|
|
|
|
/// <summary>面板背景(窄)</summary>
|
|
internal static System.Drawing.Bitmap bg_from2 {
|
|
get { return global::Sim.Host.ProjectResources.Image("bg_from2.png"); }
|
|
}
|
|
|
|
/// <summary>开关:开</summary>
|
|
internal static System.Drawing.Bitmap switch_on {
|
|
get { return global::Sim.Host.ProjectResources.Image("switch_on.png"); }
|
|
}
|
|
|
|
/// <summary>开关:关</summary>
|
|
internal static System.Drawing.Bitmap switch_off {
|
|
get { return global::Sim.Host.ProjectResources.Image("switch_off.png"); }
|
|
}
|
|
|
|
/// <summary>监控:无画面</summary>
|
|
internal static System.Drawing.Bitmap icon_monitor {
|
|
get { return global::Sim.Host.ProjectResources.Image("icon_monitor.png"); }
|
|
}
|
|
|
|
/// <summary>监控:方向盘底座</summary>
|
|
internal static System.Drawing.Bitmap panel_video_ctrl {
|
|
get { return global::Sim.Host.ProjectResources.Image("panel_video_ctrl.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:上</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_up_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_up_normal.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:上(按下)</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_up_press {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_up_press.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:下</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_down_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_down_normal.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:下(按下)</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_down_press {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_down_press.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:左</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_left_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_left_normal.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:左(按下)</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_left_press {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_left_press.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:右</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_right_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_right_normal.png"); }
|
|
}
|
|
|
|
/// <summary>方向键:右(按下)</summary>
|
|
internal static System.Drawing.Bitmap btn_arrow_right_press {
|
|
get { return global::Sim.Host.ProjectResources.Image("btn_arrow_right_press.png"); }
|
|
}
|
|
|
|
/// <summary>翻页:上一张</summary>
|
|
internal static System.Drawing.Bitmap arrow_left_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("arrow_left_normal.png"); }
|
|
}
|
|
|
|
/// <summary>翻页:下一张</summary>
|
|
internal static System.Drawing.Bitmap arrow_right_normal {
|
|
get { return global::Sim.Host.ProjectResources.Image("arrow_right_normal.png"); }
|
|
}
|
|
|
|
/// <summary>关闭按钮</summary>
|
|
internal static System.Drawing.Bitmap windowstate_closed_hover {
|
|
get { return global::Sim.Host.ProjectResources.Image("windowstate_closed_hover.png"); }
|
|
}
|
|
}
|
|
}
|