forked from yanw/App_win_iot_V2.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.8 KiB
95 lines
2.8 KiB
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IOTContainer.Model
|
|
{
|
|
public class ProgModel
|
|
{
|
|
public string date { get; set; }
|
|
public List<ScheduleModel> schedule { get; set; }
|
|
}
|
|
public class ScheduleModel
|
|
{
|
|
public string periodCode { get; set; }
|
|
public string beginTime { get; set; }
|
|
public string endTime { get; set; }
|
|
public List<Programme> programs { get; set; }
|
|
}
|
|
public class Programme
|
|
{
|
|
public string code { get; set; }
|
|
public string name { get; set; }
|
|
public string resolution { get; set; }
|
|
public string duration { get; set; }
|
|
public string backgroundColor { get; set; }
|
|
public string backgroundImageCode { get; set; }
|
|
public string backgroundMaterial { get; set; }
|
|
public List<Component> components { get; set; }
|
|
}
|
|
public class Component
|
|
{
|
|
public string code { get; set; }
|
|
public string programmeCode { get; set; }
|
|
|
|
public int height { get; set; }
|
|
|
|
public int width { get; set; }
|
|
|
|
public int offsetX { get; set; }
|
|
|
|
public int offsetY { get; set; }
|
|
|
|
public int zindex { get; set; }
|
|
|
|
public string typeCode { get; set; }
|
|
|
|
public string parentCode { get; set; }
|
|
public bool sideADOpen { get; set; }
|
|
|
|
public JObject config { get; set; }
|
|
public List<Materials> materials { get; set; }
|
|
|
|
public List<subComponents> subComponents { get; set; }
|
|
}
|
|
public class Materials
|
|
{
|
|
public string code { get; set; }
|
|
public string componentCode { get; set; }
|
|
public string programmeCode { get; set; }
|
|
|
|
public int order { get; set; }
|
|
|
|
public string fileUrl { get; set; }
|
|
public int fileLength { get; set; }
|
|
public int duration { get; set; }
|
|
public string name { get; set; }
|
|
public string text { get; set; }
|
|
public string materialCode { get; set; }
|
|
public string outerChain { get; set; }
|
|
}
|
|
public class subComponents
|
|
{
|
|
public string code { get; set; }
|
|
public string programmeCode { get; set; }
|
|
public int height { get; set; }
|
|
public int width { get; set; }
|
|
public int offsetX { get; set; }
|
|
public int offsetY { get; set; }
|
|
public int zindex { get; set; }
|
|
public string typeCode { get; set; }
|
|
public string parentCode { get; set; }
|
|
public bool sideADOpen { get; set; }
|
|
public JObject config { get; set; }
|
|
public List<Materialss> materials { get; set; }
|
|
}
|
|
public class Materialss
|
|
{
|
|
public string text { get; set; }
|
|
public string name { get; set; }
|
|
public string fileUrl { get; set; }
|
|
}
|
|
}
|
|
|