{
  "calendarStyle" : "DAY",
  "codeName" : "TestCtrlPlugDayCalendarView_Calendar",
  "controlStyle" : "LIGHT_CALENDAR",
  "controlType" : "CALENDAR",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSCALENDARS/TestCtrlPlugDayCalendarView_Calendar.json",
  "groupMode" : "NONE",
  "legendPos" : "TOP",
  "logicName" : "测试日历部件插件天视图_日历部件",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
  },
  "getPSAppViewLogics" : [ {
    "logicTrigger" : "CUSTOM",
    "logicType" : "APPUILOGIC",
    "name" : "calendarbookitem_editdata",
    "getPSAppUILogic" : {
      "logicType" : "PREDEFINED",
      "name" : "编辑数据",
      "getOpenDataPSAppView" : {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      },
      "getPSAppUILogicRefViews" : [ {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      } ],
      "viewLogicType" : "APP_OPENDATA",
      "editMode" : true
    }
  }, {
    "logicTrigger" : "CUSTOM",
    "logicType" : "APPUILOGIC",
    "name" : "calendarbookitem_opendata",
    "getPSAppUILogic" : {
      "logicType" : "PREDEFINED",
      "name" : "打开数据",
      "getOpenDataPSAppView" : {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      },
      "getPSAppUILogicRefViews" : [ {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      } ],
      "viewLogicType" : "APP_OPENDATA",
      "editMode" : false
    }
  }, {
    "logicTrigger" : "CUSTOM",
    "logicType" : "APPUILOGIC",
    "name" : "calendarstudentitem_editdata",
    "getPSAppUILogic" : {
      "logicType" : "PREDEFINED",
      "name" : "编辑数据",
      "getOpenDataPSAppView" : {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      },
      "getPSAppUILogicRefViews" : [ {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      } ],
      "viewLogicType" : "APP_OPENDATA",
      "editMode" : true
    }
  }, {
    "logicTrigger" : "CUSTOM",
    "logicType" : "APPUILOGIC",
    "name" : "calendarstudentitem_opendata",
    "getPSAppUILogic" : {
      "logicType" : "PREDEFINED",
      "name" : "打开数据",
      "getOpenDataPSAppView" : {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      },
      "getPSAppUILogicRefViews" : [ {
        "getRefPSAppView" : {
          "modelref" : true,
          "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
          "viewType" : "DEEDITVIEW"
        }
      } ],
      "viewLogicType" : "APP_OPENDATA",
      "editMode" : false
    }
  } ],
  "getPSControls" : [ {
    "codeName" : "TestCtrlPlugDayCalendarViewcm",
    "controlType" : "CONTEXTMENU",
    "logicName" : "上下文菜单测试",
    "name" : "cm",
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    },
    "getPSControlParam" : {
      "id" : "cm"
    },
    "getPSDEToolbarItems" : [ {
      "getCapPSLanguageRes" : {
        "defaultContent" : "编辑",
        "lanResTag" : "TBB.TEXT.*.EDIT",
        "lanResType" : "TBB.TEXT",
        "name" : "工具栏按钮文本[*.EDIT]",
        "refFlag" : true
      },
      "caption" : "编辑",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction1",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "cm_deuiaction1"
      },
      "getPSSysImage" : {
        "glyph" : "xf044@FontAwesome",
        "cssClass" : "fa fa-edit"
      },
      "getPSUIAction" : {
        "actionTarget" : "SINGLEKEY",
        "getCapPSLanguageRes" : {
          "defaultContent" : "编辑",
          "lanResTag" : "TBB.TEXT.*.EDIT",
          "lanResType" : "TBB.TEXT",
          "name" : "工具栏按钮文本[*.EDIT]",
          "refFlag" : true
        },
        "caption" : "编辑",
        "codeName" : "Edit",
        "fullCodeName" : "Edit",
        "name" : "表格界面_编辑操作",
        "getPSSysImage" : {
          "glyph" : "xf044@FontAwesome",
          "cssClass" : "fa fa-edit"
        },
        "predefinedType" : "GRIDVIEW_EDITACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "defaultContent" : "编辑",
          "lanResTag" : "TBB.TOOLTIP.*.EDIT",
          "lanResType" : "TBB.TOOLTIP",
          "name" : "工具栏按钮提示[*.EDIT]",
          "refFlag" : true
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Edit",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "编辑",
      "getTooltipPSLanguageRes" : {
        "defaultContent" : "编辑",
        "lanResTag" : "TBB.TOOLTIP.*.EDIT",
        "lanResType" : "TBB.TOOLTIP",
        "name" : "工具栏按钮提示[*.EDIT]",
        "refFlag" : true
      },
      "uIActionTarget" : "SINGLEKEY",
      "showCaption" : true,
      "showIcon" : true
    }, {
      "getCapPSLanguageRes" : {
        "defaultContent" : "删除",
        "lanResTag" : "TBB.TEXT.*.REMOVE",
        "lanResType" : "TBB.TEXT",
        "name" : "工具栏按钮文本[*.REMOVE]",
        "refFlag" : true
      },
      "caption" : "删除",
      "groupExtractMode" : "ITEM",
      "itemType" : "DEUIACTION",
      "name" : "deuiaction2",
      "noPrivDisplayMode" : 2,
      "getPSAppViewUIAction" : {
        "modelref" : true,
        "id" : "cm_deuiaction2"
      },
      "getPSSysImage" : {
        "glyph" : "xf00d@FontAwesome",
        "cssClass" : "fa fa-remove"
      },
      "getPSUIAction" : {
        "actionTarget" : "MULTIKEY",
        "getCapPSLanguageRes" : {
          "defaultContent" : "删除",
          "lanResTag" : "TBB.TEXT.*.REMOVE",
          "lanResType" : "TBB.TEXT",
          "name" : "工具栏按钮文本[*.REMOVE]",
          "refFlag" : true
        },
        "caption" : "删除",
        "codeName" : "Remove",
        "fullCodeName" : "Remove",
        "name" : "表格界面_删除操作",
        "getPSSysImage" : {
          "glyph" : "xf00d@FontAwesome",
          "cssClass" : "fa fa-remove"
        },
        "predefinedType" : "GRIDVIEW_REMOVEACTION",
        "timeout" : 60000,
        "getTooltipPSLanguageRes" : {
          "defaultContent" : "删除",
          "lanResTag" : "TBB.TOOLTIP.*.REMOVE",
          "lanResType" : "TBB.TOOLTIP",
          "name" : "工具栏按钮提示[*.REMOVE]",
          "refFlag" : true
        },
        "uIActionMode" : "SYS",
        "uIActionTag" : "Remove",
        "uIActionType" : "DEUIACTION"
      },
      "tooltip" : "删除",
      "getTooltipPSLanguageRes" : {
        "defaultContent" : "删除",
        "lanResTag" : "TBB.TOOLTIP.*.REMOVE",
        "lanResType" : "TBB.TOOLTIP",
        "name" : "工具栏按钮提示[*.REMOVE]",
        "refFlag" : true
      },
      "uIActionTarget" : "MULTIKEY",
      "showCaption" : true,
      "showIcon" : true
    } ],
    "toolbarStyle" : "CONTEXTMENU",
    "modelid" : "1260E608-5295-456C-9A6E-B0C44E0B8E58",
    "modeltype" : "PSDETOOLBAR"
  } ],
  "getPSSysCalendarItems" : [ {
    "bKColor" : "#557DA5",
    "getBeginTimePSAppDEField" : {
      "name" : "CREATEDATE",
      "codeName" : "CreateDate"
    },
    "getClsPSAppDEField" : {
      "name" : "FIELD",
      "codeName" : "Field"
    },
    "getEndTimePSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    },
    "getIdPSAppDEField" : {
      "name" : "BOOKID",
      "codeName" : "BookId"
    },
    "itemStyle" : "DEFAULT",
    "itemType" : "calendarbookitem",
    "maxSize" : -1,
    "name" : "图书",
    "getPSAppDEDataSet" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
    },
    "getPSDEContextMenu" : {
      "codeName" : "TestCtrlPlugDayCalendarViewcm",
      "controlType" : "CONTEXTMENU",
      "logicName" : "上下文菜单测试",
      "name" : "cm",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSControlParam" : {
        "id" : "cm"
      },
      "getPSDEToolbarItems" : [ {
        "getCapPSLanguageRes" : {
          "defaultContent" : "编辑",
          "lanResTag" : "TBB.TEXT.*.EDIT",
          "lanResType" : "TBB.TEXT",
          "name" : "工具栏按钮文本[*.EDIT]",
          "refFlag" : true
        },
        "caption" : "编辑",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction1",
        "noPrivDisplayMode" : 2,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "cm_deuiaction1"
        },
        "getPSSysImage" : {
          "glyph" : "xf044@FontAwesome",
          "cssClass" : "fa fa-edit"
        },
        "getPSUIAction" : {
          "actionTarget" : "SINGLEKEY",
          "getCapPSLanguageRes" : {
            "defaultContent" : "编辑",
            "lanResTag" : "TBB.TEXT.*.EDIT",
            "lanResType" : "TBB.TEXT",
            "name" : "工具栏按钮文本[*.EDIT]",
            "refFlag" : true
          },
          "caption" : "编辑",
          "codeName" : "Edit",
          "fullCodeName" : "Edit",
          "name" : "表格界面_编辑操作",
          "getPSSysImage" : {
            "glyph" : "xf044@FontAwesome",
            "cssClass" : "fa fa-edit"
          },
          "predefinedType" : "GRIDVIEW_EDITACTION",
          "timeout" : 60000,
          "getTooltipPSLanguageRes" : {
            "defaultContent" : "编辑",
            "lanResTag" : "TBB.TOOLTIP.*.EDIT",
            "lanResType" : "TBB.TOOLTIP",
            "name" : "工具栏按钮提示[*.EDIT]",
            "refFlag" : true
          },
          "uIActionMode" : "SYS",
          "uIActionTag" : "Edit",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "编辑",
        "getTooltipPSLanguageRes" : {
          "defaultContent" : "编辑",
          "lanResTag" : "TBB.TOOLTIP.*.EDIT",
          "lanResType" : "TBB.TOOLTIP",
          "name" : "工具栏按钮提示[*.EDIT]",
          "refFlag" : true
        },
        "uIActionTarget" : "SINGLEKEY",
        "showCaption" : true,
        "showIcon" : true
      }, {
        "getCapPSLanguageRes" : {
          "defaultContent" : "删除",
          "lanResTag" : "TBB.TEXT.*.REMOVE",
          "lanResType" : "TBB.TEXT",
          "name" : "工具栏按钮文本[*.REMOVE]",
          "refFlag" : true
        },
        "caption" : "删除",
        "groupExtractMode" : "ITEM",
        "itemType" : "DEUIACTION",
        "name" : "deuiaction2",
        "noPrivDisplayMode" : 2,
        "getPSAppViewUIAction" : {
          "modelref" : true,
          "id" : "cm_deuiaction2"
        },
        "getPSSysImage" : {
          "glyph" : "xf00d@FontAwesome",
          "cssClass" : "fa fa-remove"
        },
        "getPSUIAction" : {
          "actionTarget" : "MULTIKEY",
          "getCapPSLanguageRes" : {
            "defaultContent" : "删除",
            "lanResTag" : "TBB.TEXT.*.REMOVE",
            "lanResType" : "TBB.TEXT",
            "name" : "工具栏按钮文本[*.REMOVE]",
            "refFlag" : true
          },
          "caption" : "删除",
          "codeName" : "Remove",
          "fullCodeName" : "Remove",
          "name" : "表格界面_删除操作",
          "getPSSysImage" : {
            "glyph" : "xf00d@FontAwesome",
            "cssClass" : "fa fa-remove"
          },
          "predefinedType" : "GRIDVIEW_REMOVEACTION",
          "timeout" : 60000,
          "getTooltipPSLanguageRes" : {
            "defaultContent" : "删除",
            "lanResTag" : "TBB.TOOLTIP.*.REMOVE",
            "lanResType" : "TBB.TOOLTIP",
            "name" : "工具栏按钮提示[*.REMOVE]",
            "refFlag" : true
          },
          "uIActionMode" : "SYS",
          "uIActionTag" : "Remove",
          "uIActionType" : "DEUIACTION"
        },
        "tooltip" : "删除",
        "getTooltipPSLanguageRes" : {
          "defaultContent" : "删除",
          "lanResTag" : "TBB.TOOLTIP.*.REMOVE",
          "lanResType" : "TBB.TOOLTIP",
          "name" : "工具栏按钮提示[*.REMOVE]",
          "refFlag" : true
        },
        "uIActionTarget" : "MULTIKEY",
        "showCaption" : true,
        "showIcon" : true
      } ],
      "toolbarStyle" : "CONTEXTMENU",
      "modelid" : "1260E608-5295-456C-9A6E-B0C44E0B8E58",
      "modeltype" : "PSDETOOLBAR"
    },
    "getPSLayoutPanel" : {
      "getAllPSPanelFields" : [ {
        "id" : "field_textbox",
        "viewFieldName" : "date"
      }, {
        "id" : "field_textbox1",
        "viewFieldName" : "bookname"
      } ],
      "codeName" : "TestCalendarPanel",
      "controlType" : "PANEL",
      "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSPANELS/TestCalendarPanel.json",
      "layoutMode" : "FLEX",
      "logicName" : "图书日历项布局面板",
      "getPSAppDataEntity" : {
        "modelref" : true,
        "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
      },
      "getPSControlParam" : { },
      "getPSLayout" : {
        "layout" : "FLEX"
      },
      "getRootPSPanelItems" : [ {
        "itemStyle" : "DEFAULT",
        "itemType" : "CONTAINER",
        "name" : "page_container",
        "getPSLayout" : {
          "dir" : "column",
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "文本",
          "contentType" : "RAW",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "static_text",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "caption" : "测试布局面板",
            "contentType" : "RAW",
            "name" : "static_text",
            "predefinedType" : "STATIC_TEXT",
            "renderMode" : "TEXT"
          },
          "rawContent" : "测试布局面板",
          "showCaption" : true
        }, {
          "caption" : "文本框",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_textbox",
          "getPSEditor" : {
            "editorType" : "TEXTBOX",
            "name" : "field_textbox",
            "predefinedType" : "FIELD_TEXTBOX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "viewFieldName" : "date",
          "hidden" : false,
          "showCaption" : false
        }, {
          "caption" : "文本框",
          "itemStyle" : "DEFAULT",
          "itemType" : "FIELD",
          "name" : "field_textbox1",
          "getPSEditor" : {
            "editorType" : "TEXTBOX",
            "name" : "field_textbox1",
            "predefinedType" : "FIELD_TEXTBOX"
          },
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "viewFieldName" : "bookname",
          "hidden" : false,
          "showCaption" : false
        } ]
      } ],
      "name" : "calendarbookitemlayoutpanel",
      "modelid" : "02AB8BED-9E34-4508-BDA1-8FAFB4F5F2B6",
      "modeltype" : "PSSYSVIEWPANEL"
    },
    "getTextPSAppDEField" : {
      "name" : "BOOKNAME",
      "codeName" : "BookName"
    },
    "enableQuickCreate" : false,
    "id" : "calendarbookitem"
  }, {
    "getBeginTimePSAppDEField" : {
      "name" : "CREATEDATE",
      "codeName" : "CreateDate"
    },
    "getEndTimePSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    },
    "getIdPSAppDEField" : {
      "name" : "STUDENTID",
      "codeName" : "StudentId"
    },
    "itemStyle" : "DEFAULT",
    "itemType" : "calendarstudentitem",
    "maxSize" : -1,
    "name" : "学生（布局）",
    "getPSAppDEDataSet" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
    },
    "getTextPSAppDEField" : {
      "name" : "STUDENTNAME",
      "codeName" : "StudentName"
    },
    "enableQuickCreate" : false,
    "id" : "calendarstudentitem"
  } ],
  "getPSSysPFPlugin" : {
    "pluginType" : "CUSTOM",
    "pluginCode" : "LIGHT_CALENDAR",
    "runtimeObject" : true
  },
  "enableGroup" : false,
  "modelid" : "48CB0996-1395-41B4-8529-1E98C1B9FB62",
  "modeltype" : "PSSYSCALENDAR"
}