コード例 #1
0
 public ScaledValueConfig(string iedType, string lnType)
 {
     this.name             = "ScaledValueConfig";
     this.bTypeEnum        = tBasicTypeEnum.Struct;
     this.id               = this.type = lnType + "ScaledValueConfig";
     this.iedType          = iedType;
     this.scaleFactorField = new FLOAT32("scaleFactor");
     this.offsetField      = new FLOAT32("offset");
 }
コード例 #2
0
 public Point(string iedType, string lnType)
 {
     this.name      = "Point";
     this.bTypeEnum = tBasicTypeEnum.Struct;
     this.id        = this.type = lnType + "Point";
     this.iedType   = iedType;
     this.xValField = new FLOAT32("xVal");
     this.yValField = new FLOAT32("yVal");
 }
コード例 #3
0
 public AnalogueValue(string iedType, string lnType)
 {
     this.name      = "AnalogueValue";
     this.bTypeEnum = tBasicTypeEnum.Struct;
     this.id        = this.type = lnType + "AnalogueValue";
     this.iedType   = iedType;
     this.iField    = new INT32("i");
     this.fField    = new FLOAT32("f");
 }