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.
105 lines
2.8 KiB
105 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 Container.Model
|
|
{
|
|
public class ScheduleModel {
|
|
public string date { get; set; }
|
|
public List<ProgModel> schedule { get; set; }
|
|
}
|
|
|
|
public class ProgModel
|
|
{
|
|
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 backgroundMaterial { get; set; }
|
|
public backgroundMaterialInfo backgroundMaterialInfo { get; set; }
|
|
public List<Component> components { get; set; }
|
|
|
|
}
|
|
|
|
public class backgroundMaterialInfo {
|
|
public string filePath { get; set; }
|
|
public string fileHash { get; set; }
|
|
}
|
|
|
|
public class Component
|
|
{
|
|
public string code { get; set; }
|
|
public string programmeCode { get; set; }
|
|
|
|
public string addTime { 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 JObject config { get; set; }
|
|
|
|
public List<Material> materials { get; set; }
|
|
}
|
|
|
|
public class Material{
|
|
public int order { get; set; }
|
|
public string materialCode { get; set; }
|
|
public string fileUrl { get; set; }
|
|
public string fileHash { get; set; }
|
|
public string name { get; set; }
|
|
|
|
public int duration { get; set; }
|
|
|
|
public MediaInfo mediaInfo { get; set; }
|
|
}
|
|
|
|
public class PlayMaterial {
|
|
public JObject config { get; set; }
|
|
public int order { get; set; }
|
|
public string materialCode { get; set; }
|
|
public string fileUrl { get; set; }
|
|
public string fileHash { get; set; }
|
|
public string name { get; set; }
|
|
|
|
public int duration { get; set; }
|
|
public string typeCode { get; set; }
|
|
|
|
public MediaInfo mediaInfo { get; set; }
|
|
}
|
|
|
|
public class MediaInfo {
|
|
public string name { get; set; }
|
|
public string password { get; set; }
|
|
public int port { get; set; }
|
|
public string protocol { get; set; }
|
|
public string url { get; set; }
|
|
|
|
public string userName { get; set; }
|
|
|
|
public string ipAddress { get; set; }
|
|
|
|
public string channel { get; set; }
|
|
|
|
public string bitRateType { get; set; }
|
|
}
|
|
}
|
|
|