Ответ
 
Опции темы
Старый 07.08.2024, 11:21    | »»» |  #1
Roman44
Начинающий
 
Аватар для Roman44
 
Кострома
Регистрация: 07.08.2024
Сообщений: 7
Roman44 is on a distinguished road
По умолчанию Получение информации по одометру ТС

Translator







Добрый день!
Подскажите, пожалуйста, каким методом АПИ можно получить информацию по одометру ТС за период? (Пробег CAN)
Roman44 вне форума   Ответить с цитированием
Старый 08.08.2024, 05:01    | »»» |  #2
plex
Дилер
 
Аватар для plex
 
Екатеринбург, ЗАО "Седьмая Экспедиция"
Регистрация: 14.12.2010
Сообщений: 15,031
plex is on a distinguished road
Отправить сообщение для plex с помощью ICQ Отправить сообщение для plex с помощью Skype™
По умолчанию

Сообщение от Roman44 Посмотреть сообщение
Подскажите, пожалуйста, каким методом АПИ можно получить информацию по одометру ТС за период? (Пробег CAN)
GetTrips – получение информации о рейсах приборов с текущими настройками схемы

ЗАО "Седьмая Экспедиция", Екатеринбург, РФ
Мушин Виктор Валерьевич, Технический директор
plex на форуме   Ответить с цитированием
Старый 08.08.2024, 05:19    | »»» |  #3
SK
Администратор
 
Аватар для SK
 
Регистрация: 27.05.2010
Сообщений: 29,957
SK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud of
Отправить сообщение для SK с помощью Skype™
По умолчанию

Roman44, если с CAN опрашивается общий (total) пробег, то можно получить данные на текущий момент из


ООО «ТехноКом», г. Челябинск
Самцов Константин Юрьевич - зам. директора по коммерческой деятельности
SK вне форума   Ответить с цитированием
Старый 08.08.2024, 06:48    | »»» |  #4
Roman44
Начинающий
 
Аватар для Roman44
 
Кострома
Регистрация: 07.08.2024
Сообщений: 7
Roman44 is on a distinguished road
По умолчанию

Нажмите для просмотра содержимого...
Код:
{
	"d8dd1895-b3c3-4b33-81d0-e74f685bd9aa": {
		"_LastCoords": "2024-08-08T06:37:59Z",
		"_LastData": "2024-08-08T06:37:59Z",
		"processingTime": "00:00:00.0314188",
		"ID": "d8dd1895-b3c3-4b33-81d0-e74f685bd9aa",
		"Name": "DongFeng",
		"Serial": 2438804,
		" SD": "2024-07-31T05:05:00Z",
		"SDLocal": "2024-07-31T05:05:00Z",
		"ED": "2024-07-31T05:06:00Z",
		"EDLocal": "2024-07-31T05:06:00Z",
		"VRN": "о844ху44",
		"Trips": [
			{
				"Index": 0,
				"Divisors": [
					"Ср"
				],
				"SD": "2024-07-31T05:05:03",
				"ED": "2024-07-31T05:05:36",
				"PointStart": {
					"Lat": 55.9958625,
					"Lng": 39.89092417
				},
				"PointEnd": {
					"Lat": 55.9958625,
					"Lng": 39.89092417
				},
				"Stages": [
					{
						"Name": "D1",
						"Alias": "Sensor1",
						"Params": [
							"DateTime First",
							"DateTime Last",
							"Longitude First",
							"Longitude Last",
							"Latitude First",
							"Latitude Last",
							"StartOfFirstReg",
							"EndOfLastReg",
							"TotalDurat ion",
							"MoveDuration",
							"ParkDuration",
							"TotalDistance",
							"StartOfFirstPark",
							"EndOfLastPark",
							"StartOfFirstM ove",
							"EndOfLastMove",
							"ParkCount",
							"MaxSpeed",
							"Avera geSpeed",
							"OverspeedCount",
							"FirstLocation",
							"LastLoc ation",
							"Engine1Motohours",
							"Engine1MHOnParks",
							"Engi ne1FuelConsum",
							"Engine1FuelConsumPer100km",
							"Engine 1FuelConsumDuringMH",
							"Tank1FuelLevel First",
							"Tank1FuelLevel Last",
							"Tank1FuelUpVol Diff",
							"Tank1FuelDnVol Diff",
							"Tank1FuelUpCount",
							"Tank1FuelDnCount",
							"Tank1 FuelUpDnVol",
							"Consumption1 Diff",
							"Distance1 First",
							"Distance1 Last",
							"Distance1 Diff"
						],
						"ParamTypes": [
							5,
							5,
							4,
							4,
							4,
							4,
							5,
							5,
							6,
							6,
							6,
							4,
							5,
							5,
							5,
							5,
							2,
							4,
							4,
							2,
							12,
							12,
							6,
							6,
							4,
							4,
							4,
							4,
							4,
							4,
							4,
							2,
							2,
							4,
							4,
							4,
							4,
							4
						],
						"TotalTypes": [
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							1,
							0,
							0,
							0,
							0,
							1,
							3,
							0,
							1,
							0,
							0,
							1,
							1,
							1,
							0,
							1,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							0,
							0,
							0,
							0
						],
						"Items": [
							{
								"Index": 0,
								"SD": "2024-07-31T05:05:03",
								"ED": "2024-07-31T05:05:36",
								"Status": 0,
								"StatusID": "00000000-0000-0000-0000-000000000000",
								"StatusIDs": null,
								"StartPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"EndPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"Caption": "Выкл.",
								"Values": [
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									39.8909242,
									39.8909242,
									55.9958625,
									55.9958625,
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									"00:00:33",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									null,
									null,
									null,
									0,
									0.0,
									null,
									0,
									"39° 53,45545' вд, 55° 59,75175' сш",
									"39° 53,45545' вд, 55° 59,75175' сш",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									0.0,
									571.0454496,
									571.0454496,
									0.0,
									0.0,
									0,
									0,
									0.0,
									0.0,
									0.0,
									0.0,
									0.0
								],
								"_SD": "2024-07-31T05:05:03Z",
								"_ED": "2024-07-31T05:05:36Z",
								"SDLocal": "2024-07-31T05:05:03Z",
								"EDLocal": "2024-07-31T05:05:36Z"
							}
						],
						"Statuses": [
							{
								"Value": 1,
								"Caption": "Вкл.",
								"ReferenceID": "0000 0000-0000-0000-0000-000000000000",
								"ReferenceIDs": null
							}
						],
						"Total": {
							"DateTime First": "2024-07-31T05:05:03",
							"DateTime Last": "2024-07-31T05:05:36",
							"Longitude First": 39.8909242,
							"Longitude Last": 39.8909242,
							"Latitude First": 55.9958625,
							"Latitude Last": 55.9958625,
							"StartOfFirstReg": null,
							"EndOfLast Reg": null,
							"TotalDuration": "00:00:33",
							"MoveDuration ": "00:00:00",
							"ParkDuration": "00:00:00",
							"TotalDista nce": 0.0,
							"StartOfFirstPark": null,
							"EndOfLastPark": null,
							"StartOfFirstMove": null,
							"EndOfLastMove": null,
							" ParkCount": 0,
							"MaxSpeed": 0.0,
							"AverageSpeed": null,
							"O verspeedCount": 0,
							"FirstLocation": null,
							"LastLocatio n": null,
							"Engine1Motohours": "00:00:00",
							"Engine1MHOn Parks": "00:00:00",
							"Engine1FuelConsum": 0.0,
							"Engine1 FuelConsumPer100km": null,
							"Engine1FuelConsumDuringM H": 0.0,
							"Tank1FuelLevel First": 571.0454496,
							"Tank1FuelLevel Last": 571.0454496,
							"Tank1FuelUpVol Diff": 0.0,
							"Tank1FuelDnVol Diff": 0.0,
							"Tank1FuelUpCount": 0,
							"Tank1FuelDnCount": 0,
							"Tank1FuelUpDnVol": 0.0,
							"Consumption1 Diff": 0.0,
							"Distance1 First": 0.0,
							"Distance1 Last": 0.0,
							"Distance1 Diff": 0.0
						}
					},
					{
						"Name": "GeoFence1",
						"Alias": "GeoFence1 ",
						"Params": [
							"DateTime First",
							"DateTime Last",
							"Longitude First",
							"Longitude Last",
							"Latitude First",
							"Latitude Last",
							"StartOfFirstReg",
							"EndOfLastReg",
							"TotalDurat ion",
							"MoveDuration",
							"ParkDuration",
							"TotalDistance",
							"StartOfFirstPark",
							"EndOfLastPark",
							"StartOfFirstM ove",
							"EndOfLastMove",
							"ParkCount",
							"MaxSpeed",
							"Avera geSpeed",
							"OverspeedCount",
							"FirstLocation",
							"LastLoc ation",
							"Engine1Motohours",
							"Engine1MHOnParks",
							"Engi ne1FuelConsum",
							"Engine1FuelConsumPer100km",
							"Engine 1FuelConsumDuringMH",
							"Tank1FuelLevel First",
							"Tank1FuelLevel Last",
							"Tank1FuelUpVol Diff",
							"Tank1FuelDnVol Diff",
							"Tank1FuelUpCount",
							"Tank1FuelDnCount",
							"Tank1 FuelUpDnVol",
							"Consumption1 Diff",
							"Distance1 First",
							"Distance1 Last",
							"Distance1 Diff"
						],
						"ParamTypes": [
							5,
							5,
							4,
							4,
							4,
							4,
							5,
							5,
							6,
							6,
							6,
							4,
							5,
							5,
							5,
							5,
							2,
							4,
							4,
							2,
							12,
							12,
							6,
							6,
							4,
							4,
							4,
							4,
							4,
							4,
							4,
							2,
							2,
							4,
							4,
							4,
							4,
							4
						],
						"TotalTypes": [
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							1,
							0,
							0,
							0,
							0,
							1,
							3,
							0,
							1,
							0,
							0,
							1,
							1,
							1,
							0,
							1,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							0,
							0,
							0,
							0
						],
						"Items": [
							{
								"Index": 0,
								"SD": "2024-07-31T05:05:03",
								"ED": "2024-07-31T05:05:36",
								"Status": 0,
								"StatusID": "00000000-0000-0000-0000-000000000000",
								"StatusIDs": null,
								"StartPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"EndPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"Caption": "–",
								"Valu es": [
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									39.8909242,
									39.8909242,
									55.9958625,
									55.9958625,
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									"00:00:33",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									null,
									null,
									null,
									0,
									0.0,
									null,
									0,
									"39° 53,45545' вд, 55° 59,75175' сш",
									"39° 53,45545' вд, 55° 59,75175' сш",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									0.0,
									571.0454496,
									571.0454496,
									0.0,
									0.0,
									0,
									0,
									0.0,
									0.0,
									0.0,
									0.0,
									0.0
								],
								"_SD": "2024-07-31T05:05:03Z",
								"_ED": "2024-07-31T05:05:36Z",
								"SDLocal": "2024-07-31T05:05:03Z",
								"EDLocal": "2024-07-31T05:05:36Z"
							}
						],
						"Statuses": [],
						"Total": {
							"DateTime First": "2024-07-31T05:05:03",
							"DateTime Last": "2024-07-31T05:05:36",
							"Longitude First": 39.8909242,
							"Longitude Last": 39.8909242,
							"Latitude First": 55.9958625,
							"Latitude Last": 55.9958625,
							"StartOfFirstReg": null,
							"EndOfLast Reg": null,
							"TotalDuration": "00:00:33",
							"MoveDuration ": "00:00:00",
							"ParkDuration": "00:00:00",
							"TotalDista nce": 0.0,
							"StartOfFirstPark": null,
							"EndOfLastPark": null,
							"StartOfFirstMove": null,
							"EndOfLastMove": null,
							" ParkCount": 0,
							"MaxSpeed": 0.0,
							"AverageSpeed": null,
							"O verspeedCount": 0,
							"FirstLocation": null,
							"LastLocatio n": null,
							"Engine1Motohours": "00:00:00",
							"Engine1MHOn Parks": "00:00:00",
							"Engine1FuelConsum": 0.0,
							"Engine1 FuelConsumPer100km": null,
							"Engine1FuelConsumDuringM H": 0.0,
							"Tank1FuelLevel First": 571.0454496,
							"Tank1FuelLevel Last": 571.0454496,
							"Tank1FuelUpVol Diff": 0.0,
							"Tank1FuelDnVol Diff": 0.0,
							"Tank1FuelUpCount": 0,
							"Tank1FuelDnCount": 0,
							"Tank1FuelUpDnVol": 0.0,
							"Consumption1 Diff": 0.0,
							"Distance1 First": 0.0,
							"Distance1 Last": 0.0,
							"Distance1 Diff": 0.0
						}
					},
					{
						"Name": "Power",
						"Alias": "",
						"Params": [
							"DateTime First",
							"DateTime Last",
							"Longitude First",
							"Longitude Last",
							"Latitude First",
							"Latitude Last",
							"StartOfFirstReg",
							"EndOfLastReg",
							"TotalDurat ion",
							"MoveDuration",
							"ParkDuration",
							"TotalDistance",
							"StartOfFirstPark",
							"EndOfLastPark",
							"StartOfFirstM ove",
							"EndOfLastMove",
							"ParkCount",
							"MaxSpeed",
							"Avera geSpeed",
							"OverspeedCount",
							"FirstLocation",
							"LastLoc ation",
							"Engine1Motohours",
							"Engine1MHOnParks",
							"Engi ne1FuelConsum",
							"Engine1FuelConsumPer100km",
							"Engine 1FuelConsumDuringMH",
							"Tank1FuelLevel First",
							"Tank1FuelLevel Last",
							"Tank1FuelUpVol Diff",
							"Tank1FuelDnVol Diff",
							"Tank1FuelUpCount",
							"Tank1FuelDnCount",
							"Tank1 FuelUpDnVol",
							"Consumption1 Diff",
							"Distance1 First",
							"Distance1 Last",
							"Distance1 Diff"
						],
						"ParamTypes": [
							5,
							5,
							4,
							4,
							4,
							4,
							5,
							5,
							6,
							6,
							6,
							4,
							5,
							5,
							5,
							5,
							2,
							4,
							4,
							2,
							12,
							12,
							6,
							6,
							4,
							4,
							4,
							4,
							4,
							4,
							4,
							2,
							2,
							4,
							4,
							4,
							4,
							4
						],
						"TotalTypes": [
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							1,
							0,
							0,
							0,
							0,
							1,
							3,
							0,
							1,
							0,
							0,
							1,
							1,
							1,
							0,
							1,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							0,
							0,
							0,
							0
						],
						"Items": [
							{
								"Index": 1,
								"SD": "2024-07-31T05:05:03",
								"ED": "2024-07-31T05:05:36",
								"Status": 1,
								"StatusID": "00000000-0000-0000-0000-000000000000",
								"StatusIDs": null,
								"StartPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"EndPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"Caption": "Включ ено",
								"Values": [
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									39.8909242,
									39.8909242,
									55.9958625,
									55.9958625,
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									"00:00:33",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									null,
									null,
									null,
									0,
									0.0,
									null,
									0,
									"39° 53,45545' вд, 55° 59,75175' сш",
									"39° 53,45545' вд, 55° 59,75175' сш",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									0.0,
									571.0454496,
									571.0454496,
									0.0,
									0.0,
									0,
									0,
									0.0,
									0.0,
									0.0,
									0.0,
									0.0
								],
								"_SD": "2024-07-31T05:05:03Z",
								"_ED": "2024-07-31T05:05:36Z",
								"SDLocal": "2024-07-31T05:05:03Z",
								"EDLocal": "2024-07-31T05:05:36Z"
							}
						],
						"Statuses": [
							{
								"Value": 1,
								"Caption": "Включено",
								"Reference ID": "00000000-0000-0000-0000-000000000000",
								"ReferenceIDs": null
							}
						],
						"Total": {
							"DateTime First": "2024-07-31T05:05:03",
							"DateTime Last": "2024-07-31T05:05:36",
							"Longitude First": 39.8909242,
							"Longitude Last": 39.8909242,
							"Latitude First": 55.9958625,
							"Latitude Last": 55.9958625,
							"StartOfFirstReg": null,
							"EndOfLast Reg": null,
							"TotalDuration": "00:00:33",
							"MoveDuration ": "00:00:00",
							"ParkDuration": "00:00:00",
							"TotalDista nce": 0.0,
							"StartOfFirstPark": null,
							"EndOfLastPark": null,
							"StartOfFirstMove": null,
							"EndOfLastMove": null,
							" ParkCount": 0,
							"MaxSpeed": 0.0,
							"AverageSpeed": null,
							"O verspeedCount": 0,
							"FirstLocation": null,
							"LastLocatio n": null,
							"Engine1Motohours": "00:00:00",
							"Engine1MHOn Parks": "00:00:00",
							"Engine1FuelConsum": 0.0,
							"Engine1 FuelConsumPer100km": null,
							"Engine1FuelConsumDuringM H": 0.0,
							"Tank1FuelLevel First": 571.0454496,
							"Tank1FuelLevel Last": 571.0454496,
							"Tank1FuelUpVol Diff": 0.0,
							"Tank1FuelDnVol Diff": 0.0,
							"Tank1FuelUpCount": 0,
							"Tank1FuelDnCount": 0,
							"Tank1FuelUpDnVol": 0.0,
							"Consumption1 Diff": 0.0,
							"Distance1 First": 0.0,
							"Distance1 Last": 0.0,
							"Distance1 Diff": 0.0
						}
					},
					{
						"Name": "Signal",
						"Alias": "",
						"Params": [
							"DateTime First",
							"DateTime Last",
							"Longitude First",
							"Longitude Last",
							"Latitude First",
							"Latitude Last",
							"StartOfFirstReg",
							"EndOfLastReg",
							"TotalDurat ion",
							"MoveDuration",
							"ParkDuration",
							"TotalDistance",
							"StartOfFirstPark",
							"EndOfLastPark",
							"StartOfFirstM ove",
							"EndOfLastMove",
							"ParkCount",
							"MaxSpeed",
							"Avera geSpeed",
							"OverspeedCount",
							"FirstLocation",
							"LastLoc ation",
							"Engine1Motohours",
							"Engine1MHOnParks",
							"Engi ne1FuelConsum",
							"Engine1FuelConsumPer100km",
							"Engine 1FuelConsumDuringMH",
							"Tank1FuelLevel First",
							"Tank1FuelLevel Last",
							"Tank1FuelUpVol Diff",
							"Tank1FuelDnVol Diff",
							"Tank1FuelUpCount",
							"Tank1FuelDnCount",
							"Tank1 FuelUpDnVol",
							"Consumption1 Diff",
							"Distance1 First",
							"Distance1 Last",
							"Distance1 Diff"
						],
						"ParamTypes": [
							5,
							5,
							4,
							4,
							4,
							4,
							5,
							5,
							6,
							6,
							6,
							4,
							5,
							5,
							5,
							5,
							2,
							4,
							4,
							2,
							12,
							12,
							6,
							6,
							4,
							4,
							4,
							4,
							4,
							4,
							4,
							2,
							2,
							4,
							4,
							4,
							4,
							4
						],
						"TotalTypes": [
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							1,
							0,
							0,
							0,
							0,
							1,
							3,
							0,
							1,
							0,
							0,
							1,
							1,
							1,
							0,
							1,
							0,
							0,
							0,
							0,
							1,
							1,
							1,
							0,
							0,
							0,
							0
						],
						"Items": [
							{
								"Index": 1,
								"SD": "2024-07-31T05:05:03",
								"ED": "2024-07-31T05:05:36",
								"Status": 1,
								"StatusID": "00000000-0000-0000-0000-000000000000",
								"StatusIDs": null,
								"StartPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"EndPoint": {
									"Lat": 55.9958625,
									"Lng": 39.89092417
								},
								"Caption": "Высок ий уровень",
								"Values": [
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									39.8909242,
									39.8909242,
									55.9958625,
									55.9958625,
									"2024-07-31T05:05:03",
									"2024-07-31T05:05:36",
									"00:00:33",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									null,
									null,
									null,
									0,
									0.0,
									null,
									0,
									"39° 53,45545' вд, 55° 59,75175' сш",
									"39° 53,45545' вд, 55° 59,75175' сш",
									"00:00:00",
									"00:00:00",
									0.0,
									null,
									0.0,
									571.0454496,
									571.0454496,
									0.0,
									0.0,
									0,
									0,
									0.0,
									0.0,
									0.0,
									0.0,
									0.0
								],
								"_SD": "2024-07-31T05:05:03Z",
								"_ED": "2024-07-31T05:05:36Z",
								"SDLocal": "2024-07-31T05:05:03Z",
								"EDLocal": "2024-07-31T05:05:36Z"
							}
						],
						"Statuses": [
							{
								"Value": 1,
								"Caption": "Высокий уровень",
								"ReferenceID": "00000000-0000-0000-0000-000000000000",
								"ReferenceIDs": null
							},
							{
								"Value": 2,
								"Cap tion": "Низкий уровень",
								"ReferenceID": "00000000-0000-0000-0000-000000000000",
								"ReferenceIDs": null
							}
						],
						"Total": {
							"DateTime First": "2024-07-31T05:05:03",
							"DateTime Last": "2024-07-31T05:05:36",
							"Longitude First": 39.8909242,
							"Longitude Last": 39.8909242,
							"Latitude First": 55.9958625,
							"Latitude Last": 55.9958625,
							"StartOfFirstReg": null,
							"EndOfLast Reg": null,
							"TotalDuration": "00:00:33",
							"MoveDuration ": "00:00:00",
							"ParkDuration": "00:00:00",
							"TotalDista nce": 0.0,
							"StartOfFirstPark": null,
							"EndOfLastPark": null,
							"StartOfFirstMove": null,
							"EndOfLastMove": null,
							" ParkCount": 0,
							"MaxSpeed": 0.0,
							"AverageSpeed": null,
							"O verspeedCount": 0,
							"FirstLocation": null,
							"LastLocatio n": null,
							"Engine1Motohours": "00:00:00",
							"Engine1MHOn Parks": "00:00:00",
							"Engine1FuelConsum": 0.0,
							"Engine1 FuelConsumPer100km": null,
							"Engine1FuelConsumDuringM H": 0.0,
							"Tank1FuelLevel First": 571.0454496,
							"Tank1FuelLevel Last": 571.0454496,
							"Tank1FuelUpVol Diff": 0.0,
							"Tank1FuelDnVol Diff": 0.0,
							"Tank1FuelUpCount": 0,
							"Tank1FuelDnCount": 0,
							"Tank1FuelUpDnVol": 0.0,
							"Consumption1 Diff": 0.0,
							"Distance1 First": 0.0,
							"Distance1 Last": 0.0,
							"Distance1 Diff": 0.0
						}
					}
				],
				"Total": {
					"DateTime First": "2024-07-31T05:05:03",
					"DateTime Last": "2024-07-31T05:05:36",
					"Longitude First": 39.8909242,
					"Longitude Last": 39.8909242,
					"Latitude First": 55.9958625,
					"Latitude Last": 55.9958625,
					"StartOfFirstReg": "2024-07-31T05:05:03",
					"EndOfLastReg": "2024-07-31T05:05:36",
					"TotalDuration": "00:00:33",
					"MoveDurat ion": "00:00:00",
					"ParkDuration": "00:00:00",
					"TotalDi stance": 0.0,
					"StartOfFirstPark": null,
					"EndOfLastPark ": null,
					"StartOfFirstMove": null,
					"EndOfLastMove": null,
					"ParkCount": 0,
					"MaxSpeed": 0.0,
					"AverageSpeed": null,
					"OverspeedCount": 0,
					"FirstLocation": "39° 53,45545' вд, 55° 59,75175' сш",
					"LastLocation": "39° 53,45545' вд, 55° 59,75175' сш",
					"Engine1Motohours": "00:00:00",
					"Engine1MHOnPa rks": "00:00:00",
					"Engine1FuelConsum": 0.0,
					"Engine1Fu elConsumPer100km": null,
					"Engine1FuelConsumDuringMH": 0.0,
					"Tank1FuelLevel First": 571.0454496,
					"Tank1FuelLevel Last": 571.0454496,
					"Tank1FuelUpVol Diff": 0.0,
					"Tank1FuelDnVol Diff": 0.0,
					"Tank1FuelUpCount": 0,
					"Tank1FuelDnCount": 0,
					"Tank1FuelUpDnVol": 0.0,
					"Consumption1 Diff": 0.0,
					"Distance1 First": 0.0,
					"Distance1 Last": 0.0,
					"Distance1 Diff": 0.0
				},
				"Areas": null,
				"_SD": "2024-07-31T05:05:03Z",
				"_ED": "2024-07-31T05:05:36Z",
				"SDLocal": "2024-07-31T05:05:03Z",
				"EDLocal": "2024-07-31T05:05:36Z"
			}
		],
		"Total": {
			"DescreteInputs Last": 6,
			"DateTime Last": "2024-07-31T05:05:36",
			"Power Last": true,
			"Signal Last": 7,
			"CurrLocation": "39° 53,45545' вд, 55° 59,75175' сш",
			"Motion Last": 0,
			"ParkCount": 0,
			"Speed Last": 0.0,
			"Overspeed Last": 0.0,
			"MaxSpeed": 0.0,
			"AverageSpeed": null,
			"Over speedCount": 0,
			"D1 Last": false,
			"FF Last": false,
			"Level1 Last": 25.235,
			"Cargo Last": 0.0,
			"Tank1FuelLevel Last": 571.0454496,
			"GeoFence1 Last": "00000000-0000-0000-0000-000000000000",
			"GeoFence1Route Last": "00000000-0000-0000-0000-000000000000"
		},
		"LastPosition": {
			"Lat": 57.5750025,
			"L ng": 56.5599525
		},
		"LastCoords": "2024-08-08T06:37:59",
		"_LastCoordsLocal": "2024-08-08T06:37:59Z",
		"LastData": "2024-08-08T06:37:59",
		"_LastDataLocal": "2024-08-08T06:37:59Z"
	}
}

Последний раз редактировалось SK; 16.08.2024 в 05:38.
Roman44 вне форума   Ответить с цитированием
Старый 16.08.2024, 05:41    | »»» |  #5
SK
Администратор
 
Аватар для SK
 
Регистрация: 27.05.2010
Сообщений: 29,957
SK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud ofSK has much to be proud of
Отправить сообщение для SK с помощью Skype™
По умолчанию

Roman44, случайно испортил Ваш пост, когда вставлял форматированный JSON.
У Вас там что-то не так - и уровень топлива в ответе не совпадает с картинкой - возможно, Вы перепутали объект мониторинга или еще что-то.
То, что выводится в таблицу рейсов, то выводится и в JSON (+ все отрезки, в зависимости от версии WEB и опций API-запроса)
К слову, при подобных вопросах - сообщайте номер версии ПО (WEB).
И когда подобные скрины делаете - показывайте не изолированную табличку, а так, чтобы было видно и интервал дат и какой объект выбран, а иначе непонятно: один и тот же объект и интервал на картинке и в запросе или нет.

ООО «ТехноКом», г. Челябинск
Самцов Константин Юрьевич - зам. директора по коммерческой деятельности

Последний раз редактировалось SK; 16.08.2024 в 05:44.
SK вне форума   Ответить с цитированием
Старый 16.08.2024, 07:54    | »»» |  #6
Roman44
Начинающий
 
Аватар для Roman44
 
Кострома
Регистрация: 07.08.2024
Сообщений: 7
Roman44 is on a distinguished road
По умолчанию

Спасибо за ответ
Мне нужно получить информацию по одометру на момент времени
Если я указываю на сайте период 31.07.2024 05:05 - 31.07.2024 05:06, то сайт показывает показания одометра "46 116,6"
Если я укажу в методе GetTrips этот период, то запрос вернёт нулевые показания
Если я укажу в методе GetTrips период 1 час 31.07.2024 05:00 - 31.07.2024 06:00, то метод вернёт показания по одометру на конец периода
Нажмите для просмотра содержимого...


Нажмите для просмотра содержимого...


Добавлено через 3 минуты
Ответ за период 31.07.2024 05.00 - 31.07.2024 06.00
Нажмите для просмотра содержимого...
{"d8dd1895-b3c3-4b33-81d0-e74f685bd9aa":{"_LastCoords":"2024-08-16T07:26:35Z","_LastData":"2024-08-16T07:27:19Z","processingTime":"00:00:00.0312476", "ID":"d8dd1895-b3c3-4b33-81d0-e74f685bd9aa","Name":"DongFeng","Serial":2438804," SD":"2024-07-31T05:00:00Z","SDLocal":"2024-07-31T05:00:00Z","ED":"2024-07-31T06:00:00Z","EDLocal":"2024-07-31T06:00:00Z","VRN":"о844ху44","Trips":[{"Index":0,"Divisors":["Ср"],"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:59:41","PointStart":{"Lat":55.99584333,"Lng" :39.89093167},"PointEnd":{"Lat":55.99584333,"Lng": 39.89093167},"Stages":[{"Name":"D1","Alias":"Sensor1","Params":["DateTime First","DateTime Last","Longitude First","Longitude Last","Latitude First","Latitude Last","StartOfFirstReg","EndOfLastReg","TotalDurat ion","MoveDuration","ParkDuration","TotalDistance" ,"StartOfFirstPark","EndOfLastPark","StartOfFirstM ove","EndOfLastMove","ParkCount","MaxSpeed","Avera geSpeed","OverspeedCount","FirstLocation","LastLoc ation","Engine1Motohours","Engine1MHOnParks","Engi ne1FuelConsum","Engine1FuelConsumPer100km","Engine 1FuelConsumDuringMH","Tank1FuelLevel First","Tank1FuelLevel Last","Tank1FuelUpVol Diff","Tank1FuelDnVol Diff","Tank1FuelUpCount","Tank1FuelDnCount","Tank1 FuelUpDnVol","Consumption1 Diff","Distance1 First","Distance1 Last","Distance1 Diff"],"ParamTypes":[5,5,4,4,4,4,5,5,6,6,6,4,5,5,5,5,2,4,4,2,12,12,6,6, 4,4,4,4,4,4,4,2,2,4,4,4,4,4],"TotalTypes":[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,3,0,1,0,0,1,1,1, 0,1,0,0,0,0,1,1,1,0,0,0,0],"Items":[{"Index":0,"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:49:37","Status":0,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"Выкл .","Values":["2024-07-31T05:00:03","2024-07-31T05:49:37",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:00:03","2024-07-31T05:49:37","00:49:34","00:00:00","00:49:34",0.0, "2024-07-31T05:00:03","2024-07-31T05:49:37",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:00:00","00:00:00",-0.1481128,null,0.0,571.0454496,571.1935623,0.0,0.0 ,0,0,0.0,0.0,46122.38,46122.38,0.0],"_SD":"2024-07-31T05:00:03Z","_ED":"2024-07-31T05:49:37Z","SDLocal":"2024-07-31T05:00:03Z","EDLocal":"2024-07-31T05:49:37Z"},{"Index":1,"SD":"2024-07-31T05:49:37","ED":"2024-07-31T05:59:41","Status":1,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"Вкл." ,"Values":["2024-07-31T05:49:37","2024-07-31T05:59:41",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:49:37","2024-07-31T05:59:41","00:10:04","00:00:00","00:10:04",0.0, "2024-07-31T05:49:37","2024-07-31T05:59:41",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:10:04","00:10:04",0.5047031,null,0.0,571 .1935623,570.6888592,0.0,0.0,0,0,0.0,0.4910361,461 22.38,46122.38,0.0],"_SD":"2024-07-31T05:49:37Z","_ED":"2024-07-31T05:59:41Z","SDLocal":"2024-07-31T05:49:37Z","EDLocal":"2024-07-31T05:59:41Z"}],"Statuses":[{"Value":1,"Caption":"Вкл.","ReferenceID":"0000 0000-0000-0000-0000-000000000000","ReferenceIDs":null}],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":null,"EndOfLast Reg":null,"TotalDuration":"00:59:38","MoveDuration ":"00:00:00","ParkDuration":"00:59:38","TotalDista nce":0.0,"StartOfFirstPark":null,"EndOfLastPark":n ull,"StartOfFirstMove":null,"EndOfLastMove":null," ParkCount":2,"MaxSpeed":0.0,"AverageSpeed":null,"O verspeedCount":0,"FirstLocation":null,"LastLocatio n":null,"Engine1Motohours":"00:10:04","Engine1MHOn Parks":"00:10:04","Engine1FuelConsum":0.3565903,"E ngine1FuelConsumPer100km":null,"Engine1FuelConsumD uringMH":0.0,"Tank1FuelLevel First":571.0454496,"Tank1FuelLevel Last":570.6888592,"Tank1FuelUpVol Diff":0.0,"Tank1FuelDnVol Diff":0.0,"Tank1FuelUpCount":0,"Tank1FuelDnCount": 0,"Tank1FuelUpDnVol":0.0,"Consumption1 Diff":0.4910361,"Distance1 First":46122.38,"Distance1 Last":46122.38,"Distance1 Diff":0.0}},{"Name":"GeoFence1","Alias":"GeoFence1 ","Params":["DateTime First","DateTime Last","Longitude First","Longitude Last","Latitude First","Latitude Last","StartOfFirstReg","EndOfLastReg","TotalDurat ion","MoveDuration","ParkDuration","TotalDistance" ,"StartOfFirstPark","EndOfLastPark","StartOfFirstM ove","EndOfLastMove","ParkCount","MaxSpeed","Avera geSpeed","OverspeedCount","FirstLocation","LastLoc ation","Engine1Motohours","Engine1MHOnParks","Engi ne1FuelConsum","Engine1FuelConsumPer100km","Engine 1FuelConsumDuringMH","Tank1FuelLevel First","Tank1FuelLevel Last","Tank1FuelUpVol Diff","Tank1FuelDnVol Diff","Tank1FuelUpCount","Tank1FuelDnCount","Tank1 FuelUpDnVol","Consumption1 Diff","Distance1 First","Distance1 Last","Distance1 Diff"],"ParamTypes":[5,5,4,4,4,4,5,5,6,6,6,4,5,5,5,5,2,4,4,2,12,12,6,6, 4,4,4,4,4,4,4,2,2,4,4,4,4,4],"TotalTypes":[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,3,0,1,0,0,1,1,1, 0,1,0,0,0,0,1,1,1,0,0,0,0],"Items":[{"Index":0,"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:59:41","Status":0,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"–","Va lues":["2024-07-31T05:00:03","2024-07-31T05:59:41",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:00:03","2024-07-31T05:59:41","00:59:38","00:00:00","00:59:38",0.0, "2024-07-31T05:00:03","2024-07-31T05:59:41",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:10:04","00:10:04",0.3565903,null,0.0,571 .0454496,570.6888592,0.0,0.0,0,0,0.0,0.4910361,461 22.38,46122.38,0.0],"_SD":"2024-07-31T05:00:03Z","_ED":"2024-07-31T05:59:41Z","SDLocal":"2024-07-31T05:00:03Z","EDLocal":"2024-07-31T05:59:41Z"}],"Statuses":[],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":null,"EndOfLast Reg":null,"TotalDuration":"00:59:38","MoveDuration ":"00:00:00","ParkDuration":"00:59:38","TotalDista nce":0.0,"StartOfFirstPark":null,"EndOfLastPark":n ull,"StartOfFirstMove":null,"EndOfLastMove":null," ParkCount":1,"MaxSpeed":0.0,"AverageSpeed":null,"O verspeedCount":0,"FirstLocation":null,"LastLocatio n":null,"Engine1Motohours":"00:10:04","Engine1MHOn Parks":"00:10:04","Engine1FuelConsum":0.3565903,"E ngine1FuelConsumPer100km":null,"Engine1FuelConsumD uringMH":0.0,"Tank1FuelLevel First":571.0454496,"Tank1FuelLevel Last":570.6888592,"Tank1FuelUpVol Diff":0.0,"Tank1FuelDnVol Diff":0.0,"Tank1FuelUpCount":0,"Tank1FuelDnCount": 0,"Tank1FuelUpDnVol":0.0,"Consumption1 Diff":0.4910361,"Distance1 First":46122.38,"Distance1 Last":46122.38,"Distance1 Diff":0.0}},{"Name":"Motion","Alias":"","Params":["DateTime First","DateTime Last","Longitude First","Longitude Last","Latitude First","Latitude Last","StartOfFirstReg","EndOfLastReg","TotalDurat ion","MoveDuration","ParkDuration","TotalDistance" ,"StartOfFirstPark","EndOfLastPark","StartOfFirstM ove","EndOfLastMove","ParkCount","MaxSpeed","Avera geSpeed","OverspeedCount","FirstLocation","LastLoc ation","Engine1Motohours","Engine1MHOnParks","Engi ne1FuelConsum","Engine1FuelConsumPer100km","Engine 1FuelConsumDuringMH","Tank1FuelLevel First","Tank1FuelLevel Last","Tank1FuelUpVol Diff","Tank1FuelDnVol Diff","Tank1FuelUpCount","Tank1FuelDnCount","Tank1 FuelUpDnVol","Consumption1 Diff","Distance1 First","Distance1 Last","Distance1 Diff"],"ParamTypes":[5,5,4,4,4,4,5,5,6,6,6,4,5,5,5,5,2,4,4,2,12,12,6,6, 4,4,4,4,4,4,4,2,2,4,4,4,4,4],"TotalTypes":[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,3,0,1,0,0,1,1,1, 0,1,0,0,0,0,1,1,1,0,0,0,0],"Items":[{"Index":1,"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:59:41","Status":1,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"Оста новка","Values":["2024-07-31T05:00:03","2024-07-31T05:59:41",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:00:03","2024-07-31T05:59:41","00:59:38","00:00:00","00:59:38",0.0, "2024-07-31T05:00:03","2024-07-31T05:59:41",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:10:04","00:10:04",0.3565903,null,0.0,571 .0454496,570.6888592,0.0,0.0,0,0,0.0,0.4910361,461 22.38,46122.38,0.0],"_SD":"2024-07-31T05:00:03Z","_ED":"2024-07-31T05:59:41Z","SDLocal":"2024-07-31T05:00:03Z","EDLocal":"2024-07-31T05:59:41Z"}],"Statuses":[{"Value":1,"Caption":"Остановка","Referen ceID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null},{"Value":2,"Cap tion":"Движение","ReferenceID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null},{"Value":3,"Cap tion":"Полёт","ReferenceID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null}],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":null,"EndOfLast Reg":null,"TotalDuration":"00:59:38","MoveDuration ":"00:00:00","ParkDuration":"00:59:38","TotalDista nce":0.0,"StartOfFirstPark":null,"EndOfLastPark":n ull,"StartOfFirstMove":null,"EndOfLastMove":null," ParkCount":1,"MaxSpeed":0.0,"AverageSpeed":null,"O verspeedCount":0,"FirstLocation":null,"LastLocatio n":null,"Engine1Motohours":"00:10:04","Engine1MHOn Parks":"00:10:04","Engine1FuelConsum":0.3565903,"E ngine1FuelConsumPer100km":null,"Engine1FuelConsumD uringMH":0.0,"Tank1FuelLevel First":571.0454496,"Tank1FuelLevel Last":570.6888592,"Tank1FuelUpVol Diff":0.0,"Tank1FuelDnVol Diff":0.0,"Tank1FuelUpCount":0,"Tank1FuelDnCount": 0,"Tank1FuelUpDnVol":0.0,"Consumption1 Diff":0.4910361,"Distance1 First":46122.38,"Distance1 Last":46122.38,"Distance1 Diff":0.0}},{"Name":"Power","Alias":"","Params":["DateTime First","DateTime Last","Longitude First","Longitude Last","Latitude First","Latitude Last","StartOfFirstReg","EndOfLastReg","TotalDurat ion","MoveDuration","ParkDuration","TotalDistance" ,"StartOfFirstPark","EndOfLastPark","StartOfFirstM ove","EndOfLastMove","ParkCount","MaxSpeed","Avera geSpeed","OverspeedCount","FirstLocation","LastLoc ation","Engine1Motohours","Engine1MHOnParks","Engi ne1FuelConsum","Engine1FuelConsumPer100km","Engine 1FuelConsumDuringMH","Tank1FuelLevel First","Tank1FuelLevel Last","Tank1FuelUpVol Diff","Tank1FuelDnVol Diff","Tank1FuelUpCount","Tank1FuelDnCount","Tank1 FuelUpDnVol","Consumption1 Diff","Distance1 First","Distance1 Last","Distance1 Diff"],"ParamTypes":[5,5,4,4,4,4,5,5,6,6,6,4,5,5,5,5,2,4,4,2,12,12,6,6, 4,4,4,4,4,4,4,2,2,4,4,4,4,4],"TotalTypes":[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,3,0,1,0,0,1,1,1, 0,1,0,0,0,0,1,1,1,0,0,0,0],"Items":[{"Index":1,"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:59:41","Status":1,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"Вклю чено","Values":["2024-07-31T05:00:03","2024-07-31T05:59:41",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:00:03","2024-07-31T05:59:41","00:59:38","00:00:00","00:59:38",0.0, "2024-07-31T05:00:03","2024-07-31T05:59:41",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:10:04","00:10:04",0.3565903,null,0.0,571 .0454496,570.6888592,0.0,0.0,0,0,0.0,0.4910361,461 22.38,46122.38,0.0],"_SD":"2024-07-31T05:00:03Z","_ED":"2024-07-31T05:59:41Z","SDLocal":"2024-07-31T05:00:03Z","EDLocal":"2024-07-31T05:59:41Z"}],"Statuses":[{"Value":1,"Caption":"Включено","Reference ID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null}],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":null,"EndOfLast Reg":null,"TotalDuration":"00:59:38","MoveDuration ":"00:00:00","ParkDuration":"00:59:38","TotalDista nce":0.0,"StartOfFirstPark":null,"EndOfLastPark":n ull,"StartOfFirstMove":null,"EndOfLastMove":null," ParkCount":1,"MaxSpeed":0.0,"AverageSpeed":null,"O verspeedCount":0,"FirstLocation":null,"LastLocatio n":null,"Engine1Motohours":"00:10:04","Engine1MHOn Parks":"00:10:04","Engine1FuelConsum":0.3565903,"E ngine1FuelConsumPer100km":null,"Engine1FuelConsumD uringMH":0.0,"Tank1FuelLevel First":571.0454496,"Tank1FuelLevel Last":570.6888592,"Tank1FuelUpVol Diff":0.0,"Tank1FuelDnVol Diff":0.0,"Tank1FuelUpCount":0,"Tank1FuelDnCount": 0,"Tank1FuelUpDnVol":0.0,"Consumption1 Diff":0.4910361,"Distance1 First":46122.38,"Distance1 Last":46122.38,"Distance1 Diff":0.0}},{"Name":"Signal","Alias":"","Params":["DateTime First","DateTime Last","Longitude First","Longitude Last","Latitude First","Latitude Last","StartOfFirstReg","EndOfLastReg","TotalDurat ion","MoveDuration","ParkDuration","TotalDistance" ,"StartOfFirstPark","EndOfLastPark","StartOfFirstM ove","EndOfLastMove","ParkCount","MaxSpeed","Avera geSpeed","OverspeedCount","FirstLocation","LastLoc ation","Engine1Motohours","Engine1MHOnParks","Engi ne1FuelConsum","Engine1FuelConsumPer100km","Engine 1FuelConsumDuringMH","Tank1FuelLevel First","Tank1FuelLevel Last","Tank1FuelUpVol Diff","Tank1FuelDnVol Diff","Tank1FuelUpCount","Tank1FuelDnCount","Tank1 FuelUpDnVol","Consumption1 Diff","Distance1 First","Distance1 Last","Distance1 Diff"],"ParamTypes":[5,5,4,4,4,4,5,5,6,6,6,4,5,5,5,5,2,4,4,2,12,12,6,6, 4,4,4,4,4,4,4,2,2,4,4,4,4,4],"TotalTypes":[0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,3,0,1,0,0,1,1,1, 0,1,0,0,0,0,1,1,1,0,0,0,0],"Items":[{"Index":1,"SD":"2024-07-31T05:00:03","ED":"2024-07-31T05:59:41","Status":1,"StatusID":"00000000-0000-0000-0000-000000000000","StatusIDs":null,"StartPoint":{"Lat" :55.99584333,"Lng":39.89093167},"EndPoint":{"Lat": 55.99584333,"Lng":39.89093167},"Caption":"Высо кий уровень","Values":["2024-07-31T05:00:03","2024-07-31T05:59:41",39.8909317,39.8909317,55.9958433,55.9 958433,"2024-07-31T05:00:03","2024-07-31T05:59:41","00:59:38","00:00:00","00:59:38",0.0, "2024-07-31T05:00:03","2024-07-31T05:59:41",null,null,1,0.0,null,0,"39° 53,45590' вд, 55° 59,75060' сш","39° 53,45590' вд, 55° 59,75060' сш","00:10:04","00:10:04",0.3565903,null,0.0,571 .0454496,570.6888592,0.0,0.0,0,0,0.0,0.4910361,461 22.38,46122.38,0.0],"_SD":"2024-07-31T05:00:03Z","_ED":"2024-07-31T05:59:41Z","SDLocal":"2024-07-31T05:00:03Z","EDLocal":"2024-07-31T05:59:41Z"}],"Statuses":[{"Value":1,"Caption":"Высокий уровень","ReferenceID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null},{"Value":2,"Cap tion":"Низкий уровень","ReferenceID":"00000000-0000-0000-0000-000000000000","ReferenceIDs":null}],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":null,"EndOfLast Reg":null,"TotalDuration":"00:59:38","MoveDuration ":"00:00:00","ParkDuration":"00:59:38","TotalDista nce":0.0,"StartOfFirstPark":null,"EndOfLastPark":n ull,"StartOfFirstMove":null,"EndOfLastMove":null," ParkCount":1,"MaxSpeed":0.0,"AverageSpeed":null,"O verspeedCount":0,"FirstLocation":null,"LastLocatio n":null,"Engine1Motohours":"00:10:04","Engine1MHOn Parks":"00:10:04","Engine1FuelConsum":0.3565903,"E ngine1FuelConsumPer100km":null,"Engine1FuelConsumD uringMH":0.0,"Tank1FuelLevel First":571.0454496,"Tank1FuelLevel Last":570.6888592,"Tank1FuelUpVol Diff":0.0,"Tank1FuelDnVol Diff":0.0,"Tank1FuelUpCount":0,"Tank1FuelDnCount": 0,"Tank1FuelUpDnVol":0.0,"Consumption1 Diff":0.4910361,"Distance1 First":46122.38,"Distance1 Last":46122.38,"Distance1 Diff":0.0}}],"Total":{"DateTime First":"2024-07-31T05:00:03","DateTime Last":"2024-07-31T05:59:41","Longitude First":39.8909317,"Longitude Last":39.8909317,"Latitude First":55.9958433,"Latitude Last":55.9958433,"StartOfFirstReg":"2024-07-31T05:00:03","EndOfLastReg":"2024-07-31T05:59:41","TotalDuration":"00:59:38","MoveDurat ion":"00:00:00","ParkDuration":"00:59:38","TotalDi stance":0.0,"StartOfFirstPark":"2024-07-31T05:00:03","EndOfLastPark":"2024-07-31T05:59:41","StartOfFirstMove":null,"EndOfLastMov e":null,"ParkCount":1,"MaxSpeed":0.0,"AverageSpeed ":null,"OverspeedCount":0,"FirstLocation":"39

Последний раз редактировалось Phantom; 16.08.2024 в 08:00.
Roman44 вне форума   Ответить с цитированием
Старый 19.08.2024, 12:45    | »»» |  #7
Roman44
Начинающий
 
Аватар для Roman44
 
Кострома
Регистрация: 07.08.2024
Сообщений: 7
Roman44 is on a distinguished road
По умолчанию

Translator







Добрый день!
Попробовал метод GetTripTables
Удалось получить информацию по пробегу на момент времени, но данные которые возвращает API по отрезкам времени не сходятся с тем, что отображается на сайте.

Например на дату 31.07.2024 10:30 пробег на сайте 46 217,1
А АПИ возвращает 46 321,93

https://imgur.com/a/fpubo1Q
https://imgur.com/a/B0F3dlJ
Roman44 вне форума   Ответить с цитированием
Старый 19.08.2024, 13:26    | »»» |  #8
Roman44
Начинающий
 
Аватар для Roman44
 
Кострома
Регистрация: 07.08.2024
Сообщений: 7
Roman44 is on a distinguished road
По умолчанию

Если смотреть за весь период, то данные на начало и конец периода сходятся.
Подскажите, пожалуйста, почему такое расхождение при более детальном сравнении внутри периода?

Нажмите для просмотра содержимого...


Нажмите для просмотра содержимого...
Roman44 вне форума   Ответить с цитированием
Старый 19.08.2024, 14:52    | »»» |  #9
MartynenkoES
Дилер
 
Аватар для MartynenkoES
 
Иркутск, "Эсмиком и К"
Регистрация: 20.03.2017
Сообщений: 354
MartynenkoES is on a distinguished road
По умолчанию

Сравните время в GMT в ответе, посмотрите на координаты концов отрезка.

ООО "Эсмиком и К", г. Иркутск, Иркутская область, Россия
Мартыненко Евгений Сергеевич, главный инженер
MartynenkoES вне форума   Ответить с цитированием
Старый 19.08.2024, 16:15    | »»» |  #10
plex
Дилер
 
Аватар для plex
 
Екатеринбург, ЗАО "Седьмая Экспедиция"
Регистрация: 14.12.2010
Сообщений: 15,031
plex is on a distinguished road
Отправить сообщение для plex с помощью ICQ Отправить сообщение для plex с помощью Skype™
По умолчанию

Сообщение от Roman44 Посмотреть сообщение
Например на дату 31.07.2024 10:30 пробег на сайте 46 217,1
Часовой пояс разный

ЗАО "Седьмая Экспедиция", Екатеринбург, РФ
Мушин Виктор Валерьевич, Технический директор
plex на форуме   Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 11:01. Часовой пояс GMT.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot