Intelligent box-type substation