Пример #1
0
 public KepServerSampleGroup(string serverPrefix) : base(serverPrefix)
 {
     Identifier = new OPCTag <int>(serverPrefix, "Sample.NumberN");
     OPCTags.Add(Identifier);
     Number = new OPCTag <string>(serverPrefix, "Sample.Number");
     OPCTags.Add(Number);
     SampleDateTime = new OPCTag <double>(serverPrefix, "Sample.DateTime");
     OPCTags.Add(SampleDateTime);
     Year = new OPCTag <int>(serverPrefix, "Sample.Year");
     OPCTags.Add(Year);
     Month = new OPCTag <int>(serverPrefix, "Sample.Month");
     OPCTags.Add(Month);
     Day = new OPCTag <int>(serverPrefix, "Sample.Day");
     OPCTags.Add(Day);
     Hour = new OPCTag <int>(serverPrefix, "Sample.Hour");
     OPCTags.Add(Hour);
     Minute = new OPCTag <int>(serverPrefix, "Sample.Minute");
     OPCTags.Add(Minute);
     Second = new OPCTag <int>(serverPrefix, "Sample.Second");
     OPCTags.Add(Second);
     MilliSecond = new OPCTag <int>(serverPrefix, "Sample.Msec");
     OPCTags.Add(MilliSecond);
     ProductCodeN = new OPCTag <int>(serverPrefix, "Sample.ProductCodeN");
     OPCTags.Add(ProductCodeN);
     CalibrationSample = new OPCTag <bool>(serverPrefix, "Sample.CalibrationSample");
     OPCTags.Add(CalibrationSample);
     SampleParametersGroup = new KepServerSampleParametersGroup(serverPrefix);
     OPCTags.AddRange(SampleParametersGroup.OPCTags);
 }
Пример #2
0
 public KepServerInstrumentGroup(string serverPrefix) : base(serverPrefix)
 {
     SampleCounter = new OPCTag <int>(serverPrefix, "Instrument.SampleCounter");
     OPCTags.Add(SampleCounter);
     ModeN = new OPCTag <int>(serverPrefix, "Instrument.ModeN");
     OPCTags.Add(ModeN);
     WatchdogCounter = new OPCTag <int>(serverPrefix, "Instrument.WatchdogCounter");
     OPCTags.Add(WatchdogCounter);
     DoingCalibrationSample = new OPCTag <bool>(serverPrefix, "Instrument.DoingCalibrationSample");
     OPCTags.Add(DoingCalibrationSample);
 }
Пример #3
0
 public KepServerSampleParametersGroup(string serverPrefix) : base(serverPrefix)
 {
     Fat = new OPCTag <double>(serverPrefix, "Sample.Parameters.FAT.Result");
     OPCTags.Add(Fat);
     Weight = new OPCTag <double>(serverPrefix, "Sample.Parameters.WEIGHT.Result");
     OPCTags.Add(Weight);
     Lactose = new OPCTag <double>(serverPrefix, "Sample.Parameters.LACTOSE.Result");
     OPCTags.Add(Lactose);
     Protein = new OPCTag <double>(serverPrefix, "Sample.Parameters.PROTEIN.Result");
     OPCTags.Add(Protein);
     Snf = new OPCTag <double>(serverPrefix, "Sample.Parameters.SNF.Result");
     OPCTags.Add(Snf);
     TotalSolids = new OPCTag <double>(serverPrefix, "Sample.Parameters.TOTALSOLIDS.Result");
     OPCTags.Add(TotalSolids);
 }
Пример #4
0
 public KepServerControllerGroup(string serverPrefix) : base(serverPrefix)
 {
     ProductCodeN = new OPCTag <int>(serverPrefix, "Controller.ProductCodeN");
     OPCTags.Add(ProductCodeN);
     WatchdogCounter = new OPCTag <int>(serverPrefix, "Controller.WatchdogCounter");
     OPCTags.Add(WatchdogCounter);
     StartMeasuring = new OPCTag <bool>(serverPrefix, "Controller.StartMeasuring");
     OPCTags.Add(StartMeasuring);
     CalibrationSample = new OPCTag <bool>(serverPrefix, "Controller.CalibrationSample");
     OPCTags.Add(CalibrationSample);
     CIP = new OPCTag <bool>(serverPrefix, "Controller.CIP");
     OPCTags.Add(CIP);
     WaterRef = new OPCTag <bool>(serverPrefix, "Controller.WaterRef");
     OPCTags.Add(WaterRef);
 }