using System;
|
using HDL_ON.Entity;
|
using Shared;
|
|
namespace HDL_ON.UI
|
{
|
public partial class RoomPage
|
{
|
/// <summary>
|
/// 更新功能状态
|
/// </summary>
|
/// <param name="function"></param>
|
public static void UpdataStates(Function function)
|
{
|
new ClassificaitionPublicBLL().UpdataStates(function, bodyView, functionListView,room);
|
}
|
|
/// <summary>
|
/// 加载事件列表
|
/// </summary>
|
void LoadEventList()
|
{
|
|
}
|
|
/// <summary>
|
/// 跳转到编辑房间的界面
|
/// </summary>
|
void LoadEvent_SkipEditRoomPage()
|
{
|
Action editBackAction = () =>
|
{
|
room.UpdataRoomInfo();
|
ReLoadPage();
|
ReloadRoomName();
|
};
|
|
Action delAction = () => {
|
this.RemoveFromParent();
|
deleteAction?.Invoke();
|
};
|
|
var skipPage = new RoomEditPage(room, editBackAction, delAction, this.modifyImageAction);
|
MainPage.BasePageView.AddChidren(skipPage);
|
skipPage.LoadPage();
|
MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
|
}
|
|
|
}
|
}
|