Public Class RedisInfoNode '用户 Public Property User As String Public Property PictureNum As String '项目名称 Public Property ProjectName As String '项目id Public Property ProjectId As String '模版库名称 做返回时,代表生成图片路径 Public Property MaterialLibraryName As String '模板名称 做返回时,代表生成CDR路径 Public Property TemplateName As String 'Mode_插卡取电_4开 'logo位置 Public Property LogoPosition As String '1_2_2 '替换的logo所在文件 Public Property LogoFileName As String 'logo.png '替换logo的相对位置 Public Property LogoIndexNumber As String '1_2_2 Public Property TemplateNameIndex As String 'PageNumber_LayerNumber_Shapenumber =1_2_2 '素材集合 <位置,替换的图像位置> ' Public Property MaterialDic As Dictionary(Of String, String) Public Property PatternList As List(Of Pattern) Public Property Process As Integer 'Guid { Get; Set; } Public Property Guid As String End Class Public Class Pattern Public Property FileName As String '文件名称 Public Property IndexNumber As String '相对位置 Public Property ShapeNumber As String '位置 Public Property LocationList As List(Of LocationList) ' End Class Public Class LocationList Public Property FileName As String '文件名称 Public ShapeType As Integer '素材类型 0自定义 1:图片 2:文字 Public Property IndexNumber As String '相对位置 Public Property ShapeNumber As String '素材绝对位置 '颜色 Public Property ShapeColor As String '字体 Public Property ShapeFont As String '字号 Public Property ShapeFontSize As Single '備注 Public Property Remark As String '对齐行号 Public Property LineNumber As String End Class Public Class RedisSendNode Enum StatusType '成功 Success = 1 '失败 素材库不存在 MaterialLibraryNotExist = 2 '失败 模板不存在 TemplateNotExist = 3 '失败 素材不存在 MaterialNotExist = 4 '失败 未找到素材放置位置 MaterialPositionNotExist = 5 '失败 获取数据库素材失败 GetMaterialFromDBFail = 6 '失败 构建图像失败 BuildImageFail = 7 '失败 生成文件失败 SaveFileFail = 8 '失败 未知操作 失败 UnknownFail = 9 '失败 序列化数据错误 失败 SerializeFail = 10 End Enum '用户 Public Property User As String Public Property PictureNum As String '项目名称 Public Property ProjectName As String '项目id Public Property ProjectId As String '状态 Public Property Status As Integer '图片路径 Public Property ImagePath As String 'CDR路径 Public Property CdrPath As String 'msg'返回信息 Public Property Msg As String Public Property Process As Integer 'Guid Public Property Guid As String End Class Public Class RedisMsgNode Public Property MsgType As Integer '1、生成图像 2、生成房型面板总览 Public Property MsgNode As Object End Class Public Class PreviewRoomTypePanel Public Property panels As List(Of Panel) Public Property picNum As String Public Property project As List(Of Project) End Class Public Class Panel Public Property carving_filename As String Public Property carving_quantity As Integer Public Property cdr_filename As String Public Property gang_series As String Public Property hotel_name As String Public Property model_type As String Public Property panel_list_name As String Public Property position As String Public Property room_name As String Public Property thumbnail_large As String End Class Public Class Project Public Property cdr_filename As String Public Property created_at As String Public Property creator As String Public Property edit_status As String Public Property guid As String Public Property hotel_name As String Public Property id As Integer Public Property is_valid As Boolean Public Property remarks As String Public Property report_id As String Public Property room_data_json As String Public Property room_type_count As Integer End Class