57 lines
1.1 KiB
C#
57 lines
1.1 KiB
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Simulator.Data
|
|
{
|
|
[Serializable]
|
|
public class totaljson
|
|
{
|
|
public List<SourceDataClass> sources;
|
|
public List<QueueDataClass> queues;
|
|
}
|
|
|
|
[Serializable]
|
|
public class physical
|
|
{
|
|
public position position=new position();
|
|
public dimensions dimensions=new dimensions();
|
|
public double orientation;
|
|
public access_points access_points=new access_points();
|
|
}
|
|
|
|
[Serializable]
|
|
public class position
|
|
{
|
|
public double x=0.0;
|
|
public double y=0.0;
|
|
public double z=0.0;
|
|
}
|
|
|
|
[Serializable]
|
|
public class dimensions
|
|
{
|
|
public double width = 0.0;
|
|
public double height = 0.0;
|
|
public double depth = 0.0;
|
|
}
|
|
|
|
[Serializable]
|
|
public class access_points
|
|
{
|
|
public input input;
|
|
public output output;
|
|
}
|
|
|
|
[Serializable]
|
|
public class input
|
|
{
|
|
public position local_position=new position();
|
|
}
|
|
|
|
[Serializable]
|
|
public class output
|
|
{
|
|
public position local_position=new position();
|
|
}
|
|
} |