I find out why this problem occur and how to solve it.
The .axs is an XML file in fact. When Delete an interface, the CVI tool delete the interface directly, but do not change the left interface index. But generating code require the proper index.
The method to solve it is changing the index mannually. Open the .axs file with a XML editor such as "Stylus Studio" , find the node "ObjectList|Object|InterfaceIndexList", and change the listed node "InterfaceIndex"'s text to the right one-based index, then everything is OK.