private ObjApiReqStoreDelResult requestShopDel(String _store_pno, String _store_id) { OpenApiBase api_mgr = getSelOpenApiManager(); if (null != api_mgr) { return(api_mgr.requestStoreDel(_store_pno, _store_id)); } return(null); }
private ObjConfigStoreApiRegInfo requestShopRegInfo(String _store_num, String _store_pno, String _store_id) { OpenApiBase api_mgr = getSelOpenApiManager(); if (null != api_mgr) { return(api_mgr.requestStoreReg(_store_num, _store_pno, _store_id)); } return(null); }
private OpenApiBase getSelOpenApiManager() { int sel_delivery_open_api_type = KnUtil.formatInt32(KnDevexpressFunc.ComboBoxGetSelectedItemKey(ctr_cbx_open_api_type)); if (-1 != sel_delivery_open_api_type) { return(OpenApiBase.getOpenApiManager((OpenApiBase.OPEN_API_TYPE)sel_delivery_open_api_type)); } return(null); }
private ArrayList requestStoreApiInfo(String _store_pno) { OpenApiBase api_mgr = getSelOpenApiManager(); if (null != api_mgr) { return(api_mgr.requestStoreFind(_store_pno)); } return(null); }
// ---------------------------------------------------------- // private void setDlgComboboxOpenApiTypeItems(DevExpress.XtraEditors.ComboBoxEdit _control, string _default_key = null) { for (int i = 0; i < OpenApiBase.OPEN_API_TYPE_LIST.Length; i++) { OpenApiBase.OPEN_API_TYPE sel_type = OpenApiBase.OPEN_API_TYPE_LIST[i]; KnDevexpressFunc.ComboBoxAddItem(_control, ((int)sel_type).ToString(), OpenApiBase.obtainDeliveryCompanyTypeName(sel_type)); } if (null != _default_key) { KnDevexpressFunc.ComboBoxSetSelectByKey(_control, _default_key); } }