142 lines
4.6 KiB
C#
142 lines
4.6 KiB
C#
|
|
namespace CANFDApiProxy.Messages
|
|||
|
|
{
|
|||
|
|
internal class CANInfoInternal
|
|||
|
|
{
|
|||
|
|
public Can1 can1 { get; set; }
|
|||
|
|
public Can2 can2 { get; set; }
|
|||
|
|
public Can3 can3 { get; set; }
|
|||
|
|
public Can4 can4 { get; set; }
|
|||
|
|
public Pipe pipe { get; set; }
|
|||
|
|
public Battery battery { get; set; }
|
|||
|
|
public Pwr pwr { get; set; }
|
|||
|
|
public Status status { get; set; }
|
|||
|
|
public Sts sts { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
internal class Can1
|
|||
|
|
{
|
|||
|
|
public string info { get; set; }
|
|||
|
|
public string state { get; set; }
|
|||
|
|
public float last_updated { get; set; }
|
|||
|
|
public int std_data { get; set; }
|
|||
|
|
public int std_remote { get; set; }
|
|||
|
|
public int ext_data { get; set; }
|
|||
|
|
public int ext_remote { get; set; }
|
|||
|
|
public int err_frame { get; set; }
|
|||
|
|
public float bus_load { get; set; }
|
|||
|
|
public int overruns { get; set; }
|
|||
|
|
public int base_or_arb_bitrate { get; set; }
|
|||
|
|
public int base_or_arb_sjw { get; set; }
|
|||
|
|
public int data_bitrate { get; set; }
|
|||
|
|
public int data_sjw { get; set; }
|
|||
|
|
public string filetype { get; set; }
|
|||
|
|
public bool included { get; set; }
|
|||
|
|
public bool is_fd { get; set; }
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
internal class Can2
|
|||
|
|
{
|
|||
|
|
public string info { get; set; }
|
|||
|
|
public string state { get; set; }
|
|||
|
|
public float last_updated { get; set; }
|
|||
|
|
public int std_data { get; set; }
|
|||
|
|
public int std_remote { get; set; }
|
|||
|
|
public int ext_data { get; set; }
|
|||
|
|
public int ext_remote { get; set; }
|
|||
|
|
public int err_frame { get; set; }
|
|||
|
|
public float bus_load { get; set; }
|
|||
|
|
public int overruns { get; set; }
|
|||
|
|
public int base_or_arb_bitrate { get; set; }
|
|||
|
|
public int base_or_arb_sjw { get; set; }
|
|||
|
|
public int data_bitrate { get; set; }
|
|||
|
|
public int data_sjw { get; set; }
|
|||
|
|
public string filetype { get; set; }
|
|||
|
|
public bool included { get; set; }
|
|||
|
|
public bool is_fd { get; set; }
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
internal class Can3
|
|||
|
|
{
|
|||
|
|
public string info { get; set; }
|
|||
|
|
public string state { get; set; }
|
|||
|
|
public float last_updated { get; set; }
|
|||
|
|
public int std_data { get; set; }
|
|||
|
|
public int std_remote { get; set; }
|
|||
|
|
public int ext_data { get; set; }
|
|||
|
|
public int ext_remote { get; set; }
|
|||
|
|
public int err_frame { get; set; }
|
|||
|
|
public float bus_load { get; set; }
|
|||
|
|
public int overruns { get; set; }
|
|||
|
|
public int base_or_arb_bitrate { get; set; }
|
|||
|
|
public int base_or_arb_sjw { get; set; }
|
|||
|
|
public int data_bitrate { get; set; }
|
|||
|
|
public int data_sjw { get; set; }
|
|||
|
|
public string filetype { get; set; }
|
|||
|
|
public bool included { get; set; }
|
|||
|
|
public bool is_fd { get; set; }
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
internal class Can4
|
|||
|
|
{
|
|||
|
|
public string info { get; set; }
|
|||
|
|
public string state { get; set; }
|
|||
|
|
public float last_updated { get; set; }
|
|||
|
|
public int std_data { get; set; }
|
|||
|
|
public int std_remote { get; set; }
|
|||
|
|
public int ext_data { get; set; }
|
|||
|
|
public int ext_remote { get; set; }
|
|||
|
|
public int err_frame { get; set; }
|
|||
|
|
public float bus_load { get; set; }
|
|||
|
|
public int overruns { get; set; }
|
|||
|
|
public int base_or_arb_bitrate { get; set; }
|
|||
|
|
public int base_or_arb_sjw { get; set; }
|
|||
|
|
public int data_bitrate { get; set; }
|
|||
|
|
public int data_sjw { get; set; }
|
|||
|
|
public string filetype { get; set; }
|
|||
|
|
public bool included { get; set; }
|
|||
|
|
public bool is_fd { get; set; }
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
public class Pipe
|
|||
|
|
{
|
|||
|
|
public string path { get; set; }
|
|||
|
|
}
|
|||
|
|
public class Pwr
|
|||
|
|
{
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class Status
|
|||
|
|
{
|
|||
|
|
public bool pin { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class Sts
|
|||
|
|
{
|
|||
|
|
public bool blue { get; set; }
|
|||
|
|
public bool green { get; set; }
|
|||
|
|
public bool red { get; set; }
|
|||
|
|
}
|
|||
|
|
public class Battery
|
|||
|
|
{
|
|||
|
|
public bool enable { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|