根据实际情况修改变量和参数即可。
void main()
{
// this.Channels.AddTrace(WellTraceTypes.Curve, "SSP");
this.Cursor;
this.SSP.Left = 0;
this.SSP.Right = 500;
this.SSP.CurveColor = Color.Red;
this.SSP.CurveWidth = 1;
this.SSP.CurveStyle = PenType.LinearGradient;
do {
float v = this.SP.Value * 2;
this.SSP.Value = v;
if (this.SP.Value > 100) {
this.岩性1.Litho = "灰色泥岩";
} else if (this.SP.Value <=100) {
this.岩性1.Litho = "红色砂岩";
}
} while(this.NextRow());
}