void ITool.Initialize() { _inputParameters = new Parameter[2]; _inputParameters[0] = new FileParam("Select the lag table"); _inputParameters[1] = new DateTimeParam("Please select the forecaasting final date"); _outputParameters = new Parameter[1]; _outputParameters[0] = new FileParam("Forecasting Values"); }
void ITool.Initialize() { _inputParameters = new Parameter[3]; _inputParameters[0] = new FileParam("Select the lag table"); _inputParameters[1] = new StringParam("Enter the neighbour values"); _inputParameters[2] = new DateTimeParam("Upto which date you need to forecast"); _outputParameters = new Parameter[1]; _outputParameters[0] = new FileParam("Forecasting Values"); }
void ITool.Initialize() { _inputParameters = new Parameter[3]; _inputParameters[0] = new FileParam("Select the Neurons and their weights for the network"); _inputParameters[1] = new FileParam("Select the input data file"); _inputParameters[2] = new DateTimeParam("Please select the forecasting final date"); _outputParameters = new Parameter[1]; _outputParameters[0] = new FileParam("Forecasting Values"); }
/// <summary> /// Creates an instance of the dialog /// </summary> /// <param name="param">The parameter this element represents</param> public DateTimeElement(DateTimeParam param) { //Needed by the designer InitializeComponent(); Param = param; if (param.Value > _dateTimePicker2.MinDate) { _dateTimePicker2.Value = param.Value; } GroupBox.Text = param.Name; //We save the parameters passed in Refresh(); }
public void Initialize() { _inputParameters = new Parameter[5]; _inputParameters[0] = new FileParam("Select the Hydrodesktop database"); _inputParameters[1] = new ListParam("Select the Site"); _inputParameters[2] = new ListParam("Select the Variable"); _inputParameters[3] = new DateTimeParam("Start Date"); _inputParameters[4] = new DateTimeParam("End Date"); _outputParameters = new Parameter[1]; _outputParameters[0] = new FileParam("Save Data"); }
public static PageResult <ProductModel> Get( GiaSinhVienEntities db, PageArg <ProductModel.Select, ProductModel.Sort> pageArg, long[] id = null, StringParam str_Name = null, NumericParam num_CategoryId = null, NumericParam num_SubCategoryId = null, NumericParam num_Price = null, NumericParam num_Status = null, DateTimeParam date_CreateDate = null, NumericParam num_PostUserId = null, NumericParam num_DictrictId = null, NumericParam num_ProviceId = null) { return(DAOCore.DoPage <ProductModel, ProductModel.Select, ProductModel.Sort>(pageArg, (c, p) => { var total = new ObjectParameter("Total", typeof(int)); var query = new ObjectParameter("Query", typeof(string)); var data = db.usp_Product_Get( pageArg.SelectQuery(), pageArg.SortQuery(), p.PageIndex, p.PageSize, pageArg.DebugQuery, id == null ? null : string.Join(",", id), str_Name == null ? null : str_Name.ToString(), num_CategoryId == null ? null : num_CategoryId.ToString(), num_SubCategoryId == null ? null : num_SubCategoryId.ToString(), num_Price == null ? null : num_Price.ToString(), num_Status == null ? null : num_Status.ToString(), date_CreateDate == null ? null : date_CreateDate.ToString(), num_PostUserId == null ? null : num_PostUserId.ToString(), num_DictrictId == null ? null : num_DictrictId.ToString(), num_ProviceId == null ? null : num_ProviceId.ToString(), total, query).FirstOrDefault(); c.SetResult(p, c.ConvertFromXml(data), (int)total.Value, query.Value == DBNull.Value ? null : (string)query.Value); })); }