1 文本格式
using System;
namespace Legalsoft.Truffer
{
public class State
{
public double lam1 { get; set; }
public double lam2 { get; set; }
public double tc { get; set; }
public int k1 { get; set; }
public int k2 { get; set; }
public double plog { get; set; }
public State()
{
}
public State(double la1, double la2, double t, int kk1, int kk2)
{
this.lam1 = la1;
this.lam2 = la2;
this.tc = t;
this.k1 = kk1;
this.k2 = kk2;
}
}
}
2 代码格式
using System;
namespace Legalsoft.Truffer
{
public class State
{
public double lam1 { get; set; }
public double lam2 { get; set; }
public double tc { get; set; }
public int k1 { get; set; }
public int k2 { get; set; }
public double plog { get; set; }
public State()
{
}
public State(double la1, double la2, double t, int kk1, int kk2)
{
this.lam1 = la1;
this.lam2 = la2;
this.tc = t;
this.k1 = kk1;
this.k2 = kk2;
}
}
}