ECDIS must give an alarm for which of the following cases ().
A. When the specified limit for deviation from the planned route is exceeded
B. If the ship,within a specified time set by the watch officer,is going to cross a safety contour
C. If the ship,within a specified time set by the watch officer,is going to cross the boundary of a prohibited area
D. All of the above