using System.Collections.Generic;
public static void Main()
Name = "1#光伏逆变器", M = m, N = n,
MPPTList = Enumerable.Range(0,m).Select(t=>new MPPTInfo(){
PvNodeList =Enumerable.Range(0,n).Select(w=>new PvNodeInfo(){
Console.WriteLine(JsonConvert.SerializeObject(pv, Formatting.Indented));
public string Name { get; set; }
public int M { get; set; }
public int N { get; set; }
public PvInfo PvInfo { get; set; }
return JsonConvert.SerializeObject(PvInfo, Formatting.Indented);
PvInfo = JsonConvert.DeserializeObject<PvInfo>(value);
public List<MPPTInfo> MPPTList{ get; set; }
public int No { get; set; }
public List<PvNodeInfo> PvNodeList{ get; set; }
public int No { get; set; }
public int PvCount{ get; set; }
public decimal PvPower{ get; set; }
public decimal PvNodePower{ get; set; }