public static class resultjson
{
public static string input; //注意全局变量要使用static
public static string output;
public static string body_part;
public static string organ_list;
public static string task_id;
public static string status;
public static int index_contour;
public static Dictionary<string, int> num_slices = new Dictionary<string, int>();//need to new in the class
}
本文介绍了一个公共静态类resultjson,用于处理JSON数据的操作。该类包含多个静态成员变量如input、output等,用于存储JSON数据的不同部分。此外,还定义了一个静态的Dictionary类型变量num_slices,用于存储字符串到整数的映射。

被折叠的 条评论
为什么被折叠?



