24 lines
550 B
C#
24 lines
550 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace CANFDApiProxy.Messages
|
|||
|
|
{
|
|||
|
|
public class CANStateMessage
|
|||
|
|
{
|
|||
|
|
public List<CANState> CANStateList { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class CANState
|
|||
|
|
{
|
|||
|
|
public CANState(string name, string state, float last_updated)
|
|||
|
|
{
|
|||
|
|
Name = name;
|
|||
|
|
State = state;
|
|||
|
|
Last_updated = last_updated;
|
|||
|
|
}
|
|||
|
|
public string Name { get; }
|
|||
|
|
public string State { get; set; }
|
|||
|
|
public float Last_updated { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|