Beispiel #1
0
        public CarboMaterial(string materialName)
        {
            Id          = -1;
            Name        = materialName;
            Category    = "Not specified";
            Description = "Carbon material and properties not set.";
            Density     = 1;
            //EEI = 1;
            ECI      = 0;
            ECI_A1A3 = 0;
            ECI_A4   = 0;
            ECI_A5   = 0;
            ECI_B1B5 = 0;
            ECI_C1C4 = 0;
            ECI_D    = 0;
            isLocked = false;
            //Properties = new List<CarboProperty>();

            //Calculated Values;
            materialA1A3Properties = new A1A3Element();
            materiaA4Properties    = new CarboA4Properties();
            materialA5Properties   = new CarboA5Properties();
            materialB1B5Properties = new CarboB1B5Properties();
            materialC1C4Properties = new CarboC1C4Properties();
            materialDProperties    = new CarboDProperties();

            ECI_A1A3_Override = false;
            ECI_A4_Override   = false;
            ECI_A5_Override   = false;
            ECI_B1B5_Override = false;
            ECI_C1C4_Override = false;
            ECI_D_Override    = false;
        }
Beispiel #2
0
        public CarboMaterial()
        {
            Id          = -1;
            Name        = "";
            Category    = "";
            Description = "";
            Density     = 500;
            ECI         = 1;
            ECI_A1A3    = 1;
            ECI_A4      = 1;
            ECI_A5      = 1;
            ECI_B1B5    = 1;
            ECI_C1C4    = 1;
            ECI_D       = 1;

            ECI_Mix      = 0;
            ECI_Mix_Info = "";

            isLocked = false;
            //Properties = new List<CarboProperty>();

            materialA1A3Properties = new A1A3Element();
            materiaA4Properties    = new CarboA4Properties();
            materiaA4Properties.calculate();
            materialA5Properties   = new CarboA5Properties();
            materialB1B5Properties = new CarboB1B5Properties();
            materialC1C4Properties = new CarboC1C4Properties();
            materialDProperties    = new CarboDProperties();

            ECI_A1A3_Override = false;
            ECI_A4_Override   = false;
            ECI_A5_Override   = false;
            ECI_B1B5_Override = false;
            ECI_C1C4_Override = false;
            ECI_D_Override    = false;
        }