T
Torben Madsen
I need a intereface so that i get the same structure in several arrays that
i create. I think that i need to use enum in a interface. Abstract classes
don't do the job as i need to inherit from several interfaces.
This doesn't Work.
Any ideas?
using System;
namespace well_test
{
public interface IMeassurement
{
public enum index
{
Timestamp, //= 0;
WellNo, //= 1;
WellTHP, //= 2;
WellTHT, //= 3;
WellBHP, //= 4;
WellBHT, //= 5;
SepPressure, //= 6;
SepTemp, //= 7;
SepOilLev, //= 8;
SepWaterlev, //= 9;
SepGasFlow, //= 10;
SepOilFlow, //= 11;
SepWaterFlow, //= 12;
SepOilDensity, //= 13;
WellChokePos, //= 14;
EntryStatus //= 15;
};
...........
......
Torben
i create. I think that i need to use enum in a interface. Abstract classes
don't do the job as i need to inherit from several interfaces.
This doesn't Work.
Any ideas?
using System;
namespace well_test
{
public interface IMeassurement
{
public enum index
{
Timestamp, //= 0;
WellNo, //= 1;
WellTHP, //= 2;
WellTHT, //= 3;
WellBHP, //= 4;
WellBHT, //= 5;
SepPressure, //= 6;
SepTemp, //= 7;
SepOilLev, //= 8;
SepWaterlev, //= 9;
SepGasFlow, //= 10;
SepOilFlow, //= 11;
SepWaterFlow, //= 12;
SepOilDensity, //= 13;
WellChokePos, //= 14;
EntryStatus //= 15;
};
...........
......
Torben