.net 2005 中 bean 怎么写

lanxing106 lanxing106 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我写的代码如下 ,但老是提示缺少分号?这是为什么?
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// DayRange 的摘要说明
/// </summary>
public class DayRange
{
private DateTime _StartDate;
private string _StartId;
private string _PointId;
private string _ItemId;
private string _PD;
private string _Samplerate;
private string _MaxTime;
private string _MaxValue;
private string _MinTime;
private string _MinValue;
private string _DailyIange;
private int _DateIndex;

public DayRange()
{
//
// TODO: 在此处添加构造函数逻辑
//
}

public DateTime StartDate()
{
set
{
_StartDate=value;
}
get
{
return _StartDate;
}
}

public string StartId()
{
set
{
_StartId=value;
}
get
{
return _StartId;
}
}

public string PointId()
{
set
{
_PointId=value;
}
get
{
return _PointId;
}
}

public string ItemId()
{
set
{
_ItemId=value;
}
get
{
return _ItemId;
}
}

public string PD()
{
set
{
_PD=value;
}
get
{
return _PD;
}
}

public string Samplerate()
{
set
{
_Samplerate=value;
}
get
{
return _Samplerate;
}
}

public string MaxTime()
{
set
{
_MaxTime=value;
}
get
{
return _MaxTime;
}
}

public string MaxValue()
{
set
{
_MaxValue=value;
}
get
{
return _MaxValue;
}
}

public string MinTime()
{
set
{
_MinTime=value;
}
get
{
return _MinTime;
}
}

public string MinValue()
{
set
{
_MinValue=value;
}
get
{
return _MinValue;
}
}

public string DailyIange()
{
set
{
_DailyIange=value;
}
get
{
return _DailyIange;
}
}

public string DateIndex()
{
set
{
_DateIndex=value;
}
get
{
return _DateIndex;
}
}
}
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
lanxing106
C# 111,128 成员 642,536 内容