/// <summary> /// 文字列をクラス情報に変換する /// </summary> public static CoockwareMaster ConvertStrToMaster(string[] i_data) { int i = 0; CoockwareMaster master = new CoockwareMaster(); master.cookware_id = int.Parse(i_data[i]); master.name = i_data[MasterDataControllerClass.IncNum(ref i)]; master.cookable_category = int.Parse(i_data[MasterDataControllerClass.IncNum(ref i)]); master.need_cc = int.Parse(i_data[MasterDataControllerClass.IncNum(ref i)]); master.icon = i_data[MasterDataControllerClass.IncNum(ref i)]; master.deleted = i_data[MasterDataControllerClass.IncNum(ref i)]; return master; }
/// <summary> /// 文字列をクラス情報に変換する /// </summary> public static CoockwareMaster ConvertStrToMaster(string[] i_data) { int i = 0; CoockwareMaster master = new CoockwareMaster(); master.cookware_id = int.Parse(i_data[i]); master.name = i_data[MasterDataControllerClass.IncNum(ref i)]; master.cookable_category = int.Parse(i_data[MasterDataControllerClass.IncNum(ref i)]); master.need_cc = int.Parse(i_data[MasterDataControllerClass.IncNum(ref i)]); master.icon = i_data[MasterDataControllerClass.IncNum(ref i)]; master.deleted = i_data[MasterDataControllerClass.IncNum(ref i)]; return(master); }