public void setCarRealTimeInfo(UInt16 car_id, UInt16 action_mode, UInt16 cst_exist, UInt16 current_section_id, UInt32 current_address_id, UInt32 buffer_distance, UInt16 speed) { MTSValueDefMapActionNew mapAction = getExcuteMapAction(); if (mapAction != null) { mapAction.CarRealtimeInfo(car_id, action_mode, cst_exist, current_section_id, current_address_id, buffer_distance, speed); } else { getExcuteMapActionNew().CarRealtimeInfo(car_id, action_mode, cst_exist, current_section_id, current_address_id, buffer_distance, speed);; } //getExcuteMapAction().CarRealtimeInfo(car_id, action_mode, cst_exist, current_section_id, current_address_id, buffer_distance, speed); }
public (bool isSendSuccess, UInt16 returnCode) carOutRequest(UInt16 carNum) { //return getExcuteMapAction().OHxC_CarOutNotify(carNum,1); MTSValueDefMapActionNew mapAction = getExcuteMapAction(); if (mapAction != null) { return(mapAction.OHxC_CarOutNotify(carNum, 1)); } else { return(getExcuteMapActionNew().OHxC_CarOutNotify(carNum, 1)); } }
public bool SetCarInMoving(bool onOff) { //return getExcuteMapAction().setOHxC2MTL_CarInMoving(onOff); MTSValueDefMapActionNew mapAction = getExcuteMapAction(); if (mapAction != null) { return(mapAction.setOHxC2MTL_CarInMoving(onOff)); } else { return(getExcuteMapActionNew().setOHxC2MTL_CarInMoving(onOff)); } }