示例#1
0
 public ELSVehicleFSData GetData()
 {
     return(new ELSVehicleFSData()
     {
         Siren = _siren.GetData(),
         Light = _light.GetData(),
         Id = _vehicle.GetElsId()
     });
 }
示例#2
0
        public Dictionary <string, object> GetData()
        {
            Dictionary <string, object> vehDic = new Dictionary <string, object>
            {
                { "siren", _siren.GetData() },
                { "light", _light.GetData() },
                { "NetworkID", _vehicle.GetNetworkId() }
            };

            return(vehDic);
        }